Crates.io | stability |
lib.rs | stability |
version | 0.2.1 |
source | src |
created_at | 2020-10-23 00:19:06.291913 |
updated_at | 2024-07-04 21:06:20.615402 |
description | Rust API stability attributes for the rest of us. |
homepage | |
repository | https://github.com/sagebind/stability |
max_upload_size | |
id | 304501 |
size | 14,695 |
Rust API stability attributes for the rest of us.
This crate provides attribute macros for specifying API stability of public API items of a crate. For a quick example:
/// This function does something really risky!
///
/// Don't use it yet!
#[stability::unstable(feature = "risky-function")]
pub fn risky_function() {
unimplemented!()
}
Please check out the documentation for detailed usage.
Install via Cargo by adding to your Cargo.toml
file:
[dependencies]
stability = "0.2.1"
The current release is only guaranteed to work with the latest stable Rust compiler.
This project's source code and documentation are licensed under the MIT license. See the LICENSE file for details.