[package]
name = "hdrsample"
version = "3.0.0"

description = "A port of HdrHistogram to Rust"
readme = "README.md"

authors = ["Jon Gjengset <jon@thesquareplanet.com>"]

documentation = "https://docs.rs/hdrsample"
homepage = "https://github.com/jonhoo/hdrsample"
repository = "https://github.com/jonhoo/hdrsample.git"

keywords = ["sampling", "statistics", "analytics"]
categories = ["data-structures", "development-tools::profiling"]

license = "MIT/Apache-2.0"

[badges]
travis-ci = { repository = "jonhoo/hdrsample" }

[features]
benchmark = ["criterion"]
#benchmark = [] # for crates.io publication

[dependencies]
num = "0.1"
criterion = { git = "https://github.com/japaric/criterion.rs.git", optional = true }

[lib]
path = "src/lib.rs"

[[bin]]
name = "perf"
path = "benchmarks/all.rs"

[[bin]]
name = "busy"
path = "benchmarks/busy.rs"

[profile.release]
debug=true

[package]
name = "hdrsample"
version = "3.0.0"

description = "A port of HdrHistogram to Rust"
readme = "README.md"

authors = ["Jon Gjengset <jon@thesquareplanet.com>"]

documentation = "https://docs.rs/hdrsample"
homepage = "https://github.com/jonhoo/hdrsample"
repository = "https://github.com/jonhoo/hdrsample.git"

keywords = ["sampling", "statistics", "analytics"]
categories = ["data-structures", "development-tools::profiling"]

license = "MIT/Apache-2.0"

[badges]
travis-ci = { repository = "jonhoo/hdrsample" }

[features]
#benchmark = ["criterion"]
benchmark = [] # for crates.io publication

[dependencies]
num = "0.1"
#criterion = { git = "https://github.com/japaric/criterion.rs.git", optional = true }

[lib]
path = "src/lib.rs"

[[bin]]
name = "perf"
path = "benchmarks/all.rs"

[[bin]]
name = "busy"
path = "benchmarks/busy.rs"

[profile.release]
debug=true

Comment out criterion for crates.io publication
Comment out criterion for crates.io publication
