Skip to content

Commit a582e9a

Browse files
bors[bot]cuviper
andcommitted
Merge #6
6: Miscellaneous tweaks regarding no_std r=cuviper a=cuviper Co-authored-by: Josh Stone <[email protected]>
2 parents 5bdc3fb + 5cc04e0 commit a582e9a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ description = "Integer traits and functions"
44
documentation = "https://docs.rs/num-integer"
55
homepage = "https://github.com/rust-num/num-integer"
66
keywords = ["mathematics", "numerics"]
7-
categories = [ "algorithms", "science" ]
7+
categories = ["algorithms", "science", "no-std"]
88
license = "MIT/Apache-2.0"
99
repository = "https://github.com/rust-num/num-integer"
1010
name = "num-integer"
1111
version = "0.1.36"
1212
readme = "README.md"
1313

14+
[package.metadata.docs.rs]
15+
all-features = true
16+
1417
[dependencies.num-traits]
1518
version = "0.2.0"
1619
default-features = false

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
1717
#![doc(html_root_url = "https://docs.rs/num-integer/0.1")]
1818

19-
#![cfg_attr(not(feature = "std"), no_std)]
19+
#![no_std]
2020
#[cfg(feature = "std")]
21-
extern crate core;
21+
extern crate std;
2222

2323
extern crate num_traits as traits;
2424

0 commit comments

Comments
 (0)