instability

Crates.ioinstability
lib.rsinstability
version0.3.2
sourcesrc
created_at2024-06-27 10:29:32.972104
updated_at2024-06-27 11:58:07.263416
descriptionRust API stability attributes for the rest of us. A fork of the `stability` crate.
homepage
repositoryhttps://github.com/ratatui-org/instability
max_upload_size
id1285297
size30,156
Orhun Parmaksız (orhun)

documentation

https://docs.rs/instability/

README

Instability

Rust API stability attributes for the rest of us.

Crates.io Documentation License Minimum supported Rust version Build Build

Overview

This is a fork of the Stability crate with the blessing of the original maintainer Stephen M. Coakley (@sagebind). 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!
#[instability::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]
instability = "0.3"

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.

Commit count: 22

cargo fmt