Skip to content

Rust API stability attributes for the rest of us.

License

Notifications You must be signed in to change notification settings

sagebind/stability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Rust API stability attributes for the rest of us.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages