Skip to content
generated from nlp-rs/rust-template

Repository template to get quickly started with Rust projects 🦀

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

acmuta-research/rust-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rust Repository Template 🦀

Repository template to get quickly started with writing Rust libraries, ready for distributing.

Getting started

Open your favorite terminal and clone this locally.

  • With the GitHub CLI (replace <project> with what you'd like to call your project):

    gh repo create <project> --template nlp-rs/rust-template
  • With the Git CLI:

    git clone https://github.com/nlp-rs/rust-template.git

Features

Configure

Tool File path Reference
GitHub Codespaces devcontainer.json Reference
GitHub Actions .github/workflows Reference
Cargo package Cargo.toml Reference
Clippy (Rust linter) .clippy.toml Repository, Reference
Rustfmt (Rust formatter) .rustfmt.toml Repository, Reference
Commitlint .commitlintrc.json Repository, Reference
cargo-deny deny.toml Repository

Run scripts locally

Script Command
Run unit/integration/doc tests cargo test
Run fuzz tests cargo fuzz <fuzz-target>
Run Rustfmt cargo fmt
Run Clippy cargo clippy
Run performance benchmarks cargo bench
Generate API docs for crate cargo doc
Generate mdBook docs for crate mdbook build
Run security audits cargo audit1

Footnotes

  1. Requires installing cargo-audit locally ↩

About

Repository template to get quickly started with Rust projects 🦀

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published