[package]
name = "ethers-signers"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
readme = "README.md"
description = "A unified interface for locally signing Ethereum transactions"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
documentation.workspace = true
repository.workspace = true
homepage.workspace = true
categories.workspace = true
keywords.workspace = true
exclude.workspace = true
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.playground]
all-features = true
[dependencies]
ethers-core.workspace = true
coins-bip32 = "0.8.3"
coins-bip39 = "0.8.6"
elliptic-curve.workspace = true
sha2.workspace = true
rand.workspace = true
thiserror.workspace = true
tracing.workspace = true
async-trait.workspace = true
hex.workspace = true
futures-util = { workspace = true, optional = true }
futures-executor = { workspace = true, optional = true }
rusoto_core = { version = "0.48.0", default-features = false, optional = true }
rusoto_kms = { version = "0.48.0", default-features = false, optional = true }
spki = { workspace = true, optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
eth-keystore = "0.5.0"
home = { workspace = true, optional = true }
coins-ledger = { version = "0.10.1", default-features = false, optional = true }
semver = { workspace = true, optional = true }
trezor-client = { version = "=0.1.3", default-features = false, features = [
"ethereum",
], optional = true }
yubihsm = { version = "0.42", features = ["secp256k1", "http", "usb"], optional = true }
[dev-dependencies]
serde_json.workspace = true
tempfile.workspace = true
tracing-subscriber.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
yubihsm = { version = "0.42", features = ["secp256k1", "usb", "mockhsm"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
[features]
futures = ["futures-util", "futures-executor"]
celo = ["ethers-core/celo"]
optimism = ["ethers-core/optimism"]
ledger = ["coins-ledger", "futures", "semver"]
trezor = ["trezor-client", "futures", "semver", "home"]
aws = ["rusoto_core/rustls", "rusoto_kms/rustls", "spki"]
yubi = ["yubihsm"]