3 unstable releases

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

#142 in Procedural macros

Download history 5799/week @ 2023-12-23 11210/week @ 2023-12-30 15341/week @ 2024-01-06 18091/week @ 2024-01-13 15469/week @ 2024-01-20 19358/week @ 2024-01-27 20118/week @ 2024-02-03 23783/week @ 2024-02-10 21454/week @ 2024-02-17 23257/week @ 2024-02-24 24990/week @ 2024-03-02 26524/week @ 2024-03-09 26265/week @ 2024-03-16 28106/week @ 2024-03-23 27826/week @ 2024-03-30 22348/week @ 2024-04-06

109,033 downloads per month
Used in 318 crates (4 directly)

MIT license

14KB
158 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"

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

~345–800KB
~19K SLoC