split `examples/` into `benchmarks/` and `bins/` (dragoon/komodo!117)
## new structure for the repository - benchmarks are in `./benchmarks/` and can be run with either `cargo run --package benchmarks --bin <bench>` or the commands in `./benchmarks/README.md` ``` ├── Cargo.toml ├── README.md └── src └── bin ├── commit.rs ├── fec.rs ├── linalg.rs ├── operations │ ├── curve_group.rs │ └── field.rs ├── recoding.rs ├── setup.rs └── setup_size.rs ``` - examples are now in `./bins/` as standalone binaries and can be run either with `cargo run --package <pkg>` or with the help of the `cargo bin` command from `.nushell/cargo.nu` ``` ├── curves │ ├── Cargo.toml │ ├── README.md │ └── src │ └── main.rs ├── inbreeding │ ├── build.nu │ ├── Cargo.toml │ ├── consts.nu │ ├── mod.nu │ ├── plot.nu │ ├── README.md │ ├── run.nu │ └── src │ ├── environment.rs │ ├── main.rs │ └── strategy.rs ├── rank │ ├── Cargo.toml │ └── src │ └── main.rs └── rng ├── Cargo.toml └── src └── main.rs ``` - Nushell modules are now located in `./.nushell/` ## changelog apart from the changes to the general structure of the repo: - `binary.nu` -> `.nushell/binary.nu` - new `cargo bin` command from `.nushell/cargo.nu` - `error throw` is now defined in `.nushell/error.nu` - main TOML has been greatly simplified because the dependencies of "examples" have been moved to the associated crates - the rest is basically the same but in the new structure
Showing
- .nushell/binary.nu 0 additions, 0 deletions.nushell/binary.nu
- .nushell/cargo.nu 55 additions, 0 deletions.nushell/cargo.nu
- .nushell/color.nu 2 additions, 10 deletions.nushell/color.nu
- .nushell/error.nu 9 additions, 0 deletions.nushell/error.nu
- .nushell/formats.nu 0 additions, 0 deletions.nushell/formats.nu
- .nushell/fs.nu 0 additions, 0 deletions.nushell/fs.nu
- .nushell/math.nu 0 additions, 0 deletions.nushell/math.nu
- .nushell/parse.nu 0 additions, 0 deletions.nushell/parse.nu
- .nushell/plot.nu 0 additions, 0 deletions.nushell/plot.nu
- .nushell/venv.nu 0 additions, 0 deletions.nushell/venv.nu
- Cargo.toml 8 additions, 67 deletionsCargo.toml
- README.md 10 additions, 1 deletionREADME.md
- benchmarks/.nushell/commit/plot.nu 3 additions, 3 deletionsbenchmarks/.nushell/commit/plot.nu
- benchmarks/.nushell/commit/run.nu 1 addition, 1 deletionbenchmarks/.nushell/commit/run.nu
- benchmarks/.nushell/fec/plot.nu 4 additions, 4 deletionsbenchmarks/.nushell/fec/plot.nu
- benchmarks/.nushell/fec/run.nu 2 additions, 2 deletionsbenchmarks/.nushell/fec/run.nu
- benchmarks/.nushell/recoding/plot.nu 4 additions, 4 deletionsbenchmarks/.nushell/recoding/plot.nu
- benchmarks/.nushell/recoding/run.nu 2 additions, 2 deletionsbenchmarks/.nushell/recoding/run.nu
- benchmarks/.nushell/setup/plot.nu 3 additions, 3 deletionsbenchmarks/.nushell/setup/plot.nu
- benchmarks/.nushell/setup/run.nu 1 addition, 1 deletionbenchmarks/.nushell/setup/run.nu
Please register or sign in to comment