-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
38 lines (34 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "deranged"
version = "0.3.11"
authors = ["Jacob Pratt <[email protected]>"]
edition = "2021"
rust-version = "1.67.0"
repository = "https://github.com/jhpratt/deranged"
keywords = ["integer", "int", "range"]
readme = "README.md"
license = "MIT OR Apache-2.0"
description = "Ranged integers"
include = ["src/**/*", "LICENSE-*", "README.md"]
[features]
default = ["std"]
alloc = []
num = ["dep:num-traits"]
powerfmt = ["dep:powerfmt"]
quickcheck = ["dep:quickcheck", "alloc"]
rand = ["dep:rand"]
serde = ["dep:serde"]
std = ["alloc"]
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docs_rs"]
[dependencies]
num-traits = { version = "0.2.15", optional = true, default-features = false }
powerfmt = { version = "0.2.0", optional = true, default-features = false }
quickcheck = { version = "1.0.3", default-features = false, optional = true }
rand = { version = "0.8.4", optional = true, default-features = false }
serde = { version = "1.0.126", optional = true, default-features = false }
[dev-dependencies]
rand = "0.8.4"
serde_json = "1.0.86"