diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a7cb9f8..715ddfb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,11 +12,9 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: nightly - - name: "Login" - run: cargo login --key ${{ secrets.CARGO_TOKEN }} - name: "Publish common" - run: cargo +nightly publish -p genetic-rs-common + run: cargo +nightly publish -p genetic-rs-common --token ${{ secrets.CARGO_TOKEN }} - name: "Publish macros" - run: cargo +nightly publish -p genetic-rs-macros + run: cargo +nightly publish -p genetic-rs-macros --token ${{ secrets.CARGO_TOKEN }} - name: "Publish main" - run: cargo +nightly publish -p genetic-rs \ No newline at end of file + run: cargo +nightly publish -p genetic-rs --token ${{ secrets.CARGO_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index e43a28c..f051f93 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ A small crate for quickstarting genetic algorithm projects. ### Features -First off, this crate comes with the `builtin`, `crossover`, and `genrand` features by default. If you want it to be parallelized, you can add the `rayon` feature. If you want your crossover to be speciated, you can add the `speciation` feature. +First off, this crate comes with the `builtin`, `crossover`, and `genrand` features by default. If you want it to be parallelized (which is true in most cases), you can add the `rayon` feature. If you want your crossover to be speciated, you can add the `speciation` feature. ### How to Use > [!NOTE] > If you are interested in implementing NEAT with this, try out the [neat](https://crates.io/crates/neat) crate -Here's a simple genetic algorithm. +Here's a simple genetic algorithm: ```rust use genetic_rs::prelude::*;