Skip to content

Commit c608952

Browse files
committed
Release 0.3.0
1 parent d003067 commit c608952

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "num-primitive"
3-
version = "0.2.3"
3+
version = "0.3.0"
44
description = "Traits for primitive numeric types"
55
repository = "https://github.com/rust-num/num-primitive"
66
license = "MIT OR Apache-2.0"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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

88
Traits 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"
5252
default-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
6565
minimum-supported Rust version (MSRV) may be increased at any time to add
6666
support for newly-stabilized functionality from the standard library. Changes
6767
will be documented prominently in the release notes.

RELEASES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//!
3434
//! ```toml
3535
//! [dependencies]
36-
//! num-primitive = "0.2"
36+
//! num-primitive = "0.3"
3737
//! ```
3838
//!
3939
//! ## Features
@@ -43,7 +43,7 @@
4343
//!
4444
//! ```toml
4545
//! [dependencies.num-primitive]
46-
//! version = "0.2"
46+
//! version = "0.3"
4747
//! default-features = false
4848
//! ```
4949
//!

0 commit comments

Comments
 (0)