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

#70 in Procedural macros

Download history 58536/week @ 2024-08-02 52006/week @ 2024-08-09 47017/week @ 2024-08-16 43167/week @ 2024-08-23 38333/week @ 2024-08-30 41297/week @ 2024-09-06 36328/week @ 2024-09-13 38482/week @ 2024-09-20 34471/week @ 2024-09-27 30447/week @ 2024-10-04 30058/week @ 2024-10-11 31770/week @ 2024-10-18 30889/week @ 2024-10-25 29695/week @ 2024-11-01 30519/week @ 2024-11-08 25935/week @ 2024-11-15

122,677 downloads per month
Used in 411 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

~230–670KB
~16K SLoC