4 releases

0.2.1 Jul 4, 2024
0.2.0 Apr 2, 2024
0.1.1 Jan 11, 2022
0.1.0 Oct 23, 2020

#71 in Procedural macros

Download history 53752/week @ 2024-07-23 59623/week @ 2024-07-30 56631/week @ 2024-08-06 47096/week @ 2024-08-13 47151/week @ 2024-08-20 38400/week @ 2024-08-27 42132/week @ 2024-09-03 38137/week @ 2024-09-10 36635/week @ 2024-09-17 37766/week @ 2024-09-24 32477/week @ 2024-10-01 28427/week @ 2024-10-08 31892/week @ 2024-10-15 31355/week @ 2024-10-22 29719/week @ 2024-10-29 30604/week @ 2024-11-05

128,297 downloads per month
Used in 413 crates (18 directly)

MIT license

14KB
160 lines

Stability

Rust API stability attributes for the rest of us.

Crates.io Documentation License Minimum supported Rust version Build

Overview

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.

Installation

Install via Cargo by adding to your Cargo.toml file:

[dependencies]
stability = "0.2.1"

Supported Rust versions

The current release is only guaranteed to work with the latest stable Rust compiler.

License

This project's source code and documentation are licensed under the MIT license. See the LICENSE file for details.

Dependencies

~205–640KB
~15K SLoC