[package] name = "web3-address" version = "0.6.0" edition = "2021" description = "Address type for web3 public keys" license = "MIT OR Apache-2.0" [dependencies] thiserror = "1" serde = { version = "1", features = ["derive"] } k256 = { version = "0.13.1", features = ["ecdsa"], optional = true } subtle = { version = "2.4", optional = true } sha3 = { version = "0.10", optional = true } hex = { version = "0.4", features = ["serde"], optional = true } [features] ethereum = ["k256", "subtle", "sha3", "hex"] [dev-dependencies] anyhow = "1" rand = "0.8"