Use this template to create a Rust package:
- Press the "Use this template" button to create a new repository with this skeleton's contents.
- Run
python3 configure.py(Windows:py -3 configure.py) to replace the placeholders and remove the template-only files. - Have fun creating your package.
Requires Python 3.11+ for configuration and Rust 1.89+ for the library. See SKELETON.md for template maintenance and non-interactive use.
{{description}}
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Requires Rust 1.89 or newer. Once the crate is published:
cargo add {{crate_name}}Before publication, use a path dependency from a neighboring application:
[dependencies]
{{crate_name}} = { path = "../{{repository}}" }use {{crate_import}}::greet;
assert_eq!(greet("Freek"), "Hello, Freek!");See the usage guide.
cargo test --locked --all-targets --all-features
cargo test --locked --doc --all-featuresSee all quality checks. The README and Markdown guides are tested by rustdoc, including setup on hidden # lines.
See CHANGELOG.md.
See CONTRIBUTING.md and the Rust API Guidelines.
Using an AI coding agent? Load Apollo's rust-best-practices skill when writing or reviewing code in this package.
Report vulnerabilities privately using the instructions in SECURITY.md.
The MIT License (MIT). See LICENSE.md.
