| 1 |
[package] |
| 2 |
name = "rangemap" |
| 3 |
version = "1.7.1" |
| 4 |
authors = ["Jeff Parsons <[email protected]>"] |
| 5 |
edition = "2018" |
| 6 |
license = "MIT/Apache-2.0" |
| 7 |
readme = "README.md" |
| 8 |
repository = "https://github.com/jeffparsons/rangemap" |
| 9 |
documentation = "https://docs.rs/rangemap" |
| 10 |
homepage = "https://github.com/jeffparsons/rangemap" |
| 11 |
description = """ |
| 12 |
Map and set data structures whose keys are stored as ranges. |
| 13 |
|
| 14 |
Contiguous and overlapping ranges that map to the same value are coalesced into a single range. |
| 15 |
""" |
| 16 |
categories = ["data-structures"] |
| 17 |
rust-version = "1.81.0" |
| 18 |
exclude = [ |
| 19 |
".github/*", |
| 20 |
"bors.toml", |
| 21 |
"pre_commit.sh", |
| 22 |
"README.fuzz.md", |
| 23 |
] |
| 24 |
|
| 25 |
[dependencies] |
| 26 |
quickcheck = { version = "1.0.3", optional = true } |
| 27 |
serde = { version = "1", optional = true } |
| 28 |
|
| 29 |
[dev-dependencies] |
| 30 |
permutator = "0.4" |
| 31 |
# Criterion bumps its MSRV in 0.3.6; it is probably reasonable |
| 32 |
# to update rangemap's MSRV, too, but until I actually publish |
| 33 |
# a policy on that I'm going to avoid doing a big bump right now. |
| 34 |
# (Later problem!) |
| 35 |
criterion = "0.7" |
| 36 |
rand = "0.9" |
| 37 |
chrono = "0.4" # For examples |
| 38 |
rustc_version = "0.4" |
| 39 |
serde_json = "1" |
| 40 |
proptest = "1.4" |
| 41 |
test-strategy = "0.4" |
| 42 |
|
| 43 |
[features] |
| 44 |
serde1 = ["serde"] |
| 45 |
# So we can run doc tests from "README.md". |
| 46 |
nightly = [] |
| 47 |
# Enables `RangeMap::new()`, `RangeInclusiveMap::new()`, `RangeSet::new()`, |
| 48 |
# and `RangeInclusiveSet::new()` to be const functions. |
| 49 |
# Requires a nightly compiler because `const_btree_new` is an unstable feature, |
| 50 |
# but is soon to be stabilized: <https://github.com/rust-lang/rust/issues/71835> |
| 51 |
const_fn = [] |
| 52 |
quickcheck = ["dep:quickcheck"] |
| 53 |
|
| 54 |
[[bench]] |
| 55 |
name = "benches" |
| 56 |
harness = false |