[package]
name = "twox-hash"
version = "1.6.0"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
edition = "2018"

description = "A Rust implementation of the XXHash and XXH3 algorithms"
readme = "README.md"
keywords = ["hash", "hasher", "xxhash", "xxh3"]
categories = ["algorithms"]

repository = "https://github.com/shepmaster/twox-hash"
documentation = "https://docs.rs/twox-hash/"

license = "MIT"

[dependencies]
cfg-if = { version = ">= 0.1, < 2", default-features = false }
static_assertions = { version = "1.0", default-features = false }
rand = { version = ">= 0.3.10, < 0.8", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true}
digest = { package = "digest", version = "0.8", default-features = false, optional = true  }
digest_0_9 = { package = "digest", version = "0.9", default-features = false, optional = true }

[dev-dependencies]
serde_json = "1.0"

[features]
default = ["std"]
serialize = ["serde"]
std = ["rand"]

[package]
name = "twox-hash"
version = "1.6.0"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
edition = "2018"

description = "A Rust implementation of the XXHash and XXH3 algorithms"
readme = "README.md"
keywords = ["hash", "hasher", "xxhash", "xxh3"]
categories = ["algorithms"]

repository = "https://github.com/shepmaster/twox-hash"
documentation = "https://docs.rs/twox-hash/"

license = "MIT"

[dependencies]
cfg-if = { version = ">= 0.1, < 2", default-features = false }
static_assertions = { version = "1.0", default-features = false }
rand = { version = ">= 0.3.10, < 0.9", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true}
digest = { package = "digest", version = "0.8", default-features = false, optional = true  }
digest_0_9 = { package = "digest", version = "0.9", default-features = false, optional = true }

[dev-dependencies]
serde_json = "1.0"

[features]
default = ["std"]
serialize = ["serde"]
std = ["rand"]

Allow depending on rand 0.8
Allow depending on rand 0.8
