Skip to content
Public template

About

A skeleton repository for Spatie's Rust packages

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

{{description}}

Latest version on crates.io Tests License Total downloads


Use this template to create a Rust package:

  1. Press the "Use this template" button to create a new repository with this skeleton's contents.
  2. Run python3 configure.py (Windows: py -3 configure.py) to replace the placeholders and remove the template-only files.
  3. 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}}

Support us

Support Spatie's open source work

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.

Installation

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}}" }

Usage

use {{crate_import}}::greet;

assert_eq!(greet("Freek"), "Hello, Freek!");

See the usage guide.

Testing

cargo test --locked --all-targets --all-features
cargo test --locked --doc --all-features

See all quality checks. The README and Markdown guides are tested by rustdoc, including setup on hidden # lines.

Changelog

See CHANGELOG.md.

Contributing

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.

Security Vulnerabilities

Report vulnerabilities privately using the instructions in SECURITY.md.

Credits

License

The MIT License (MIT). See LICENSE.md.

About

A skeleton repository for Spatie's Rust packages

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages