File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " num-primitive"
3- version = " 0.2.3 "
3+ version = " 0.3.0 "
44description = " Traits for primitive numeric types"
55repository = " https://github.com/rust-num/num-primitive"
66license = " MIT OR Apache-2.0"
Original file line number Diff line number Diff line change 22
33[ ![ crate] ( https://img.shields.io/crates/v/num-primitive.svg )] ( https://crates.io/crates/num-primitive )
44[ ![ documentation] ( https://docs.rs/num-primitive/badge.svg )] ( https://docs.rs/num-primitive )
5- [ ![ minimum rustc 1.85 ] ( https://img.shields.io/badge/rustc-1.85 +-red.svg )] ( https://rust-lang.github.io/rfcs/2495-min-rust-version.html )
5+ [ ![ minimum rustc 1.87 ] ( https://img.shields.io/badge/rustc-1.87 +-red.svg )] ( https://rust-lang.github.io/rfcs/2495-min-rust-version.html )
66[ ![ build status] ( https://github.com/rust-num/num-primitive/workflows/CI/badge.svg )] ( https://github.com/rust-num/num-primitive/actions )
77
88Traits for primitive numeric types in Rust.
@@ -38,7 +38,7 @@ Add this to your `Cargo.toml`:
3838
3939``` toml
4040[dependencies ]
41- num-primitive = " 0.2 "
41+ num-primitive = " 0.3 "
4242```
4343
4444## Features
@@ -48,7 +48,7 @@ the default `std` feature. Use this in `Cargo.toml`:
4848
4949``` toml
5050[dependencies .num-primitive ]
51- version = " 0.2 "
51+ version = " 0.3 "
5252default-features = false
5353```
5454
@@ -61,7 +61,7 @@ Release notes are available in [RELEASES.md](RELEASES.md).
6161
6262## Compatibility
6363
64- The ` num-primitive ` crate is currently tested for Rust 1.85 and greater. This
64+ The ` num-primitive ` crate is currently tested for Rust 1.87 and greater. This
6565minimum-supported Rust version (MSRV) may be increased at any time to add
6666support for newly-stabilized functionality from the standard library. Changes
6767will be documented prominently in the release notes.
Original file line number Diff line number Diff line change 1+ # Release 0.3.0 (2025-12-16)
2+
3+ - Added ` PrimitiveNumber::midpoint `
4+ - Removed ` Primitive{Float,Signed,Unsigned}::midpoint `
5+
16# Release 0.2.3 (2025-12-16)
27
38- Updated to MSRV 1.87.
Original file line number Diff line number Diff line change 3333//!
3434//! ```toml
3535//! [dependencies]
36- //! num-primitive = "0.2 "
36+ //! num-primitive = "0.3 "
3737//! ```
3838//!
3939//! ## Features
4343//!
4444//! ```toml
4545//! [dependencies.num-primitive]
46- //! version = "0.2 "
46+ //! version = "0.3 "
4747//! default-features = false
4848//! ```
4949//!
You can’t perform that action at this time.
0 commit comments