api-guidelines icon indicating copy to clipboard operation
api-guidelines copied to clipboard

Rust API guidelines

Rust API guidelines

This is a set of recommendations on how to design and present APIs for the Rust programming language. They are authored largely by the Rust library team, based on experiences building the Rust standard library and other crates in the Rust ecosystem.

Read them here.

Join the discussion

See the Discussions tab for proposing new API guidelines, asking questions about how to apply them, and for proposing new ones.

License

This project is licensed under either of Apache License, Version 2.0 or MIT license, at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache 2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.