[package] name = "exonum-crypto" version = "1.0.0" edition = "2018" authors = ["The Exonum Team "] homepage = "https://exonum.com/" repository = "https://github.com/exonum/exonum" documentation = "https://docs.rs/exonum-crypto" readme = "README.md" license = "Apache-2.0" keywords = ["exonum", "cryptography", "hashing", "library"] categories = ["algorithms", "cryptography"] description = "Cryptography related types, constants, traits and functions." links = "exonum_protobuf_crypto" [dependencies] anyhow = "1.0.26" hex = "0.4.0" serde = "1.0.101" serde_derive = "1.0.101" exonum_sodiumoxide = { version = "0.0.23", optional = true } exonum-proto = { path = "../proto", version = "1.0.0", optional = true } protobuf = { version = "2.8.1", features = ["with-serde"], optional = true } [dev-dependencies] serde_json = "1.0.44" tempdir = "0.3.7" [features] default = ["sodiumoxide-crypto", "with-protobuf", "with-serde"] sodiumoxide-crypto = ["exonum_sodiumoxide"] with-protobuf = ["exonum-proto", "protobuf"] with-serde = [] [build-dependencies] exonum-build = { version = "1.0.0", path = "../build" }