-
Notifications
You must be signed in to change notification settings - Fork 41
/
Cargo.toml
56 lines (43 loc) · 1.36 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "hdrhistogram"
version = "7.5.4"
edition = "2018"
description = "A port of HdrHistogram to Rust"
readme = "README.md"
authors = [
"Jon Gjengset <[email protected]>",
"Marshall Pierce <[email protected]>",
]
documentation = "https://docs.rs/hdrhistogram"
homepage = "https://github.com/HdrHistogram/HdrHistogram_rust"
repository = "https://github.com/HdrHistogram/HdrHistogram_rust.git"
keywords = ["sampling", "statistics", "analytics"]
categories = ["data-structures", "development-tools::profiling"]
license = "MIT/Apache-2.0"
[features]
bench_private = [] # for enabling nightly-only feature(test) on the main crate to allow benchmarking private code
serialization = [ "flate2", "nom", "base64" ]
sync = [ "crossbeam-channel" ]
default = [ "serialization", "sync" ]
[dependencies]
num-traits = "0.2"
byteorder = "1.0.0"
flate2 = { version = "1.0.3", optional = true }
nom = { version = "7.0.0", optional = true }
base64 = { version = "0.21", optional = true }
crossbeam-channel = { version = "0.5", optional = true }
[dev-dependencies]
rand = { version = "0.8", features = ["small_rng"] }
ieee754 = "0.2.2"
clap = { version = "4", features = ["string"] }
[target.'cfg(unix)'.dev-dependencies]
rug = "1.2"
[lib]
path = "src/lib.rs"
[profile.release]
debug=true
[profile.bench]
debug=true
[[example]]
name = "cli"
required-features = ["serialization"]