[package] name = "linera-alloy-signer-wallet" description = "sepc256k1 ECDSA and YubiHSM signer implementations" version.workspace = true edition.workspace = true rust-version.workspace = true authors.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true exclude.workspace = true [lints] workspace = true [dependencies] linera-alloy-consensus = { workspace = true, features = ["std"] } linera-alloy-network.workspace = true linera-alloy-primitives.workspace = true linera-alloy-signer.workspace = true k256.workspace = true rand.workspace = true thiserror.workspace = true async-trait.workspace = true # keystore elliptic-curve = { workspace = true, optional = true } eth-keystore = { version = "0.5.0", default-features = false, optional = true } # mnemonic coins-bip32 = { version = "0.8.7", default-features = false, optional = true } coins-bip39 = { version = "0.8.7", default-features = false, features = [ "english", ], optional = true } # yubi yubihsm = { version = "0.42", features = [ "secp256k1", "http", "usb", ], optional = true } [dev-dependencies] linera-alloy-dyn-abi.workspace = true linera-alloy-sol-types.workspace = true linera-alloy-consensus = { workspace = true, features = ["std"] } linera-alloy-network.workspace = true assert_matches.workspace = true serde_json.workspace = true serde.workspace = true tempfile.workspace = true tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } # need to enable features for tests yubihsm = { version = "0.42", features = ["mockhsm"] } [features] keystore = ["dep:eth-keystore", "dep:elliptic-curve"] mnemonic = ["dep:coins-bip32", "dep:coins-bip39"] mnemonic-all-languages = ["mnemonic", "coins-bip39?/all-langs"] yubihsm = ["dep:yubihsm", "dep:elliptic-curve"] eip712 = ["linera-alloy-signer/eip712"]