| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.67.0" |
| 15 |
name = "deranged" |
| 16 |
version = "0.3.11" |
| 17 |
authors = ["Jacob Pratt <[email protected]>"] |
| 18 |
include = [ |
| 19 |
"src/**/*", |
| 20 |
"LICENSE-*", |
| 21 |
"README.md", |
| 22 |
] |
| 23 |
description = "Ranged integers" |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"integer", |
| 27 |
"int", |
| 28 |
"range", |
| 29 |
] |
| 30 |
license = "MIT OR Apache-2.0" |
| 31 |
repository = "https://github.com/jhpratt/deranged" |
| 32 |
|
| 33 |
[package.metadata.docs.rs] |
| 34 |
all-features = true |
| 35 |
rustdoc-args = [ |
| 36 |
"--cfg", |
| 37 |
"docs_rs", |
| 38 |
] |
| 39 |
targets = ["x86_64-unknown-linux-gnu"] |
| 40 |
|
| 41 |
[dependencies.num-traits] |
| 42 |
version = "0.2.15" |
| 43 |
optional = true |
| 44 |
default-features = false |
| 45 |
|
| 46 |
[dependencies.powerfmt] |
| 47 |
version = "0.2.0" |
| 48 |
optional = true |
| 49 |
default-features = false |
| 50 |
|
| 51 |
[dependencies.quickcheck] |
| 52 |
version = "1.0.3" |
| 53 |
optional = true |
| 54 |
default-features = false |
| 55 |
|
| 56 |
[dependencies.rand] |
| 57 |
version = "0.8.4" |
| 58 |
optional = true |
| 59 |
default-features = false |
| 60 |
|
| 61 |
[dependencies.serde] |
| 62 |
version = "1.0.126" |
| 63 |
optional = true |
| 64 |
default-features = false |
| 65 |
|
| 66 |
[dev-dependencies.rand] |
| 67 |
version = "0.8.4" |
| 68 |
|
| 69 |
[dev-dependencies.serde_json] |
| 70 |
version = "1.0.86" |
| 71 |
|
| 72 |
[features] |
| 73 |
alloc = [] |
| 74 |
default = ["std"] |
| 75 |
num = ["dep:num-traits"] |
| 76 |
powerfmt = ["dep:powerfmt"] |
| 77 |
quickcheck = [ |
| 78 |
"dep:quickcheck", |
| 79 |
"alloc", |
| 80 |
] |
| 81 |
rand = ["dep:rand"] |
| 82 |
serde = ["dep:serde"] |
| 83 |
std = ["alloc"] |