2020-05-26 09:37:31 +00:00
|
|
|
[package]
|
|
|
|
name = "ethers-signers"
|
2022-09-18 15:45:45 +00:00
|
|
|
authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
|
2023-03-16 19:28:35 +00:00
|
|
|
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
|
2020-06-20 13:55:07 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2023-03-08 22:58:44 +00:00
|
|
|
rustc-args = ["--cfg", "docsrs"]
|
2020-06-20 13:55:07 +00:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2020-05-26 09:37:31 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
[package.metadata.playground]
|
|
|
|
all-features = true
|
|
|
|
|
2020-05-26 09:37:31 +00:00
|
|
|
[dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-core = { workspace = true, features = ["eip712"] }
|
|
|
|
|
|
|
|
# crypto
|
|
|
|
coins-bip32 = "0.8.3"
|
|
|
|
coins-bip39 = "0.8.3"
|
|
|
|
elliptic-curve.workspace = true
|
|
|
|
sha2.workspace = true
|
|
|
|
rand.workspace = true
|
|
|
|
|
|
|
|
# misc
|
|
|
|
thiserror.workspace = true
|
|
|
|
tracing.workspace = true
|
|
|
|
async-trait.workspace = true
|
|
|
|
hex.workspace = true
|
|
|
|
|
|
|
|
# futures
|
|
|
|
futures-util = { workspace = true, optional = true }
|
|
|
|
futures-executor = { workspace = true, optional = true }
|
2020-06-01 22:27:23 +00:00
|
|
|
|
2021-08-01 21:18:24 +00:00
|
|
|
# aws
|
2023-01-06 11:08:26 +00:00
|
|
|
rusoto_core = { version = "0.48.0", default-features = false, optional = true }
|
|
|
|
rusoto_kms = { version = "0.48.0", default-features = false, optional = true }
|
2023-03-16 19:28:35 +00:00
|
|
|
spki = { workspace = true, optional = true }
|
2021-08-01 21:18:24 +00:00
|
|
|
|
2021-08-23 09:56:44 +00:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
eth-keystore = "0.5.0"
|
2022-10-12 18:13:25 +00:00
|
|
|
home = { version = "0.5.4", optional = true }
|
2021-08-23 09:56:44 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
# ledger
|
|
|
|
coins-ledger = { version = "0.8.3", default-features = false, optional = true }
|
|
|
|
semver = { workspace = true, optional = true }
|
|
|
|
|
|
|
|
# trezor
|
|
|
|
trezor-client = { version = "0.0.7", default-features = false, features = [
|
|
|
|
"f_ethereum",
|
|
|
|
], optional = true }
|
|
|
|
|
|
|
|
# yubi
|
|
|
|
yubihsm = { version = "0.42.0-pre.0", features = ["secp256k1", "http", "usb"], optional = true }
|
|
|
|
|
2022-10-25 18:12:50 +00:00
|
|
|
[dev-dependencies]
|
2023-03-16 19:28:35 +00:00
|
|
|
ethers-contract-derive.workspace = true
|
|
|
|
ethers-derive-eip712.workspace = true
|
2022-10-25 18:12:50 +00:00
|
|
|
|
2023-03-16 19:28:35 +00:00
|
|
|
serde_json.workspace = true
|
|
|
|
tempfile.workspace = true
|
|
|
|
tracing-subscriber.workspace = true
|
|
|
|
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
|
2023-03-15 06:13:46 +00:00
|
|
|
yubihsm = { version = "0.42.0-pre.0", features = ["secp256k1", "usb", "mockhsm"] }
|
2023-03-21 22:19:16 +00:00
|
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
2021-08-01 21:18:24 +00:00
|
|
|
|
2020-06-17 09:22:01 +00:00
|
|
|
[features]
|
2022-03-19 17:05:39 +00:00
|
|
|
futures = ["futures-util", "futures-executor"]
|
2023-03-16 19:28:35 +00:00
|
|
|
|
2020-09-24 21:33:09 +00:00
|
|
|
celo = ["ethers-core/celo"]
|
2023-03-16 19:28:35 +00:00
|
|
|
|
2022-03-19 17:05:39 +00:00
|
|
|
ledger = ["coins-ledger", "futures", "semver"]
|
2022-05-02 19:36:09 +00:00
|
|
|
trezor = ["trezor-client", "futures", "semver", "home"]
|
2023-03-16 19:28:35 +00:00
|
|
|
aws = ["rusoto_core/rustls", "rusoto_kms/rustls", "spki"]
|
|
|
|
yubi = ["yubihsm"]
|