Skip to content

Rust-Empty 0.6

Compare
Choose a tag to compare
@bvssvni bvssvni released this 26 Jun 03:46
· 38 commits to master since this release

Rust-Empty is a Make/Bash setup tool for Rust projects. For more information see https://github.com/bvssvni/rust-empty

Highlights:

  • Updated output directory to use target/ (BREAKING CHANGE)
  • Updated library dependency director to use target/deps (BREAKING CHANGE)
  • Generate script for building symlink dependencies

Noticeable bug fixes:

  • Fixed target detection (rustc --version verbose)
  • Generate [package] in Cargo.toml instead of [project]
  • Generates 0.0.0 in Cargo.toml to be a valid SemVer version
  • The 'watch' script is now portable
--- rust-empty (0.6 000)
make run               - Runs executable
make exe               - Builds main executable
make lib               - Both static and dynamic library
make rlib              - Static library
make dylib             - Dynamic library
make test              - Tests library internally and externally
make test-internal     - Tests library internally
make test-external     - Tests library externally
make bench             - Benchmarks library internally and externally
make bench-internal    - Benchmarks library internally
make bench-external    - Benchmarks library externally
make doc               - Builds documentation for library
make git-ignore        - Setup files to be ignored by Git
make examples          - Builds examples
make cargo-lite-exe    - Setup executable package
make cargo-lite-lib    - Setup library package
make cargo-exe         - Setup executable package
make cargo-lib         - Setup library package
make rust-ci-lib       - Setup Travis CI Rust library
make rust-ci-exe       - Setup Travis CI Rust executable
make rusti             - Setup 'rusti.sh' for interactive Rust
make watch             - Setup 'watch.sh' for compilation on save
make loc               - Count lines of code in src folder
make nightly-install   - Installs Rust nightly build
make nightly-uninstall - Uninstalls Rust nightly build
make clean             - Deletes binaries and documentation.
make clear-project     - WARNING: Deletes project files except 'Makefile'
make clear-git         - WARNING: Deletes Git setup
make symlink-build     - Creates a script for building dependencies
make symlink-info      - Symlinked libraries dependency info
make target-dir        - Creates directory for current target