diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..eeb0928 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish +on: + release: + types: [published] + +jobs: + publish-on-crates-io-server: + name: Publish on crates.io + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Login to crates.io + run: cargo login ${{ secrets.CRATES_IO_TOKEN }} + + - name: Publish to crates.io + run: cargo publish diff --git a/Cargo.toml b/Cargo.toml index 9d72768..2c748d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,15 @@ [package] name = "sparseglm" version = "0.1.0" +authors = ["Pierre-Antoine Bannier "] edition = "2021" +license-file = "LICENSE" +description = "Fast memory-efficient solver for sparse generalized linear models" +repository = "https://github.com/PABannier/sparseglm" +readme = "README.md" +keywords = ["machine", "learning", "data", "linear"] +categories = ["science"] +exclude = ["/.github"] [dependencies] ndarray = { version = "0.15", default-features = false, features = ["approx"] }