ethers-rs/Cargo.lock

5078 lines
117 KiB
Plaintext
Raw Normal View History

2020-05-24 16:33:24 +00:00
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
2020-05-26 18:57:59 +00:00
[[package]]
name = "Inflector"
version = "0.11.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"lazy_static",
"regex",
2020-05-26 18:57:59 +00:00
]
2022-06-25 15:13:52 +00:00
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "aead"
2023-01-13 01:53:28 +00:00
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5c192eb8f11fc081b0fe4259ba5af04217d4e0faddd02417310a927911abd7c8"
dependencies = [
"crypto-common",
"generic-array 0.14.6",
]
[[package]]
name = "aes"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8"
dependencies = [
"cfg-if 1.0.0",
"cipher 0.3.0",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"cpufeatures",
"opaque-debug 0.3.0",
]
[[package]]
name = "aes"
2023-01-13 01:53:28 +00:00
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "433cfd6710c9986c576a25ca913c39d66a6474107b406f34f91d4a8923395241"
dependencies = [
"cfg-if 1.0.0",
"cipher 0.4.3",
"cpufeatures",
]
2020-05-26 18:57:59 +00:00
[[package]]
name = "aho-corasick"
2023-01-13 01:53:28 +00:00
version = "0.7.20"
2020-05-26 18:57:59 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"memchr",
2020-05-26 18:57:59 +00:00
]
[[package]]
name = "android_system_properties"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
dependencies = [
"libc",
]
[[package]]
name = "anes"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
2020-05-26 11:00:56 +00:00
[[package]]
name = "anyhow"
2023-01-13 01:53:28 +00:00
version = "1.0.68"
2020-05-26 11:00:56 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "2cb2f989d18dd141ab8ae82f64d1a8cdd37e0840f73a406896cf5e99502fab61"
2020-05-26 11:00:56 +00:00
2020-05-31 17:53:07 +00:00
[[package]]
name = "arrayref"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544"
2020-05-24 16:33:24 +00:00
[[package]]
name = "arrayvec"
version = "0.5.2"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
2020-05-24 16:33:24 +00:00
[[package]]
name = "arrayvec"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "ascii-canvas"
version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8824ecca2e851cec16968d54a01dd372ef8f95b244fb84b84e70128be347c3c6"
dependencies = [
"term",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "async-trait"
2023-01-13 01:53:28 +00:00
version = "0.1.61"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "705339e0e4a9690e2908d2b3d049d85682cf19fbd5782494498fbf7003a6a282"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "async_io_stream"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6d7b9decdf35d8908a7e3ef02f64c5e9b1695e230154c0e8de3969142d9b94c"
dependencies = [
"futures",
"pharos",
"rustc_version",
]
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi 0.1.19",
"libc",
"winapi",
]
[[package]]
name = "auto_impl"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7862e21c893d65a1650125d157eaeec691439379a1cee17ee49031b79236ada4"
dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "auto_impl"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a8c1df849285fbacd587de7818cc7d13be6cd2cbcd47a04fb1801b0e2706e33"
dependencies = [
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "autocfg"
2023-01-13 01:53:28 +00:00
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
2020-05-26 09:52:15 +00:00
[[package]]
name = "base16ct"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce"
[[package]]
name = "base58"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83"
[[package]]
name = "base58check"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ee2fe4c9a0c84515f136aaae2466744a721af6d63339c18689d9e995d74d99b"
dependencies = [
"base58",
"sha2 0.8.2",
]
[[package]]
name = "base64"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3441f0f7b02788e948e47f457ca01f1d7e6d92c693bc132c22b087d3141c03ff"
[[package]]
name = "base64"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
[[package]]
name = "base64ct"
2023-01-13 01:53:28 +00:00
version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b645a089122eccb6111b4f81cbc1a49f5900ac4666bb93ac027feaecf15607bf"
[[package]]
name = "bech32"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dabbe35f96fb9507f7330793dc490461b2962659ac5d427181e451a623751d1"
2020-05-27 21:48:48 +00:00
[[package]]
name = "bincode"
version = "1.3.3"
2020-05-27 21:48:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
2020-05-27 21:48:48 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"serde",
2020-05-27 21:48:48 +00:00
]
[[package]]
name = "bit-set"
2023-01-13 01:53:28 +00:00
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
dependencies = [
"bit-vec",
]
[[package]]
name = "bit-vec"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
2020-05-26 09:52:15 +00:00
[[package]]
name = "bitflags"
version = "1.3.2"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
2020-05-26 09:52:15 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "bitvec"
version = "0.17.4"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41262f11d771fd4a61aa3ce019fca363b4b6c282fca9da2a31186d3965a47a5c"
dependencies = [
"either",
"radium 0.3.0",
]
[[package]]
name = "bitvec"
2023-01-13 01:53:28 +00:00
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
dependencies = [
"funty",
"radium 0.7.0",
"tap",
"wyz",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "blake2"
2023-01-13 01:53:28 +00:00
version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
]
[[package]]
name = "blake2b_simd"
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afa748e348ad3be8263be728124b24a24f268266f6f5d58af9d75f6a40b5c587"
dependencies = [
"arrayref",
"arrayvec 0.5.2",
"constant_time_eq",
]
[[package]]
name = "block-buffer"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
dependencies = [
"block-padding 0.1.5",
"byte-tools",
"byteorder",
"generic-array 0.12.4",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "block-buffer"
version = "0.9.0"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
2020-05-31 17:53:07 +00:00
dependencies = [
"generic-array 0.14.6",
2020-05-31 17:53:07 +00:00
]
[[package]]
name = "block-buffer"
2023-01-13 01:53:28 +00:00
version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e"
dependencies = [
"generic-array 0.14.6",
]
[[package]]
name = "block-padding"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
dependencies = [
"byte-tools",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "block-padding"
version = "0.3.2"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a90ec2df9600c28a01c56c4784c9207a96d2451833aeceb8cc97e4c9548bb78"
dependencies = [
"generic-array 0.14.6",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "bs58"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
[[package]]
name = "build_const"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4ae4235e6dac0694637c763029ecea1a2ec9e4e06ec2729bd21ba4d9c863eb7"
2020-05-26 09:52:15 +00:00
[[package]]
name = "bumpalo"
2023-01-13 01:53:28 +00:00
version = "3.11.1"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba"
2020-05-26 09:52:15 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "byte-slice-cast"
2023-01-13 01:53:28 +00:00
version = "1.2.2"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c"
2020-05-24 16:33:24 +00:00
[[package]]
name = "byte-tools"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
2020-05-24 16:33:24 +00:00
[[package]]
name = "byteorder"
version = "1.4.3"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
2020-05-26 09:52:15 +00:00
[[package]]
name = "bytes"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c"
dependencies = [
"serde",
]
2022-06-25 15:13:52 +00:00
[[package]]
name = "bzip2"
version = "0.4.4"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8"
2022-06-25 15:13:52 +00:00
dependencies = [
"bzip2-sys",
"libc",
]
[[package]]
name = "bzip2-sys"
version = "0.1.11+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc"
dependencies = [
"cc",
"libc",
"pkg-config",
]
[[package]]
name = "camino"
2023-01-13 01:53:28 +00:00
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c77df041dc383319cc661b428b6961a005db4d6808d5e12536931b1ca9556055"
dependencies = [
"serde",
]
[[package]]
name = "cargo-platform"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
dependencies = [
"serde",
]
[[package]]
name = "cargo_metadata"
version = "0.15.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "982a0cf6a99c350d7246035613882e376d58cebe571785abc5da4f648d53ac0a"
dependencies = [
"camino",
"cargo-platform",
"semver",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "cast"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]]
name = "cbc"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6"
dependencies = [
"cipher 0.4.3",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "cc"
2023-01-13 01:53:28 +00:00
version = "1.0.78"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"
2022-06-25 15:13:52 +00:00
dependencies = [
"jobserver",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "ccm"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ae3c82e4355234767756212c570e29833699ab63e6ffd161887314cc5b43847"
dependencies = [
"aead",
"cipher 0.4.3",
2022-08-30 16:45:52 +00:00
"ctr",
"subtle",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "cfg-if"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
2020-05-25 09:23:50 +00:00
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f"
dependencies = [
"iana-time-zone",
"num-integer",
"num-traits",
"serde",
"winapi",
]
[[package]]
name = "ciborium"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0c137568cc60b904a7724001b35ce2630fd00d5d84805fbb608ab89509d788f"
dependencies = [
"ciborium-io",
"ciborium-ll",
"serde",
]
[[package]]
name = "ciborium-io"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "346de753af073cc87b52b2083a506b38ac176a44cfb05497b622e27be899b369"
[[package]]
name = "ciborium-ll"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "213030a2b5a4e0c0892b6652260cf6ccac84827b83a85a534e178e3906c4cf1b"
dependencies = [
"ciborium-io",
"half",
]
[[package]]
name = "cipher"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7"
dependencies = [
"generic-array 0.14.6",
]
[[package]]
name = "cipher"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1873270f8f7942c191139cb8a40fd228da6c3fd2fc376d7e92d47aa14aeb59e"
dependencies = [
"crypto-common",
"inout",
]
2022-01-28 07:07:48 +00:00
[[package]]
name = "clap"
2023-01-13 01:53:28 +00:00
version = "3.2.23"
2022-01-28 07:07:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "71655c45cb9845d3270c9d6df84ebe72b4dad3c2ba3f7023ad47c144e4e473a5"
2022-01-28 07:07:48 +00:00
dependencies = [
"atty",
"bitflags",
"clap_derive",
2023-01-13 01:53:28 +00:00
"clap_lex",
2022-01-28 07:07:48 +00:00
"indexmap",
2023-01-13 01:53:28 +00:00
"once_cell",
2022-01-28 07:07:48 +00:00
"strsim",
"termcolor",
"textwrap",
2022-01-28 07:07:48 +00:00
]
[[package]]
name = "clap_derive"
2023-01-13 01:53:28 +00:00
version = "3.2.18"
2022-01-28 07:07:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65"
2022-01-28 07:07:48 +00:00
dependencies = [
"heck",
"proc-macro-error",
"proc-macro2",
"quote",
"syn",
]
2023-01-13 01:53:28 +00:00
[[package]]
name = "clap_lex"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
dependencies = [
"os_str_bytes",
]
[[package]]
name = "cmac"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "606383658416244b8dc4b36f864ec1f86cb922b95c41a908fd07aeb01cad06fa"
dependencies = [
"cipher 0.4.3",
"dbl",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
]
[[package]]
name = "codespan-reporting"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e"
dependencies = [
"termcolor",
"unicode-width",
]
[[package]]
name = "coins-bip32"
2022-07-06 21:11:23 +00:00
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "634c509653de24b439672164bbf56f5f582a2ab0e313d3b0f6af0b7345cf2560"
dependencies = [
"bincode",
"bs58",
"coins-core",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"getrandom 0.2.8",
2022-07-06 21:11:23 +00:00
"hmac 0.12.1",
"k256",
"lazy_static",
"serde",
"sha2 0.10.6",
"thiserror",
]
[[package]]
name = "coins-bip39"
2022-07-06 21:11:23 +00:00
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "2a11892bcac83b4c6e95ab84b5b06c76d9d70ad73548dd07418269c5c7977171"
dependencies = [
"bitvec 0.17.4",
"coins-bip32",
"getrandom 0.2.8",
"hex",
2022-07-06 21:11:23 +00:00
"hmac 0.12.1",
2023-01-13 01:53:28 +00:00
"pbkdf2",
"rand 0.8.5",
"sha2 0.10.6",
"thiserror",
]
[[package]]
name = "coins-core"
2022-07-06 21:11:23 +00:00
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "c94090a6663f224feae66ab01e41a2555a8296ee07b5f20dab8888bdefc9f617"
dependencies = [
"base58check",
"base64 0.12.3",
"bech32",
"blake2",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"generic-array 0.14.6",
"hex",
2022-07-06 21:11:23 +00:00
"ripemd",
"serde",
"serde_derive",
"sha2 0.10.6",
2022-07-06 21:11:23 +00:00
"sha3",
"thiserror",
]
[[package]]
name = "coins-ledger"
2022-07-06 21:11:23 +00:00
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "d9766e413812861a04ceb82c8008e7fea9fe75845b68ed41241c34274702ed9d"
dependencies = [
"async-trait",
"blake2b_simd",
"byteorder",
"cfg-if 0.1.10",
"futures",
"hidapi-rusb",
"js-sys",
"lazy_static",
"libc",
"log",
"matches",
"nix",
"serde",
"thiserror",
"wasm-bindgen",
"wasm-bindgen-futures",
]
[[package]]
name = "console"
version = "0.14.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3993e6445baa160675931ec041a5e03ca84b9c6e32a056150d3aa2bdda0a1f45"
dependencies = [
"encode_unicode",
"lazy_static",
"libc",
"regex",
"terminal_size",
"unicode-width",
"winapi",
]
[[package]]
name = "console"
2023-01-13 01:53:28 +00:00
version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c9b6515d269224923b26b5febea2ed42b2d5f2ce37284a4dd670fedd6cb8347a"
dependencies = [
"encode_unicode",
2023-01-13 01:53:28 +00:00
"lazy_static",
"libc",
2023-01-13 01:53:28 +00:00
"windows-sys",
]
[[package]]
name = "console_error_panic_hook"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc"
dependencies = [
"cfg-if 1.0.0",
"wasm-bindgen",
]
[[package]]
name = "const-oid"
2023-01-13 01:53:28 +00:00
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "cec318a675afcb6a1ea1d4340e2d377e56e47c266f28043ceccbf4412ddfdd3b"
[[package]]
name = "constant_time_eq"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
[[package]]
name = "convert_case"
version = "0.6.0"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
dependencies = [
"unicode-segmentation",
]
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
[[package]]
name = "core-foundation"
2023-01-13 01:53:28 +00:00
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]]
name = "core-foundation-sys"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
[[package]]
name = "cpufeatures"
2023-01-13 01:53:28 +00:00
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320"
dependencies = [
"libc",
]
[[package]]
name = "crc32fast"
2022-06-25 15:13:52 +00:00
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-06-25 15:13:52 +00:00
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if 1.0.0",
]
[[package]]
name = "criterion"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb"
dependencies = [
"anes",
"atty",
2023-01-13 01:53:28 +00:00
"cast",
"ciborium",
"clap",
"criterion-plot",
"futures",
"itertools",
"lazy_static",
"num-traits",
"oorandom",
"plotters",
"rayon",
"regex",
"serde",
"serde_derive",
"serde_json",
"tinytemplate",
"tokio",
"walkdir",
]
[[package]]
name = "criterion-plot"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
dependencies = [
2023-01-13 01:53:28 +00:00
"cast",
"itertools",
]
[[package]]
name = "crossbeam-channel"
2023-01-13 01:53:28 +00:00
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
2023-01-13 01:53:28 +00:00
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
2023-01-13 01:53:28 +00:00
version = "0.9.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
dependencies = [
2023-01-13 01:53:28 +00:00
"autocfg",
"cfg-if 1.0.0",
"crossbeam-utils",
"memoffset",
"scopeguard",
]
[[package]]
name = "crossbeam-utils"
2023-01-13 01:53:28 +00:00
version = "0.8.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
dependencies = [
"cfg-if 1.0.0",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "crunchy"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
2020-05-26 09:52:15 +00:00
[[package]]
name = "crypto-bigint"
2023-01-13 01:53:28 +00:00
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef"
dependencies = [
"generic-array 0.14.6",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"subtle",
"zeroize",
]
[[package]]
name = "crypto-common"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
"generic-array 0.14.6",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"typenum",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "crypto-mac"
version = "0.11.1"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714"
2020-05-31 17:53:07 +00:00
dependencies = [
"generic-array 0.14.6",
"subtle",
2020-05-31 17:53:07 +00:00
]
[[package]]
name = "ctor"
2023-01-13 01:53:28 +00:00
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
dependencies = [
"quote",
"syn",
]
[[package]]
name = "ctr"
2023-01-13 01:53:28 +00:00
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0369ee1ad671834580515889b80f2ea915f23b8be8d0daa4bbaf2ac5c7590835"
dependencies = [
"cipher 0.4.3",
]
[[package]]
name = "curve25519-dalek"
version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61"
dependencies = [
"byteorder",
"digest 0.9.0",
"rand_core 0.5.1",
"subtle",
"zeroize",
]
[[package]]
name = "cxx"
2023-01-13 01:53:28 +00:00
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "51d1075c37807dcf850c379432f0df05ba52cc30f279c5cfc43cc221ce7f8579"
dependencies = [
"cc",
"cxxbridge-flags",
"cxxbridge-macro",
"link-cplusplus",
]
[[package]]
name = "cxx-build"
2023-01-13 01:53:28 +00:00
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5044281f61b27bc598f2f6647d480aed48d2bf52d6eb0b627d84c0361b17aa70"
dependencies = [
"cc",
"codespan-reporting",
"once_cell",
"proc-macro2",
"quote",
"scratch",
"syn",
]
[[package]]
name = "cxxbridge-flags"
2023-01-13 01:53:28 +00:00
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "61b50bc93ba22c27b0d31128d2d130a0a6b3d267ae27ef7e4fae2167dfe8781c"
[[package]]
name = "cxxbridge-macro"
2023-01-13 01:53:28 +00:00
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "39e61fda7e62115119469c7b3591fd913ecca96fb766cfd3f2e2502ab7bc87a5"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "dashmap"
2023-01-13 01:53:28 +00:00
version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
dependencies = [
"cfg-if 1.0.0",
2023-01-13 01:53:28 +00:00
"hashbrown",
"lock_api",
"once_cell",
"parking_lot_core 0.9.6",
]
[[package]]
name = "dbl"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd2735a791158376708f9347fe8faba9667589d82427ef3aed6794a8981de3d9"
dependencies = [
"generic-array 0.14.6",
]
[[package]]
name = "der"
2023-01-13 01:53:28 +00:00
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "f1a467a65c5e759bce6e65eaf91cc29f466cdc57cb65777bd646872a8a1fd4de"
dependencies = [
2022-07-06 21:11:23 +00:00
"const-oid",
"zeroize",
]
[[package]]
name = "derive_more"
version = "0.99.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "dialoguer"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9dd058f8b65922819fabb4a41e7d1964e56344042c26efbccd465202c23fa0c"
dependencies = [
"console 0.14.1",
"lazy_static",
"tempfile",
"zeroize",
]
[[package]]
name = "diff"
2023-01-13 01:53:28 +00:00
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
[[package]]
name = "digest"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
dependencies = [
"generic-array 0.12.4",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "digest"
version = "0.9.0"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
2020-05-31 17:53:07 +00:00
dependencies = [
"generic-array 0.14.6",
2020-05-31 17:53:07 +00:00
]
[[package]]
name = "digest"
2023-01-13 01:53:28 +00:00
version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"
dependencies = [
2023-01-13 01:53:28 +00:00
"block-buffer 0.10.3",
"crypto-common",
"subtle",
]
[[package]]
name = "dirs-next"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
dependencies = [
"cfg-if 1.0.0",
"dirs-sys-next",
]
[[package]]
name = "dirs-sys-next"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
dependencies = [
"libc",
"redox_users",
"winapi",
]
[[package]]
name = "dunce"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c"
[[package]]
name = "ecdsa"
2023-01-13 01:53:28 +00:00
version = "0.14.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c"
dependencies = [
2022-07-06 21:11:23 +00:00
"der",
"elliptic-curve",
"rfc6979",
"signature",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "ed25519"
2023-01-13 01:53:28 +00:00
version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369"
dependencies = [
"signature",
]
[[package]]
name = "ed25519-dalek"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
dependencies = [
"curve25519-dalek",
"ed25519",
"rand 0.7.3",
"serde",
"sha2 0.9.9",
"zeroize",
]
[[package]]
name = "either"
2023-01-13 01:53:28 +00:00
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
[[package]]
name = "elliptic-curve"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3"
dependencies = [
"base16ct",
"crypto-bigint",
2022-07-06 21:11:23 +00:00
"der",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"ff",
"generic-array 0.14.6",
"group",
2022-07-06 21:11:23 +00:00
"pkcs8",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"sec1",
"subtle",
"zeroize",
]
[[package]]
name = "ena"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
dependencies = [
"log",
]
[[package]]
name = "encode_unicode"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
2020-05-26 09:52:15 +00:00
[[package]]
name = "encoding_rs"
2023-01-13 01:53:28 +00:00
version = "0.8.31"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
2020-05-26 09:52:15 +00:00
dependencies = [
"cfg-if 1.0.0",
2020-05-26 09:52:15 +00:00
]
feat(providers): add a subset of admin namespace (#1880) * tell Geth to expose the admin namespace * wip: add admin namespace support * add networking and peer related structs * add rest of chain config fields * add datadir to geth * fix data dir ref * add dev flag to geth * set dev only if block_time is not set * put mutually exclusive options in an enum * make block_time use the devmode enum * add p2p port to geth * add basic impls for admin endpoints * move from_int_or_hex to ethers-core utils * fix nodeinfo protocol field * the type is better represented by a struct which can have either eth or snap * add chain id and discovery toggle for Geth * remove PeerEvent * should re-add when peer event endpoints are implemented * simplify serde options for admin responses * change signature for peer modification apis * these admin apis accept an enode, which _may_ be an enr, but could also be a legacy enode "v4" url. * add note on where `ChainConfig` fields come from * add note on PeerInfo about the source of fields * add admin namespace support to CHANGELOG * update pr number in changelog * cargo fmt * move chainconfig to genesis in utils * accept genesis file in geth * add genesis writing to geth spawn * finally get geth nodes to connect * import io::Read in provider tests * fix PeerInfo and use enode id for provider test * make clippy happy * improve documentation for genesis module * remove not(wasm) attributes on genesis module * remove debugging printlns * remove io::Read from provider tests * add failing post merge test case * add full mainnet nodeinfo for testing * support deserializing json bignums to U256 * the serde_json arbitrary_precision feature is necessary so the serde_json::Number variant of `IntOrHexOrBigNum` can be converted into a string and fed into U256::from_dec_string * fix from_int_or_hex_opt doc string * remove third variant from IntOrHex * unnecessary since serde_json::Number handles smaller ints as well * add comments for ids * fix enode id type in admin_peers provider test * fix admin typo in Cargo.toml Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> * add method to wait on a gethinstance adding a peer * fix dial loop and wait_to_add_peer doc comments * update geth * the build can be updated by changing the GETH_BUILD env var * wait for geth to exit on drop * remove unnecessary wait * fix mid-handshake PeerInfo deserialization * remove println * make tests less flaky * handle discovery with the rest of the non dev opts * dump geth stderr to debug failing ci test * add method which dumps the unread stderr of the geth instance into a string * remove call_raw debug println * bug is due to authrpc endpoint being in use * use unused port when authrpc port is not specified * remove dump_stderr from GethInstance * did not work properly anyways Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-11-30 21:22:44 +00:00
[[package]]
name = "enr"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "492a7e5fc2504d5fdce8e124d3e263b244a68b283cac67a69eda0cd43e0aebad"
dependencies = [
"base64 0.13.1",
"bs58",
"bytes",
"hex",
"k256",
"log",
"rand 0.8.5",
"rlp",
"serde",
"sha3",
"zeroize",
]
[[package]]
name = "env_logger"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
dependencies = [
"humantime",
"is-terminal",
"log",
"regex",
"termcolor",
]
[[package]]
name = "errno"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
dependencies = [
"errno-dragonfly",
"libc",
"winapi",
]
[[package]]
name = "errno-dragonfly"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "eth-keystore"
2022-08-30 16:45:52 +00:00
version = "0.5.0"
2021-01-13 17:37:03 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-08-30 16:45:52 +00:00
checksum = "1fda3bf123be441da5260717e0661c25a2fd9cb2b2c1d20bf2e05580047158ab"
dependencies = [
2023-01-13 01:53:28 +00:00
"aes 0.8.2",
2022-08-30 16:45:52 +00:00
"ctr",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"hex",
2022-06-25 15:13:52 +00:00
"hmac 0.12.1",
2023-01-13 01:53:28 +00:00
"pbkdf2",
"rand 0.8.5",
"scrypt",
"serde",
"serde_json",
"sha2 0.10.6",
2022-07-06 21:11:23 +00:00
"sha3",
"thiserror",
2022-07-06 21:11:23 +00:00
"uuid 0.8.2",
]
2020-05-26 10:37:17 +00:00
[[package]]
name = "ethabi"
version = "18.0.0"
2022-03-02 10:29:58 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7413c5f74cc903ea37386a8965a936cbeb334bd270862fdece542c1b2dcbc898"
2020-05-26 10:37:17 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"ethereum-types",
"hex",
"once_cell",
"regex",
2020-05-31 16:01:34 +00:00
"serde",
"serde_json",
2022-07-06 21:11:23 +00:00
"sha3",
"thiserror",
2020-05-31 16:01:34 +00:00
"uint",
2020-05-26 10:37:17 +00:00
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "ethbloom"
version = "0.13.0"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c22d4b5885b6aa2fe5e8b9329fb8d232bf739e434e6b87347c63bdd00c120f60"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"crunchy",
"fixed-hash",
"impl-codec",
2020-05-31 16:01:34 +00:00
"impl-rlp",
"impl-serde",
"scale-info",
"tiny-keccak",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "ethereum-types"
2023-01-13 01:53:28 +00:00
version = "0.14.1"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "02d215cbf040552efcbe99a38372fe80ab9d00268e20012b79fcd0f073edd8ee"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"ethbloom",
"fixed-hash",
"impl-codec",
2020-05-31 16:01:34 +00:00
"impl-rlp",
"impl-serde",
"primitive-types",
"scale-info",
2020-05-31 16:01:34 +00:00
"uint",
2020-05-24 16:33:24 +00:00
]
2020-05-26 11:00:56 +00:00
[[package]]
name = "ethers"
2022-11-27 20:27:58 +00:00
version = "1.0.2"
2020-05-26 11:00:56 +00:00
dependencies = [
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"bytes",
"ethers-addressbook",
2020-05-31 16:01:34 +00:00
"ethers-contract",
"ethers-core",
"ethers-etherscan",
"ethers-middleware",
2020-05-31 16:01:34 +00:00
"ethers-providers",
"ethers-signers",
"ethers-solc",
"eyre",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"hex",
"rand 0.8.5",
2020-05-31 16:01:34 +00:00
"serde",
"serde_json",
"tempfile",
2020-05-31 16:01:34 +00:00
"tokio",
2020-05-26 11:00:56 +00:00
]
[[package]]
name = "ethers-addressbook"
2022-11-27 20:27:55 +00:00
version = "1.0.2"
dependencies = [
"ethers-core",
"once_cell",
"serde",
"serde_json",
]
2020-05-26 10:44:35 +00:00
[[package]]
name = "ethers-contract"
2022-11-27 20:27:57 +00:00
version = "1.0.2"
2020-05-26 10:44:35 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"ethers-contract-abigen",
"ethers-contract-derive",
"ethers-core",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"ethers-derive-eip712",
2020-05-31 16:01:34 +00:00
"ethers-providers",
"ethers-signers",
"ethers-solc",
"futures-util",
"hex",
2020-05-31 16:01:34 +00:00
"once_cell",
"pin-project",
2020-05-31 16:01:34 +00:00
"serde",
2020-06-10 18:20:47 +00:00
"serde_json",
2020-05-31 16:01:34 +00:00
"thiserror",
"tokio",
2020-05-26 18:57:59 +00:00
]
[[package]]
name = "ethers-contract-abigen"
2022-11-27 20:27:56 +00:00
version = "1.0.2"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"Inflector",
"cfg-if 1.0.0",
"dunce",
2020-05-31 16:01:34 +00:00
"ethers-core",
"ethers-etherscan",
"ethers-solc",
"eyre",
"getrandom 0.2.8",
"hex",
2023-01-09 05:17:22 +00:00
"prettyplease",
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"regex",
2021-05-01 18:26:37 +00:00
"reqwest",
"serde",
2020-05-31 16:01:34 +00:00
"serde_json",
"syn",
"tempfile",
"tokio",
"toml",
2020-05-31 16:01:34 +00:00
"url",
"walkdir",
2020-05-26 18:57:59 +00:00
]
[[package]]
name = "ethers-contract-derive"
2022-11-27 20:27:56 +00:00
version = "1.0.2"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"ethers-contract-abigen",
"ethers-core",
"hex",
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"serde_json",
"syn",
2020-05-26 10:44:35 +00:00
]
2020-05-26 09:52:15 +00:00
[[package]]
2020-05-31 16:01:34 +00:00
name = "ethers-core"
2022-11-27 20:27:55 +00:00
version = "1.0.2"
2020-05-26 09:52:15 +00:00
dependencies = [
"arrayvec 0.7.2",
"bincode",
"bytes",
"cargo_metadata",
"chrono",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"convert_case",
"elliptic-curve",
"ethabi",
"generic-array 0.14.6",
"getrandom 0.2.8",
"hex",
"hex-literal",
"k256",
"num_enum",
"once_cell",
"open-fastrlp",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"proc-macro2",
"rand 0.8.5",
2020-05-31 16:01:34 +00:00
"rlp",
"rlp-derive",
2020-05-31 16:01:34 +00:00
"serde",
"serde_json",
"strum",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"syn",
"tempfile",
2020-05-31 16:01:34 +00:00
"thiserror",
"tiny-keccak",
"unicode-xid",
2020-05-26 09:52:15 +00:00
]
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
[[package]]
name = "ethers-derive-eip712"
2022-11-27 20:27:56 +00:00
version = "1.0.2"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
dependencies = [
"ethers-contract-derive",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"ethers-core",
"hex",
"quote",
"serde_json",
"syn",
]
[[package]]
name = "ethers-etherscan"
2022-11-27 20:27:57 +00:00
version = "1.0.2"
dependencies = [
"ethers-core",
"ethers-solc",
"getrandom 0.2.8",
"reqwest",
"semver",
"serde",
"serde-aux",
"serde_json",
"serial_test",
"tempfile",
"thiserror",
"tokio",
"tracing",
"tracing-subscriber",
]
[[package]]
name = "ethers-middleware"
2022-11-27 20:27:58 +00:00
version = "1.0.2"
dependencies = [
"async-trait",
"auto_impl 0.5.0",
"ethers-contract",
"ethers-core",
"ethers-etherscan",
"ethers-providers",
"ethers-signers",
"ethers-solc",
"futures-locks",
"futures-util",
"hex",
"instant",
"once_cell",
"rand 0.8.5",
"reqwest",
"serde",
"serde_json",
"serial_test",
"thiserror",
"tokio",
"tracing",
"tracing-futures",
"url",
]
2020-05-26 10:24:19 +00:00
[[package]]
2020-05-31 16:01:34 +00:00
name = "ethers-providers"
2022-11-27 20:27:56 +00:00
version = "1.0.2"
2020-05-26 10:24:19 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"async-trait",
"auto_impl 1.0.1",
"base64 0.21.0",
"bytes",
feat(providers): add a subset of admin namespace (#1880) * tell Geth to expose the admin namespace * wip: add admin namespace support * add networking and peer related structs * add rest of chain config fields * add datadir to geth * fix data dir ref * add dev flag to geth * set dev only if block_time is not set * put mutually exclusive options in an enum * make block_time use the devmode enum * add p2p port to geth * add basic impls for admin endpoints * move from_int_or_hex to ethers-core utils * fix nodeinfo protocol field * the type is better represented by a struct which can have either eth or snap * add chain id and discovery toggle for Geth * remove PeerEvent * should re-add when peer event endpoints are implemented * simplify serde options for admin responses * change signature for peer modification apis * these admin apis accept an enode, which _may_ be an enr, but could also be a legacy enode "v4" url. * add note on where `ChainConfig` fields come from * add note on PeerInfo about the source of fields * add admin namespace support to CHANGELOG * update pr number in changelog * cargo fmt * move chainconfig to genesis in utils * accept genesis file in geth * add genesis writing to geth spawn * finally get geth nodes to connect * import io::Read in provider tests * fix PeerInfo and use enode id for provider test * make clippy happy * improve documentation for genesis module * remove not(wasm) attributes on genesis module * remove debugging printlns * remove io::Read from provider tests * add failing post merge test case * add full mainnet nodeinfo for testing * support deserializing json bignums to U256 * the serde_json arbitrary_precision feature is necessary so the serde_json::Number variant of `IntOrHexOrBigNum` can be converted into a string and fed into U256::from_dec_string * fix from_int_or_hex_opt doc string * remove third variant from IntOrHex * unnecessary since serde_json::Number handles smaller ints as well * add comments for ids * fix enode id type in admin_peers provider test * fix admin typo in Cargo.toml Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> * add method to wait on a gethinstance adding a peer * fix dial loop and wait_to_add_peer doc comments * update geth * the build can be updated by changing the GETH_BUILD env var * wait for geth to exit on drop * remove unnecessary wait * fix mid-handshake PeerInfo deserialization * remove println * make tests less flaky * handle discovery with the rest of the non dev opts * dump geth stderr to debug failing ci test * add method which dumps the unread stderr of the geth instance into a string * remove call_raw debug println * bug is due to authrpc endpoint being in use * use unused port when authrpc port is not specified * remove dump_stderr from GethInstance * did not work properly anyways Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-11-30 21:22:44 +00:00
"enr",
2020-05-31 16:01:34 +00:00
"ethers-core",
"futures-channel",
"futures-core",
"futures-timer",
"futures-util",
"getrandom 0.2.8",
"hashers",
"hex",
"http",
"once_cell",
"parking_lot 0.11.2",
"pin-project",
2020-05-31 16:01:34 +00:00
"reqwest",
"serde",
"serde_json",
"tempfile",
2020-05-31 16:01:34 +00:00
"thiserror",
"tokio",
"tokio-tungstenite",
"tracing",
"tracing-futures",
2020-05-31 16:01:34 +00:00
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-timer",
"web-sys",
"winapi",
"ws_stream_wasm",
2020-05-26 10:24:19 +00:00
]
2020-05-24 16:33:24 +00:00
[[package]]
2020-05-31 16:01:34 +00:00
name = "ethers-signers"
2022-11-27 20:27:57 +00:00
version = "1.0.2"
2020-05-24 16:33:24 +00:00
dependencies = [
"async-trait",
"coins-bip32",
"coins-bip39",
"coins-ledger",
"elliptic-curve",
"eth-keystore",
"ethers-contract-derive",
2020-05-31 16:01:34 +00:00
"ethers-core",
"ethers-derive-eip712",
"futures-executor",
"futures-util",
"hex",
"home",
"rand 0.8.5",
"rusoto_core",
"rusoto_kms",
"semver",
"serde_json",
"sha2 0.10.6",
2022-07-06 21:11:23 +00:00
"spki",
"tempfile",
2020-06-01 22:27:23 +00:00
"thiserror",
"tokio",
"tracing",
"tracing-subscriber",
"trezor-client",
"yubihsm",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "ethers-solc"
2022-11-27 20:27:57 +00:00
version = "1.0.2"
dependencies = [
"cfg-if 1.0.0",
"criterion",
"dunce",
"env_logger",
"ethers-core",
"fs_extra",
"futures-util",
"getrandom 0.2.8",
"glob",
"hex",
"home",
"md-5 0.10.5",
"num_cpus",
"once_cell",
"path-slash",
"pretty_assertions",
"rand 0.8.5",
"rayon",
"regex",
"semver",
"serde",
"serde_json",
"serde_path_to_error",
"sha2 0.10.6",
"solang-parser",
"svm-rs",
"svm-rs-builds",
"tempfile",
"thiserror",
"tiny-keccak",
"tokio",
"tracing",
"tracing-subscriber",
"walkdir",
"yansi",
]
[[package]]
name = "ethers-wasm"
version = "0.1.0"
dependencies = [
"console_error_panic_hook",
"ethers",
"hex",
"serde",
"serde-wasm-bindgen",
"serde_json",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-bindgen-test",
"web-sys",
"wee_alloc",
]
refactor: examples (#1940) * ToC * Big numbers section * Middleware examples: builder * Middleware examples: gas_escalator * Middleware examples: gas_oracle * Middleware examples: signer * Middleware examples: missing stubs * review: applied DaniPopes suggestions to big numbers * typo * Middleware examples: nonce_manager * cargo +nightly fmt * update roadmap * Middleware examples: policy * Middleware examples: added docs * Contracts examples: created folder; included abigen example * Contracts examples: refactor abigen docs. Fixed cargo example reference * Contracts examples: contract_events; minor docs changes * Moved each example under its own crate. Cargo builds locally TODO: Fix broken examples CI * Big numbers examples: used regular operators for math * Single examples run correctly (missing overall CI execution) Example crates dependencies Removed duplicates * review: Applied gakonst note to remove commented items in workspace manifest * review: Applied gakonst note to restore visibility on contract constructor * ci: - Run/Build examples in a single step to avoid duplicated scripts - Removed ci.yaml step "Build all examples" * cargo +nightly fmt * ci: fix WASM step error * Removed deprecated EthGasStation example * WASM example uses local copy of `contract_abi.json`. In this way we keep the WASM example auto-consistent, at the cost of a small duplication * Cargo.lock aligned to master branch * Removed useless comments in examples * review: Applied gakonst note to add panic!() on the policy middleware example * review: Applied gakonst suggestion to add a custom middleware example * typos in docs * Update examples/big-numbers/examples/bn_math_operations.rs review: Accepted commit suggested by DaniPopes Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * review: Applied DaniPopes suggestion on assert_eq! * Update examples/big-numbers/README.md review: Accepted DaniPopes suggestion on big-numbers docs Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * review: All imports now reference the "ethers" crate * ci: added features ["ws", "rustls"] where needed cargo +nigthly fmt * Examples with special features (e.g. ipc, trezor etc.) are built alongside them. This is expressed as a "default" requirement in their respective Cargo.toml * cargo +nightly fmt * Examples: Gas oracle API keys from env Added missing features in middleware Cargo.toml * typo: use expect() instead of unwrap() * Updated ToC Moved 2 examples under more relevant folders * Gas oracle examples raise panic on middleware errors * review: removed useless [[example]] in Cargo.toml * review: removed #[allow(unused_must_use)] from gas_escalator example * review: Removed prefixes from file names * review: removed useless [[example]] in Cargo.toml * docs: Updated description to run examples in the workspace README.md Co-authored-by: Andrea Simeoni <> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2022-12-29 12:53:11 +00:00
[[package]]
name = "examples-anvil"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"tokio",
]
[[package]]
name = "examples-big-numbers"
version = "1.0.2"
dependencies = [
"ethers",
]
[[package]]
name = "examples-contracts"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-events"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-middleware"
version = "1.0.2"
dependencies = [
"async-trait",
"ethers",
"eyre",
"serde_json",
"thiserror",
"tokio",
]
[[package]]
name = "examples-providers"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"reqwest",
refactor: examples (#1940) * ToC * Big numbers section * Middleware examples: builder * Middleware examples: gas_escalator * Middleware examples: gas_oracle * Middleware examples: signer * Middleware examples: missing stubs * review: applied DaniPopes suggestions to big numbers * typo * Middleware examples: nonce_manager * cargo +nightly fmt * update roadmap * Middleware examples: policy * Middleware examples: added docs * Contracts examples: created folder; included abigen example * Contracts examples: refactor abigen docs. Fixed cargo example reference * Contracts examples: contract_events; minor docs changes * Moved each example under its own crate. Cargo builds locally TODO: Fix broken examples CI * Big numbers examples: used regular operators for math * Single examples run correctly (missing overall CI execution) Example crates dependencies Removed duplicates * review: Applied gakonst note to remove commented items in workspace manifest * review: Applied gakonst note to restore visibility on contract constructor * ci: - Run/Build examples in a single step to avoid duplicated scripts - Removed ci.yaml step "Build all examples" * cargo +nightly fmt * ci: fix WASM step error * Removed deprecated EthGasStation example * WASM example uses local copy of `contract_abi.json`. In this way we keep the WASM example auto-consistent, at the cost of a small duplication * Cargo.lock aligned to master branch * Removed useless comments in examples * review: Applied gakonst note to add panic!() on the policy middleware example * review: Applied gakonst suggestion to add a custom middleware example * typos in docs * Update examples/big-numbers/examples/bn_math_operations.rs review: Accepted commit suggested by DaniPopes Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * review: Applied DaniPopes suggestion on assert_eq! * Update examples/big-numbers/README.md review: Accepted DaniPopes suggestion on big-numbers docs Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com> * review: All imports now reference the "ethers" crate * ci: added features ["ws", "rustls"] where needed cargo +nigthly fmt * Examples with special features (e.g. ipc, trezor etc.) are built alongside them. This is expressed as a "default" requirement in their respective Cargo.toml * cargo +nightly fmt * Examples: Gas oracle API keys from env Added missing features in middleware Cargo.toml * typo: use expect() instead of unwrap() * Updated ToC Moved 2 examples under more relevant folders * Gas oracle examples raise panic on middleware errors * review: removed useless [[example]] in Cargo.toml * review: removed #[allow(unused_must_use)] from gas_escalator example * review: Removed prefixes from file names * review: removed useless [[example]] in Cargo.toml * docs: Updated description to run examples in the workspace README.md Co-authored-by: Andrea Simeoni <> Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2022-12-29 12:53:11 +00:00
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-queries"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-subscriptions"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-transactions"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "examples-wallets"
version = "1.0.2"
dependencies = [
"ethers",
"eyre",
"serde",
"serde_json",
"tokio",
]
[[package]]
name = "eyre"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb"
dependencies = [
"indenter",
"once_cell",
]
[[package]]
name = "fake-simd"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
[[package]]
name = "fastrand"
2023-01-13 01:53:28 +00:00
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499"
dependencies = [
"instant",
]
[[package]]
name = "ff"
2023-01-13 01:53:28 +00:00
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160"
dependencies = [
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"subtle",
]
[[package]]
name = "fixed-hash"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"byteorder",
"rand 0.8.5",
2020-05-31 16:01:34 +00:00
"rustc-hex",
"static_assertions",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "fixedbitset"
2023-01-13 01:53:28 +00:00
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
2022-06-25 15:13:52 +00:00
[[package]]
name = "flate2"
2023-01-13 01:53:28 +00:00
version = "1.0.25"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
2022-06-25 15:13:52 +00:00
dependencies = [
"crc32fast",
"miniz_oxide",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "fnv"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
2020-05-26 09:52:15 +00:00
[[package]]
name = "foreign-types"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
"foreign-types-shared",
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "form_urlencoded"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
dependencies = [
"percent-encoding",
]
[[package]]
name = "fs2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "fs_extra"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
[[package]]
name = "funty"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
[[package]]
name = "futures"
2023-01-13 01:53:28 +00:00
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "38390104763dc37a5145a53c29c63c1290b5d316d6086ec32c293f6736051bb0"
dependencies = [
"futures-channel",
"futures-core",
"futures-executor",
"futures-io",
"futures-sink",
"futures-task",
"futures-util",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-channel"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52ba265a92256105f45b719605a571ffe2d1f0fea3807304b522c1d778f79eed"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"futures-core",
"futures-sink",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "futures-core"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04909a7a7e4633ae6c4a9ab280aeb86da1236243a77b694a49eacd659a4bd3ac"
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-executor"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7acc85df6714c176ab5edf386123fafe217be88c0840ec11f199441134a074e2"
dependencies = [
"futures-core",
"futures-task",
"futures-util",
]
[[package]]
name = "futures-io"
version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00f5fb52a06bdcadeb54e8d3671f8888a39697dcb0b81b23b55174030427f4eb"
[[package]]
name = "futures-locks"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45ec6fe3675af967e67c5536c0b9d44e34e6c52f86bedc4ea49c5317b8e94d06"
dependencies = [
"futures-channel",
"futures-task",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-macro"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdfb8ce053d86b91919aad980c220b1fb8401a9394410e1c289ed7e66b61835d"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "futures-sink"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39c15cf1a4aa79df40f1bb462fb39676d0ad9e366c2a33b590d7c66f4f81fcf9"
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-task"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ffb393ac5d9a6eaa9d3fdf37ae2776656b706e200c8e16b1bdb227f5198e6ea"
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-timer"
version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"
2020-05-26 09:52:15 +00:00
[[package]]
name = "futures-util"
version = "0.3.25"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "197676987abd2f9cadff84926f410af1c183608d36641465df73ae8211dc65d6"
2020-05-26 09:52:15 +00:00
dependencies = [
"futures-channel",
2020-05-31 16:01:34 +00:00
"futures-core",
"futures-io",
2020-05-31 16:01:34 +00:00
"futures-macro",
"futures-sink",
2020-05-31 16:01:34 +00:00
"futures-task",
"memchr",
"pin-project-lite",
2020-05-31 16:01:34 +00:00
"pin-utils",
"slab",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
"byteorder",
]
[[package]]
name = "generic-array"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
dependencies = [
"typenum",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "generic-array"
version = "0.14.6"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9"
2020-05-31 17:53:07 +00:00
dependencies = [
"typenum",
"version_check",
2020-05-31 17:53:07 +00:00
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "getrandom"
version = "0.1.16"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
2020-05-24 16:33:24 +00:00
dependencies = [
"cfg-if 1.0.0",
2020-05-31 16:01:34 +00:00
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "getrandom"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"libc",
"wasi 0.11.0+wasi-snapshot-preview1",
"wasm-bindgen",
]
[[package]]
name = "glob"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
[[package]]
name = "group"
2023-01-13 01:53:28 +00:00
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7"
dependencies = [
"ff",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"subtle",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "h2"
2023-01-13 01:53:28 +00:00
version = "0.3.15"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5f9f29bc9dda355256b2916cf526ab02ce0aeaaaf2bad60d65ef3f12f11dd0f4"
2020-05-26 09:52:15 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"fnv",
"futures-core",
"futures-sink",
"futures-util",
"http",
"indexmap",
"slab",
"tokio",
"tokio-util",
"tracing",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "half"
version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
[[package]]
name = "hashbrown"
2023-01-13 01:53:28 +00:00
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
name = "hashers"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2bca93b15ea5a746f220e56587f71e73c6165eab783df9e26590069953e3c30"
dependencies = [
"fxhash",
]
[[package]]
name = "heck"
2022-01-28 07:07:48 +00:00
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-01-28 07:07:48 +00:00
checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
[[package]]
name = "hermit-abi"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
dependencies = [
"libc",
]
[[package]]
name = "hex"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
[[package]]
name = "hex-literal"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0"
[[package]]
name = "hidapi-rusb"
2022-06-22 17:10:25 +00:00
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-06-22 17:10:25 +00:00
checksum = "ee9fc48be9eab25c28b413742b38b57b85c10b5efd2d47ef013f82335cbecc8e"
dependencies = [
"cc",
"libc",
"pkg-config",
"rusb",
]
[[package]]
name = "hmac"
version = "0.11.0"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b"
2020-05-31 17:53:07 +00:00
dependencies = [
2022-07-06 21:11:23 +00:00
"crypto-mac",
"digest 0.9.0",
2020-05-31 17:53:07 +00:00
]
[[package]]
name = "hmac"
2022-06-25 15:13:52 +00:00
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-06-25 15:13:52 +00:00
checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
]
[[package]]
name = "home"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "747309b4b440c06d57b0b25f2aee03ee9b5e5397d288c60e21fc709bb98a7408"
dependencies = [
"winapi",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "http"
version = "0.2.8"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399"
2020-05-26 09:52:15 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"fnv",
"itoa",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "http-body"
2023-01-13 01:53:28 +00:00
version = "0.4.5"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
2020-05-26 09:52:15 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"http",
"pin-project-lite",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "httparse"
2023-01-13 01:53:28 +00:00
version = "1.8.0"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904"
2020-05-26 09:52:15 +00:00
[[package]]
name = "httpdate"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421"
[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
2020-05-26 09:52:15 +00:00
[[package]]
name = "hyper"
2023-01-13 01:53:28 +00:00
version = "0.14.23"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "034711faac9d2166cb1baf1a2fb0b60b1f277f8492fd72176c17f3515e1abd3c"
2020-05-26 09:52:15 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"futures-channel",
"futures-core",
"futures-util",
"h2",
"http",
"http-body",
"httparse",
"httpdate",
"itoa",
"pin-project-lite",
2021-05-01 18:26:37 +00:00
"socket2",
2020-05-31 16:01:34 +00:00
"tokio",
"tower-service",
"tracing",
2020-05-31 16:01:34 +00:00
"want",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "hyper-rustls"
2023-01-13 01:53:28 +00:00
version = "0.23.2"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c"
2020-05-26 09:52:15 +00:00
dependencies = [
"http",
2020-05-31 16:01:34 +00:00
"hyper",
2023-01-06 11:08:26 +00:00
"log",
"rustls",
2023-01-06 11:08:26 +00:00
"rustls-native-certs",
2020-05-31 16:01:34 +00:00
"tokio",
"tokio-rustls",
2020-05-26 09:52:15 +00:00
]
2021-05-01 18:26:37 +00:00
[[package]]
name = "hyper-tls"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905"
dependencies = [
"bytes",
"hyper",
"native-tls",
"tokio",
"tokio-native-tls",
]
[[package]]
name = "iana-time-zone"
version = "0.1.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
"wasm-bindgen",
"winapi",
]
[[package]]
name = "iana-time-zone-haiku"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca"
dependencies = [
"cxx",
"cxx-build",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "idna"
version = "0.3.0"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"unicode-bidi",
"unicode-normalization",
2020-05-26 09:52:15 +00:00
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "impl-codec"
version = "0.6.0"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"parity-scale-codec",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "impl-rlp"
version = "0.3.0"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"rlp",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "impl-serde"
version = "0.4.0"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"serde",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "impl-trait-for-tuples"
2023-01-13 01:53:28 +00:00
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "indenter"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce23b50ad8242c51a442f3ff322d56b02f08852c77e4c0b4d3fd684abc89c683"
2020-05-26 09:52:15 +00:00
[[package]]
name = "indexmap"
2023-01-13 01:53:28 +00:00
version = "1.9.2"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 17:53:07 +00:00
"autocfg",
"hashbrown",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "indicatif"
version = "0.16.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d207dc617c7a380ab07ff572a6e52fa202a2a8f355860ac9c38e23f8196be1b"
dependencies = [
2023-01-13 01:53:28 +00:00
"console 0.15.4",
"lazy_static",
"number_prefix",
"regex",
]
[[package]]
name = "inout"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5"
dependencies = [
"block-padding 0.3.2",
"generic-array 0.14.6",
]
[[package]]
name = "instant"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "io-lifetimes"
2023-01-13 01:53:28 +00:00
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "e7d6c6f8c91b4b9ed43484ad1a938e393caf35960fce7f82a040497207bd8e9e"
dependencies = [
"libc",
2023-01-13 01:53:28 +00:00
"windows-sys",
]
[[package]]
name = "ipnet"
2023-01-13 01:53:28 +00:00
version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "30e22bd8629359895450b59ea7a776c850561b96a3b1d31321c1949d9e6c9146"
[[package]]
name = "is-terminal"
2023-01-13 01:53:28 +00:00
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189"
dependencies = [
"hermit-abi 0.2.6",
"io-lifetimes",
"rustix",
2023-01-13 01:53:28 +00:00
"windows-sys",
]
[[package]]
name = "itertools"
2023-01-13 01:53:28 +00:00
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
dependencies = [
"either",
]
[[package]]
name = "itoa"
2023-01-13 01:53:28 +00:00
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
2022-06-25 15:13:52 +00:00
[[package]]
name = "jobserver"
2023-01-13 01:53:28 +00:00
version = "0.1.25"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b"
2022-06-25 15:13:52 +00:00
dependencies = [
"libc",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "js-sys"
version = "0.3.60"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"wasm-bindgen",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "k256"
version = "0.11.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b"
dependencies = [
"cfg-if 1.0.0",
"ecdsa",
"elliptic-curve",
"sha2 0.10.6",
2022-07-06 21:11:23 +00:00
"sha3",
]
[[package]]
name = "keccak"
2023-01-13 01:53:28 +00:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768"
dependencies = [
"cpufeatures",
]
[[package]]
name = "lalrpop"
2023-01-13 01:53:28 +00:00
version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b30455341b0e18f276fa64540aff54deafb54c589de6aca68659c63dd2d5d823"
dependencies = [
"ascii-canvas",
"atty",
"bit-set",
"diff",
"ena",
"itertools",
"lalrpop-util",
"petgraph",
"pico-args",
"regex",
"regex-syntax",
"string_cache",
"term",
"tiny-keccak",
"unicode-xid",
]
[[package]]
name = "lalrpop-util"
2023-01-13 01:53:28 +00:00
version = "0.19.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bcf796c978e9b4d983414f4caedc9273aa33ee214c5b887bd55fde84c85d2dc4"
dependencies = [
"regex",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
2020-05-26 09:52:15 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "libc"
2023-01-13 01:53:28 +00:00
version = "0.2.139"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
[[package]]
name = "libusb1-sys"
2023-01-13 01:53:28 +00:00
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "f9d0e2afce4245f2c9a418511e5af8718bcaf2fa408aefb259504d1a9cb25f27"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "link-cplusplus"
2023-01-13 01:53:28 +00:00
version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5"
dependencies = [
"cc",
]
[[package]]
name = "linux-raw-sys"
2023-01-13 01:53:28 +00:00
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
[[package]]
name = "lock_api"
2023-01-13 01:53:28 +00:00
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
dependencies = [
2023-01-13 01:53:28 +00:00
"autocfg",
"scopeguard",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "log"
2023-01-13 01:53:28 +00:00
version = "0.4.17"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
2020-05-26 09:52:15 +00:00
dependencies = [
"cfg-if 1.0.0",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "matchers"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
dependencies = [
"regex-automata",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "matches"
version = "0.1.9"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f"
2020-05-26 09:52:15 +00:00
[[package]]
name = "md-5"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b5a279bb9607f9f53c22d496eade00d138d1bdcccd07d74650387cf94942a15"
dependencies = [
"block-buffer 0.9.0",
"digest 0.9.0",
"opaque-debug 0.3.0",
]
[[package]]
name = "md-5"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "memchr"
2023-01-13 01:53:28 +00:00
version = "2.5.0"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
2020-05-26 09:52:15 +00:00
[[package]]
name = "memoffset"
2023-01-13 01:53:28 +00:00
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
dependencies = [
"autocfg",
]
[[package]]
name = "memory_units"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3"
2020-05-26 09:52:15 +00:00
[[package]]
name = "mime"
version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d"
2020-05-26 09:52:15 +00:00
2022-06-25 15:13:52 +00:00
[[package]]
name = "miniz_oxide"
2023-01-13 01:53:28 +00:00
version = "0.6.2"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
2022-06-25 15:13:52 +00:00
dependencies = [
"adler",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "mio"
2023-01-13 01:53:28 +00:00
version = "0.8.5"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"libc",
"log",
"wasi 0.11.0+wasi-snapshot-preview1",
2023-01-13 01:53:28 +00:00
"windows-sys",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "native-tls"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e"
dependencies = [
"lazy_static",
"libc",
"log",
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework",
"security-framework-sys",
"tempfile",
]
[[package]]
name = "new_debug_unreachable"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
[[package]]
name = "nix"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dbdc256eaac2e3bd236d93ad999d3479ef775c863dbda3068c4006a92eec51b"
dependencies = [
"bitflags",
"cc",
"cfg-if 0.1.10",
"libc",
"void",
]
[[package]]
name = "nu-ansi-term"
version = "0.46.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
dependencies = [
"overload",
"winapi",
]
[[package]]
name = "num-integer"
2023-01-13 01:53:28 +00:00
version = "0.1.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
dependencies = [
"autocfg",
"num-traits",
]
[[package]]
name = "num-traits"
2023-01-13 01:53:28 +00:00
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
dependencies = [
"autocfg",
]
[[package]]
name = "num_cpus"
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
dependencies = [
"hermit-abi 0.2.6",
"libc",
]
[[package]]
name = "num_enum"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d829733185c1ca374f17e52b762f24f535ec625d2cc1f070e34c8a9068f341b"
dependencies = [
"num_enum_derive",
]
[[package]]
name = "num_enum_derive"
version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2be1598bf1c313dcdd12092e3f1920f463462525a21b7b4e11b4168353d0123e"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "number_prefix"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
2020-05-26 09:52:15 +00:00
[[package]]
name = "once_cell"
version = "1.17.0"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
2020-05-26 09:52:15 +00:00
[[package]]
name = "oorandom"
version = "11.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
[[package]]
name = "opaque-debug"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
2020-05-31 17:53:07 +00:00
[[package]]
name = "opaque-debug"
version = "0.3.0"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
2020-05-31 17:53:07 +00:00
[[package]]
name = "open-fastrlp"
2022-11-18 20:00:55 +00:00
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-11-18 20:00:55 +00:00
checksum = "786393f80485445794f6043fd3138854dd109cc6c4bd1a6383db304c9ce9b9ce"
dependencies = [
"arrayvec 0.7.2",
"auto_impl 1.0.1",
"bytes",
"ethereum-types",
"open-fastrlp-derive",
]
[[package]]
name = "open-fastrlp-derive"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "003b2be5c6c53c1cfeb0a238b8a1c3915cd410feb684457a36c10038f764bb1c"
dependencies = [
"bytes",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "openssl"
2023-01-13 01:53:28 +00:00
version = "0.10.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b102428fd03bc5edf97f62620f7298614c45cedf287c271e7ed450bbaf83f2e1"
dependencies = [
"bitflags",
"cfg-if 1.0.0",
"foreign-types",
"libc",
"once_cell",
2023-01-13 01:53:28 +00:00
"openssl-macros",
"openssl-sys",
]
2023-01-13 01:53:28 +00:00
[[package]]
name = "openssl-macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b501e44f11665960c7e7fcf062c7d96a14ade4aa98116c004b2e37b5be7d736c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "openssl-probe"
2022-01-28 07:07:48 +00:00
version = "0.1.5"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-01-28 07:07:48 +00:00
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
2020-05-26 09:52:15 +00:00
2020-05-26 18:57:59 +00:00
[[package]]
name = "openssl-sys"
2023-01-13 01:53:28 +00:00
version = "0.9.80"
2020-05-26 18:57:59 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "23bbbf7854cd45b83958ebe919f0e8e516793727652e27fda10a8384cfc790b7"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 17:53:07 +00:00
"autocfg",
2020-05-31 16:01:34 +00:00
"cc",
"libc",
"pkg-config",
"vcpkg",
2020-05-26 18:57:59 +00:00
]
2022-01-28 07:07:48 +00:00
[[package]]
name = "os_str_bytes"
2023-01-13 01:53:28 +00:00
version = "6.4.1"
2022-01-28 07:07:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"
2022-01-28 07:07:48 +00:00
[[package]]
name = "output_vt100"
2023-01-13 01:53:28 +00:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66"
dependencies = [
"winapi",
]
[[package]]
name = "overload"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
[[package]]
name = "p256"
2022-07-06 21:11:23 +00:00
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594"
dependencies = [
"ecdsa",
"elliptic-curve",
"sha2 0.10.6",
]
[[package]]
name = "p384"
2023-01-13 01:53:28 +00:00
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa"
dependencies = [
"ecdsa",
"elliptic-curve",
"sha2 0.10.6",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "parity-scale-codec"
2023-01-13 01:53:28 +00:00
version = "3.2.1"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "366e44391a8af4cfd6002ef6ba072bae071a96aafca98d7d448a34c5dca38b6a"
2020-05-24 16:33:24 +00:00
dependencies = [
"arrayvec 0.7.2",
2023-01-13 01:53:28 +00:00
"bitvec 1.0.1",
2020-05-31 16:01:34 +00:00
"byte-slice-cast",
"impl-trait-for-tuples",
"parity-scale-codec-derive",
2020-05-31 16:01:34 +00:00
"serde",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "parity-scale-codec-derive"
2023-01-13 01:53:28 +00:00
version = "3.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "parking_lot"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
2023-01-13 01:53:28 +00:00
"parking_lot_core 0.8.6",
]
[[package]]
name = "parking_lot"
2023-01-13 01:53:28 +00:00
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
2023-01-13 01:53:28 +00:00
"parking_lot_core 0.9.6",
]
[[package]]
name = "parking_lot_core"
2023-01-13 01:53:28 +00:00
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc"
dependencies = [
"cfg-if 1.0.0",
"instant",
"libc",
"redox_syscall",
"smallvec",
"winapi",
]
[[package]]
name = "parking_lot_core"
2023-01-13 01:53:28 +00:00
version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ba1ef8814b5c993410bb3adfad7a5ed269563e4a2f90c41f5d85be7fb47133bf"
dependencies = [
"cfg-if 1.0.0",
"libc",
"redox_syscall",
"smallvec",
2023-01-13 01:53:28 +00:00
"windows-sys",
]
[[package]]
name = "password-hash"
2022-07-06 21:11:23 +00:00
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
dependencies = [
"base64ct",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
"subtle",
]
[[package]]
name = "path-slash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42"
[[package]]
name = "pbkdf2"
2022-07-06 21:11:23 +00:00
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
2022-06-25 15:13:52 +00:00
"hmac 0.12.1",
2023-01-13 01:53:28 +00:00
"password-hash",
"sha2 0.10.6",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "percent-encoding"
version = "2.2.0"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
2020-05-26 09:52:15 +00:00
[[package]]
name = "petgraph"
2023-01-13 01:53:28 +00:00
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "e6d5014253a1331579ce62aa67443b4a658c5e7dd03d4bc6d302b94474888143"
dependencies = [
"fixedbitset",
"indexmap",
]
[[package]]
name = "pharos"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9567389417feee6ce15dd6527a8a1ecac205ef62c2932bcf3d9f6fc5b78b414"
dependencies = [
"futures",
"rustc_version",
]
[[package]]
name = "phf"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c"
dependencies = [
"phf_macros",
"phf_shared 0.11.1",
]
[[package]]
name = "phf_generator"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf"
dependencies = [
"phf_shared 0.11.1",
"rand 0.8.5",
]
[[package]]
name = "phf_macros"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92aacdc5f16768709a569e913f7451034034178b05bdc8acda226659a3dccc66"
dependencies = [
"phf_generator",
"phf_shared 0.11.1",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "phf_shared"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
dependencies = [
"siphasher",
]
[[package]]
name = "phf_shared"
version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676"
dependencies = [
"siphasher",
]
[[package]]
name = "pico-args"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db8bcd96cb740d03149cbad5518db9fd87126a10ab519c011893b1754134c468"
[[package]]
name = "pin-project"
2023-01-13 01:53:28 +00:00
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc"
dependencies = [
"pin-project-internal",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "pin-project-internal"
2023-01-13 01:53:28 +00:00
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "pin-project-lite"
version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
2020-05-26 09:52:15 +00:00
[[package]]
name = "pin-utils"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
2020-05-26 09:52:15 +00:00
[[package]]
name = "pkcs8"
2022-07-06 21:11:23 +00:00
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba"
dependencies = [
2022-07-06 21:11:23 +00:00
"der",
"spki",
]
2020-05-26 18:57:59 +00:00
[[package]]
name = "pkg-config"
2023-01-13 01:53:28 +00:00
version = "0.3.26"
2020-05-26 18:57:59 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160"
[[package]]
name = "plotters"
2023-01-13 01:53:28 +00:00
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97"
dependencies = [
"num-traits",
"plotters-backend",
"plotters-svg",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "plotters-backend"
2023-01-13 01:53:28 +00:00
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142"
[[package]]
name = "plotters-svg"
2023-01-13 01:53:28 +00:00
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f"
dependencies = [
"plotters-backend",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "ppv-lite86"
2023-01-13 01:53:28 +00:00
version = "0.2.17"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
2020-05-24 16:33:24 +00:00
[[package]]
name = "precomputed-hash"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
[[package]]
name = "pretty_assertions"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a25e9bcb20aa780fd0bb16b72403a9064d6b3f22f026946029acb941a50af755"
dependencies = [
"ctor",
"diff",
"output_vt100",
"yansi",
]
2023-01-09 05:17:22 +00:00
[[package]]
name = "prettyplease"
version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e97e3215779627f01ee256d2fad52f3d95e8e1c11e9fc6fd08f7cd455d5d5c78"
dependencies = [
"proc-macro2",
"syn",
]
[[package]]
name = "primitive-types"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f3486ccba82358b11a77516035647c34ba167dfa53312630de83b12bd4f3d66"
dependencies = [
"fixed-hash",
2020-05-31 16:01:34 +00:00
"impl-codec",
"impl-rlp",
"impl-serde",
"scale-info",
2020-05-31 16:01:34 +00:00
"uint",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "proc-macro-crate"
2023-01-13 01:53:28 +00:00
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9"
dependencies = [
2023-01-13 01:53:28 +00:00
"once_cell",
"thiserror",
"toml",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
"proc-macro-error-attr",
"proc-macro2",
"quote",
"syn",
"version_check",
]
[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
"proc-macro2",
"quote",
"version_check",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "proc-macro2"
version = "1.0.50"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2"
2020-05-24 16:33:24 +00:00
dependencies = [
"unicode-ident",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "protobuf"
2023-01-13 01:53:28 +00:00
version = "2.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94"
2020-05-24 16:33:24 +00:00
[[package]]
name = "quote"
2023-01-13 01:53:28 +00:00
version = "1.0.23"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "radium"
version = "0.3.0"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "def50a86306165861203e7f84ecffbbdfdea79f0e51039b33de1e952358c47ac"
2020-05-24 16:33:24 +00:00
[[package]]
name = "radium"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
2020-05-24 16:33:24 +00:00
[[package]]
name = "rand"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
2020-05-24 16:33:24 +00:00
dependencies = [
"getrandom 0.1.16",
"libc",
"rand_chacha 0.2.2",
"rand_core 0.5.1",
"rand_hc",
]
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
2020-05-31 16:01:34 +00:00
"libc",
"rand_chacha 0.3.1",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "rand_chacha"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"ppv-lite86",
"rand_core 0.5.1",
]
[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
"ppv-lite86",
2023-01-13 01:53:28 +00:00
"rand_core 0.6.4",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "rand_core"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
2020-05-24 16:33:24 +00:00
dependencies = [
"getrandom 0.1.16",
]
[[package]]
name = "rand_core"
2023-01-13 01:53:28 +00:00
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
"getrandom 0.2.8",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
2020-05-24 16:33:24 +00:00
dependencies = [
"rand_core 0.5.1",
]
[[package]]
name = "rayon"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
dependencies = [
"either",
"rayon-core",
]
[[package]]
name = "rayon-core"
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cac410af5d00ab6884528b4ab69d1e8e146e8d471201800fa1b4524126de6ad3"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
"crossbeam-utils",
"num_cpus",
]
[[package]]
name = "redox_syscall"
2023-01-13 01:53:28 +00:00
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
"bitflags",
]
[[package]]
name = "redox_users"
2023-01-13 01:53:28 +00:00
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
"getrandom 0.2.8",
"redox_syscall",
2023-01-13 01:53:28 +00:00
"thiserror",
]
2020-05-26 18:57:59 +00:00
[[package]]
name = "regex"
version = "1.7.1"
2020-05-26 18:57:59 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48aaa5748ba571fb95cd2c85c09f629215d3a6ece942baa100950af03a34f733"
2020-05-26 18:57:59 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"aho-corasick",
"memchr",
"regex-syntax",
2020-05-26 18:57:59 +00:00
]
[[package]]
name = "regex-automata"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
dependencies = [
"regex-syntax",
]
2020-05-26 18:57:59 +00:00
[[package]]
name = "regex-syntax"
2023-01-13 01:53:28 +00:00
version = "0.6.28"
2020-05-26 18:57:59 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848"
2020-05-26 18:57:59 +00:00
[[package]]
name = "remove_dir_all"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
dependencies = [
"winapi",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "reqwest"
version = "0.11.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21eed90ec8570952d53b772ecf8f206aa1ec9a3d76b2521c56c42973f2d91ee9"
2020-05-31 16:01:34 +00:00
dependencies = [
"base64 0.21.0",
"bytes",
2020-05-31 16:01:34 +00:00
"encoding_rs",
"futures-core",
"futures-util",
"h2",
2020-05-31 16:01:34 +00:00
"http",
"http-body",
"hyper",
"hyper-rustls",
2021-05-01 18:26:37 +00:00
"hyper-tls",
"ipnet",
2020-05-31 16:01:34 +00:00
"js-sys",
"log",
"mime",
2021-05-01 18:26:37 +00:00
"native-tls",
"once_cell",
2020-05-31 16:01:34 +00:00
"percent-encoding",
"pin-project-lite",
"rustls",
"rustls-pemfile",
2020-05-31 16:01:34 +00:00
"serde",
"serde_json",
"serde_urlencoded",
"tokio",
2021-05-01 18:26:37 +00:00
"tokio-native-tls",
"tokio-rustls",
"tower-service",
2020-05-31 16:01:34 +00:00
"url",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"webpki-roots",
2020-05-31 16:01:34 +00:00
"winreg",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "rfc6979"
2023-01-13 01:53:28 +00:00
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb"
dependencies = [
"crypto-bigint",
2022-07-06 21:11:23 +00:00
"hmac 0.12.1",
"zeroize",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "ring"
version = "0.16.20"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3053cf52e236a3ed746dfc745aa9cacf1b791d846bdaf412f60a8d7d6e17c8fc"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"cc",
"libc",
"once_cell",
2020-05-31 16:01:34 +00:00
"spin",
"untrusted",
"web-sys",
"winapi",
2020-05-26 09:52:15 +00:00
]
[[package]]
2022-07-06 21:11:23 +00:00
name = "ripemd"
2023-01-13 01:53:28 +00:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "rlp"
version = "0.5.2"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb919243f34364b6bd2fc10ef797edbfa75f33c252e7998527479c6d6b47e1ec"
2020-05-24 16:33:24 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"rustc-hex",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "rlp-derive"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e33d7b2abe0c340d8797fe2907d3f20d3b5ea5908683618bfe80df7f621f672a"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "rusb"
2023-01-13 01:53:28 +00:00
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "703aa035c21c589b34fb5136b12e68fc8dcf7ea46486861381361dd8ebf5cee0"
dependencies = [
"libc",
"libusb1-sys",
]
[[package]]
name = "rusoto_core"
2022-05-02 19:36:09 +00:00
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-05-02 19:36:09 +00:00
checksum = "1db30db44ea73551326269adcf7a2169428a054f14faf9e1768f2163494f2fa2"
dependencies = [
"async-trait",
"base64 0.13.1",
"bytes",
"crc32fast",
"futures",
"http",
"hyper",
2023-01-06 11:08:26 +00:00
"hyper-rustls",
"lazy_static",
"log",
"rusoto_credential",
"rusoto_signature",
"rustc_version",
"serde",
"serde_json",
"tokio",
"xml-rs",
]
[[package]]
name = "rusoto_credential"
2022-05-02 19:36:09 +00:00
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-05-02 19:36:09 +00:00
checksum = "ee0a6c13db5aad6047b6a44ef023dbbc21a056b6dab5be3b79ce4283d5c02d05"
dependencies = [
"async-trait",
"chrono",
"dirs-next",
"futures",
"hyper",
"serde",
"serde_json",
"shlex",
"tokio",
"zeroize",
]
[[package]]
name = "rusoto_kms"
2022-05-02 19:36:09 +00:00
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-05-02 19:36:09 +00:00
checksum = "3e1fc19cfcfd9f6b2f96e36d5b0dddda9004d2cbfc2d17543e3b9f10cc38fce8"
dependencies = [
"async-trait",
"bytes",
"futures",
"rusoto_core",
"serde",
"serde_json",
]
[[package]]
name = "rusoto_signature"
2022-05-02 19:36:09 +00:00
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-05-02 19:36:09 +00:00
checksum = "a5ae95491c8b4847931e291b151127eccd6ff8ca13f33603eb3d0035ecb05272"
dependencies = [
"base64 0.13.1",
"bytes",
"chrono",
"digest 0.9.0",
"futures",
"hex",
"hmac 0.11.0",
"http",
"hyper",
"log",
"md-5 0.9.1",
"percent-encoding",
"pin-project-lite",
"rusoto_credential",
"rustc_version",
"serde",
"sha2 0.9.9",
"tokio",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "rustc-hex"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6"
2020-05-25 09:23:50 +00:00
[[package]]
name = "rustc_version"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
dependencies = [
"semver",
]
[[package]]
name = "rustix"
2023-01-13 01:53:28 +00:00
version = "0.36.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "4feacf7db682c6c329c4ede12649cd36ecab0f3be5b7d74e6a20304725db4549"
dependencies = [
"bitflags",
"errno",
"io-lifetimes",
"libc",
"linux-raw-sys",
2023-01-13 01:53:28 +00:00
"windows-sys",
]
[[package]]
name = "rustls"
2023-01-13 01:53:28 +00:00
version = "0.20.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f"
dependencies = [
"log",
"ring",
"sct",
"webpki",
]
2023-01-06 11:08:26 +00:00
[[package]]
name = "rustls-native-certs"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0167bac7a9f490495f3c33013e7722b53cb087ecbe082fb0c6387c96f634ea50"
dependencies = [
"openssl-probe",
"rustls-pemfile",
"schannel",
"security-framework",
]
[[package]]
name = "rustls-pemfile"
2023-01-13 01:53:28 +00:00
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b"
dependencies = [
2023-01-13 01:53:28 +00:00
"base64 0.21.0",
]
[[package]]
name = "rustversion"
2023-01-13 01:53:28 +00:00
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5583e89e108996506031660fe09baa5011b9dd0341b89029313006d1fb508d70"
2020-05-26 09:52:15 +00:00
[[package]]
name = "ryu"
2023-01-13 01:53:28 +00:00
version = "1.0.12"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
2020-05-26 09:52:15 +00:00
[[package]]
name = "salsa20"
2022-08-30 16:45:52 +00:00
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-08-30 16:45:52 +00:00
checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213"
dependencies = [
2022-08-30 16:45:52 +00:00
"cipher 0.4.3",
]
[[package]]
name = "same-file"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
dependencies = [
"winapi-util",
]
[[package]]
name = "scale-info"
2023-01-13 01:53:28 +00:00
version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "001cf62ece89779fd16105b5f515ad0e5cedcd5440d3dd806bb067978e7c3608"
dependencies = [
"cfg-if 1.0.0",
"derive_more",
"parity-scale-codec",
"scale-info-derive",
]
[[package]]
name = "scale-info-derive"
2023-01-13 01:53:28 +00:00
version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "303959cf613a6f6efd19ed4b4ad5bf79966a13352716299ad532cfb115f4205c"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "schannel"
2023-01-13 01:53:28 +00:00
version = "0.1.21"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3"
2020-05-26 09:52:15 +00:00
dependencies = [
2023-01-13 01:53:28 +00:00
"windows-sys",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "scoped-tls"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
[[package]]
name = "scopeguard"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "scratch"
2023-01-13 01:53:28 +00:00
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2"
[[package]]
name = "scrypt"
2022-08-30 16:45:52 +00:00
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-08-30 16:45:52 +00:00
checksum = "9f9e24d2b632954ded8ab2ef9fea0a0c769ea56ea98bddbafbad22caeeadf45d"
dependencies = [
2022-06-25 15:13:52 +00:00
"hmac 0.12.1",
2023-01-13 01:53:28 +00:00
"pbkdf2",
"salsa20",
"sha2 0.10.6",
]
[[package]]
name = "sct"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4"
dependencies = [
"ring",
"untrusted",
]
[[package]]
name = "sec1"
2022-07-06 21:11:23 +00:00
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-07-06 21:11:23 +00:00
checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928"
dependencies = [
2022-07-06 21:11:23 +00:00
"base16ct",
"der",
"generic-array 0.14.6",
"pkcs8",
"subtle",
"zeroize",
]
[[package]]
name = "security-framework"
2023-01-13 01:53:28 +00:00
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "2bc1bb97804af6631813c55739f771071e0f2ed33ee20b68c86ec505d906356c"
dependencies = [
"bitflags",
"core-foundation",
"core-foundation-sys",
"libc",
"security-framework-sys",
]
[[package]]
name = "security-framework-sys"
2023-01-13 01:53:28 +00:00
version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0160a13a177a45bfb43ce71c01580998474f556ad854dcbca936dd2841a5c556"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]]
name = "semver"
version = "1.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a"
dependencies = [
"serde",
]
[[package]]
name = "send_wrapper"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "930c0acf610d3fdb5e2ab6213019aaa04e227ebe9547b0649ba599b16d788bd7"
2020-05-24 16:33:24 +00:00
[[package]]
name = "serde"
2023-01-13 01:53:28 +00:00
version = "1.0.152"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"serde_derive",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "serde-aux"
version = "4.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c599b3fd89a75e0c18d6d2be693ddb12cccaf771db4ff9e39097104808a014c0"
dependencies = [
"serde",
"serde_json",
]
[[package]]
name = "serde-wasm-bindgen"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3b4c031cd0d9014307d82b8abf653c0290fbdaeb4c02d00c63cf52f728628bf"
dependencies = [
"js-sys",
"serde",
"wasm-bindgen",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "serde_derive"
2023-01-13 01:53:28 +00:00
version = "1.0.152"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
2020-05-24 16:33:24 +00:00
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "serde_json"
2023-01-13 01:53:28 +00:00
version = "1.0.91"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883"
2020-05-26 09:52:15 +00:00
dependencies = [
"itoa",
2020-05-31 16:01:34 +00:00
"ryu",
"serde",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "serde_path_to_error"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26b04f22b563c91331a10074bda3dd5492e3cc39d56bd557e91c0af42b6c7341"
dependencies = [
"serde",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "serde_urlencoded"
2022-01-28 07:07:48 +00:00
version = "0.7.1"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-01-28 07:07:48 +00:00
checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
2020-05-26 09:52:15 +00:00
dependencies = [
"form_urlencoded",
"itoa",
"ryu",
2020-05-31 16:01:34 +00:00
"serde",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "serial_test"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c789ec87f4687d022a2405cf46e0cd6284889f1839de292cadeb6c6019506f2"
dependencies = [
"dashmap",
"futures",
"lazy_static",
"log",
2023-01-13 01:53:28 +00:00
"parking_lot 0.12.1",
"serial_test_derive",
]
[[package]]
name = "serial_test_derive"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b64f9e531ce97c88b4778aad0ceee079216071cffec6ac9b904277f8f92e7fe3"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
2022-06-25 15:13:52 +00:00
[[package]]
name = "sha1"
2023-01-13 01:53:28 +00:00
version = "0.10.5"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3"
2022-06-25 15:13:52 +00:00
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
2022-06-25 15:13:52 +00:00
]
[[package]]
name = "sha2"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69"
dependencies = [
"block-buffer 0.7.3",
"digest 0.8.1",
"fake-simd",
"opaque-debug 0.2.3",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "sha2"
version = "0.9.9"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800"
2020-05-31 17:53:07 +00:00
dependencies = [
"block-buffer 0.9.0",
"cfg-if 1.0.0",
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
"cpufeatures",
"digest 0.9.0",
"opaque-debug 0.3.0",
"sha2-asm",
]
[[package]]
name = "sha2"
version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0"
dependencies = [
"cfg-if 1.0.0",
"cpufeatures",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
2022-07-06 21:11:23 +00:00
"sha2-asm",
]
[[package]]
name = "sha2-asm"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf27176fb5d15398e3a479c652c20459d9dac830dedd1fa55b42a77dbcdbfcea"
dependencies = [
"cc",
2020-05-31 17:53:07 +00:00
]
[[package]]
name = "sha3"
2023-01-13 01:53:28 +00:00
version = "0.10.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"keccak",
]
[[package]]
name = "sharded-slab"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"
dependencies = [
"lazy_static",
]
[[package]]
name = "shlex"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
derive-eip712: initial implementation of eip712 derive macro (#481) * derive-eip712: initial implementation of eip712 derive macro This commit provides an initial implementation for a derive macro to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712 Additionally, this commit introduces a new signer trait method: async fn sign_typed_data<T: Eip712 + Send + Sync>( &self, payload: &T, ) -> Result<Signature, Self::Error>; And implements the new method for each of the signers (wallet, ledger, aws). Additionally, these changes include using `WalletError` for the Wallet signer error type At the moment, derive does not recurse the primary type to find nested Eip712 structs. This is something that is noted in the source and currently responds with an error regarding custom types. A subsequent PR should be opened once this issue becomes needed. For the moment, the current implementation should satisfy non-nested, basic struct types. * rename to ethers-derive-eip712; move to ethers-core * refactor of derive-eip712 macro; use ParamType and EthAbiToken * macro updates; add byte array checker for paramtype; use literal constant for domain type hash * replace std::convert::Infallible with WalletError as Wallet signer error type * update workspace members and dev dependencies for examples folder * add example for eip712 and test against contract * remove extraneous backward slash in '\x19\x01' prefix; example tests pass * update unreleased change log * remove print statements * use parse_macro_input macro; remove dead code; handle nest struct not implemented error * move eip712 example to solidity-contract tests folder; update cargo workspace dependencies * allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data * add documentation for eip712 feature * Update ethers-signers/src/ledger/mod.rs Co-authored-by: Sebastian Martinez <me@sebastinez.dev> * add error enum for Eip712Error; use sign_payload for ledger signer * add EIP712WithDomain type for providing a wrapper around custom setting of the domain * make LedgerWallet sign_payload public * use optional feature gated dependencies for eip712; add default method for encode_eip712 * add default domain_separator method, pre-compute separator hash * move derive-eip712 deps to dev deps * remove invalid sign payload parameter, add await on async method * remove deprecated comment * debugging 'bad key handle' error for ledger signer try using 'sign_message' * await sign digest for aws signer * remove extra space, fix fmt warning * fix test, fmt errors * use gt 0.6.0 pragma compiler version * enable ABIEncoderV2 for solidity test contract * chore: make test constructor public Co-authored-by: Sebastian Martinez <me@sebastinez.dev> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 15:22:51 +00:00
checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3"
[[package]]
name = "signal-hook-registry"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
dependencies = [
"libc",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "signature"
2023-01-13 01:53:28 +00:00
version = "1.6.4"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c"
dependencies = [
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"rand_core 0.6.4",
"signature_derive",
]
[[package]]
name = "signature_derive"
version = "1.0.0-pre.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96e6310f022b5c02b3bba689166e833f6b96994a6ce1f138b653d2fd0519920f"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "siphasher"
2023-01-13 01:53:28 +00:00
version = "0.3.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
[[package]]
name = "slab"
2023-01-13 01:53:28 +00:00
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef"
dependencies = [
"autocfg",
]
[[package]]
name = "smallvec"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
[[package]]
name = "socket2"
2023-01-13 01:53:28 +00:00
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "02e2d2db9033d13a1567121ddd7a095ee144db4e1ca1b1bda3419bc0da294ebd"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "solang-parser"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e9653f278d9531b60f042c29732bb835d519943f4167b1e5684c7e820dd9fec"
dependencies = [
2022-05-13 19:59:47 +00:00
"itertools",
"lalrpop",
"lalrpop-util",
"phf",
"unicode-xid",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "spin"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
2020-05-26 09:52:15 +00:00
[[package]]
name = "spki"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b"
dependencies = [
2022-07-06 21:11:23 +00:00
"base64ct",
"der",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]]
name = "string_cache"
2023-01-13 01:53:28 +00:00
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "213494b7a2b503146286049378ce02b482200519accc31872ee8be91fa820a08"
dependencies = [
"new_debug_unreachable",
2023-01-13 01:53:28 +00:00
"once_cell",
"parking_lot 0.12.1",
"phf_shared 0.10.0",
"precomputed-hash",
]
[[package]]
2022-01-28 07:07:48 +00:00
name = "strsim"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2022-01-28 07:07:48 +00:00
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]]
name = "strum"
version = "0.24.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "063e6045c0e62079840579a7e47a355ae92f60eb74daaf156fb1e84ba164e63f"
dependencies = [
"strum_macros",
]
[[package]]
name = "strum_macros"
2023-01-13 01:53:28 +00:00
version = "0.24.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59"
dependencies = [
"heck",
"proc-macro2",
"quote",
"rustversion",
"syn",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "subtle"
version = "2.4.1"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
2020-05-31 17:53:07 +00:00
[[package]]
name = "svm-rs"
version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e18bbb2b229a2cc0d8ba58603adb0e460ad49a3451b1540fd6f7a5d37fd03b80"
dependencies = [
"anyhow",
"cfg-if 1.0.0",
"clap",
"console 0.14.1",
"dialoguer",
"fs2",
"hex",
"home",
"indicatif",
"itertools",
"once_cell",
"rand 0.8.5",
"reqwest",
"semver",
"serde",
"serde_json",
"sha2 0.9.9",
"tempfile",
"thiserror",
"tokio",
"tracing",
"url",
2022-06-25 15:13:52 +00:00
"zip",
]
[[package]]
name = "svm-rs-builds"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebf4cc09b0dd1cd78bc8ca82c5e22bbcd0cca126ad0d584e2fc47d4dc0a3dd73"
dependencies = [
"build_const",
"hex",
"semver",
"serde_json",
"svm-rs",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "syn"
version = "1.0.107"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"unicode-ident",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "synstructure"
version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
"proc-macro2",
"quote",
"syn",
"unicode-xid",
]
[[package]]
name = "tap"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]]
name = "tempfile"
version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4"
dependencies = [
"cfg-if 1.0.0",
"fastrand",
"libc",
"redox_syscall",
"remove_dir_all",
"winapi",
]
[[package]]
name = "term"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
dependencies = [
"dirs-next",
"rustversion",
"winapi",
]
2022-01-28 07:07:48 +00:00
[[package]]
name = "termcolor"
2023-01-13 01:53:28 +00:00
version = "1.1.3"
2022-01-28 07:07:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
2022-01-28 07:07:48 +00:00
dependencies = [
"winapi-util",
]
[[package]]
name = "terminal_size"
version = "0.1.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df"
dependencies = [
"libc",
"winapi",
]
2022-01-28 07:07:48 +00:00
[[package]]
name = "textwrap"
2023-01-13 01:53:28 +00:00
version = "0.16.0"
2022-01-28 07:07:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
2022-01-28 07:07:48 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "thiserror"
version = "1.0.38"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"thiserror-impl",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "thiserror-impl"
version = "1.0.38"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f"
2020-05-25 10:05:00 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
2020-05-25 10:05:00 +00:00
]
[[package]]
name = "thread_local"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
dependencies = [
"once_cell",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "time"
2023-01-13 01:53:28 +00:00
version = "0.3.17"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376"
2020-05-26 09:52:15 +00:00
dependencies = [
"itoa",
"serde",
2023-01-13 01:53:28 +00:00
"time-core",
2022-06-25 15:13:52 +00:00
"time-macros",
2020-05-26 09:52:15 +00:00
]
2023-01-13 01:53:28 +00:00
[[package]]
name = "time-core"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd"
2022-06-25 15:13:52 +00:00
[[package]]
name = "time-macros"
2023-01-13 01:53:28 +00:00
version = "0.2.6"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d967f99f534ca7e495c575c62638eebc2898a8c84c119b89e250477bc4ba16b2"
dependencies = [
"time-core",
]
2022-06-25 15:13:52 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "tiny-keccak"
version = "2.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
2020-05-25 09:23:50 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"crunchy",
2020-05-25 09:23:50 +00:00
]
[[package]]
name = "tinytemplate"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
dependencies = [
"serde",
"serde_json",
]
[[package]]
name = "tinyvec"
2023-01-13 01:53:28 +00:00
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
dependencies = [
"tinyvec_macros",
]
[[package]]
name = "tinyvec_macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
2020-05-26 09:52:15 +00:00
[[package]]
name = "tokio"
2023-01-13 01:53:28 +00:00
version = "1.24.1"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1d9f76183f91ecfb55e1d7d5602bd1d979e38a3a522fe900241cf195624d67ae"
2020-05-26 09:52:15 +00:00
dependencies = [
2023-01-13 01:53:28 +00:00
"autocfg",
"bytes",
"libc",
2020-05-31 16:01:34 +00:00
"memchr",
"mio",
"num_cpus",
2023-01-13 01:53:28 +00:00
"parking_lot 0.12.1",
"pin-project-lite",
"signal-hook-registry",
"socket2",
2020-05-31 16:01:34 +00:00
"tokio-macros",
2023-01-13 01:53:28 +00:00
"windows-sys",
2020-05-26 11:00:56 +00:00
]
[[package]]
name = "tokio-macros"
2023-01-13 01:53:28 +00:00
version = "1.8.2"
2020-05-26 11:00:56 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8"
2020-05-26 11:00:56 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "tokio-native-tls"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b"
dependencies = [
"native-tls",
"tokio",
]
[[package]]
name = "tokio-rustls"
2023-01-13 01:53:28 +00:00
version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
"rustls",
"tokio",
"webpki",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "tokio-tungstenite"
version = "0.18.0"
2021-01-10 10:05:12 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd"
dependencies = [
"futures-util",
"log",
"native-tls",
"rustls",
"tokio",
"tokio-native-tls",
"tokio-rustls",
"tungstenite",
"webpki",
"webpki-roots",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "tokio-util"
2023-01-13 01:53:28 +00:00
version = "0.7.4"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0bb2e075f03b3d66d8d8785356224ba688d2906a371015e225beeb65ca92c740"
2020-05-26 09:52:15 +00:00
dependencies = [
"bytes",
2020-05-31 16:01:34 +00:00
"futures-core",
"futures-sink",
"pin-project-lite",
"tokio",
2023-01-13 01:53:28 +00:00
"tracing",
]
[[package]]
name = "toml"
2023-01-13 01:53:28 +00:00
version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1333c76748e868a4d9d1017b5ab53171dfd095f70c712fdb4653a406547f598f"
dependencies = [
"serde",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "tower-service"
2023-01-13 01:53:28 +00:00
version = "0.3.2"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52"
2020-05-26 09:52:15 +00:00
[[package]]
name = "tracing"
version = "0.1.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8"
dependencies = [
"cfg-if 1.0.0",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
]
[[package]]
name = "tracing-attributes"
version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4017f8f45139870ca7e672686113917c71c7a6e02d4924eda67186083c03081a"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tracing-core"
version = "0.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"
dependencies = [
"once_cell",
"valuable",
]
[[package]]
name = "tracing-futures"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2"
dependencies = [
"pin-project",
"tracing",
]
[[package]]
name = "tracing-log"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"
dependencies = [
"lazy_static",
"log",
"tracing-core",
]
[[package]]
name = "tracing-subscriber"
version = "0.3.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70"
dependencies = [
"matchers",
"nu-ansi-term",
"once_cell",
"regex",
"sharded-slab",
"smallvec",
"thread_local",
"tracing",
"tracing-core",
"tracing-log",
]
[[package]]
name = "trezor-client"
version = "0.0.7"
2022-03-02 10:29:58 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d3e4b569b95a8d24d10b2e8f60196348eb15023d50d2b38a4463e7f150afd27"
dependencies = [
"byteorder",
"hex",
"hidapi-rusb",
"log",
"primitive-types",
"protobuf",
"rusb",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "try-lock"
2023-01-13 01:53:28 +00:00
version = "0.2.4"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
2020-05-26 09:52:15 +00:00
[[package]]
name = "tungstenite"
version = "0.18.0"
2021-01-10 10:05:12 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788"
dependencies = [
"base64 0.13.1",
"byteorder",
"bytes",
"http",
"httparse",
"log",
"native-tls",
"rand 0.8.5",
"rustls",
"sha1",
"thiserror",
"url",
"utf-8",
"webpki",
]
2020-05-31 17:53:07 +00:00
[[package]]
name = "typenum"
2023-01-13 01:53:28 +00:00
version = "1.16.0"
2020-05-31 17:53:07 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
2020-05-31 17:53:07 +00:00
2020-05-24 16:33:24 +00:00
[[package]]
name = "uint"
2023-01-13 01:53:28 +00:00
version = "0.9.5"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"byteorder",
"crunchy",
"hex",
2020-05-31 16:01:34 +00:00
"static_assertions",
2020-05-24 16:33:24 +00:00
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "unicode-bidi"
2023-01-13 01:53:28 +00:00
version = "0.3.8"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992"
2020-05-26 09:52:15 +00:00
[[package]]
name = "unicode-ident"
2023-01-13 01:53:28 +00:00
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
2020-05-26 09:52:15 +00:00
[[package]]
name = "unicode-normalization"
2023-01-13 01:53:28 +00:00
version = "0.1.22"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
2020-05-26 09:52:15 +00:00
dependencies = [
"tinyvec",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "unicode-segmentation"
2023-01-13 01:53:28 +00:00
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "0fdbf052a0783de01e944a6ce7a8cb939e295b1e7be835a1112c3b9a7f047a5a"
[[package]]
name = "unicode-width"
2023-01-13 01:53:28 +00:00
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
2020-05-24 16:33:24 +00:00
[[package]]
name = "unicode-xid"
version = "0.2.4"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
2020-05-24 16:33:24 +00:00
2020-05-26 09:52:15 +00:00
[[package]]
name = "untrusted"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a"
2020-05-26 09:52:15 +00:00
[[package]]
name = "url"
version = "2.3.1"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
2020-05-26 09:52:15 +00:00
dependencies = [
"form_urlencoded",
2020-05-31 16:01:34 +00:00
"idna",
"percent-encoding",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "utf-8"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
[[package]]
name = "uuid"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
dependencies = [
"getrandom 0.2.8",
"serde",
]
2022-07-06 21:11:23 +00:00
[[package]]
name = "uuid"
2023-01-13 01:53:28 +00:00
version = "1.2.2"
2022-07-06 21:11:23 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c"
2022-07-06 21:11:23 +00:00
dependencies = [
"serde",
]
[[package]]
name = "valuable"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
2020-05-26 18:57:59 +00:00
[[package]]
name = "vcpkg"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
2020-05-26 09:52:15 +00:00
[[package]]
name = "version_check"
version = "0.9.4"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
2020-05-26 09:52:15 +00:00
[[package]]
name = "void"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
[[package]]
name = "walkdir"
version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
dependencies = [
"same-file",
"winapi",
"winapi-util",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "want"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"log",
"try-lock",
2020-05-26 09:52:15 +00:00
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "wasi"
version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
2020-05-24 16:33:24 +00:00
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
2020-05-26 09:52:15 +00:00
[[package]]
name = "wasm-bindgen"
version = "0.2.83"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268"
2020-05-26 09:52:15 +00:00
dependencies = [
"cfg-if 1.0.0",
"serde",
"serde_json",
2020-05-31 16:01:34 +00:00
"wasm-bindgen-macro",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "wasm-bindgen-backend"
version = "0.2.83"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"bumpalo",
"log",
"once_cell",
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-shared",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "wasm-bindgen-futures"
version = "0.4.33"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23639446165ca5a5de86ae1d8896b737ae80319560fbaa4c2887b7da6e7ebd7d"
2020-05-26 09:52:15 +00:00
dependencies = [
"cfg-if 1.0.0",
2020-05-31 16:01:34 +00:00
"js-sys",
"wasm-bindgen",
"web-sys",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "wasm-bindgen-macro"
version = "0.2.83"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"quote",
"wasm-bindgen-macro-support",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.83"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"proc-macro2",
"quote",
"syn",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "wasm-bindgen-shared"
version = "0.2.83"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
2020-05-26 09:52:15 +00:00
[[package]]
name = "wasm-bindgen-test"
version = "0.3.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09d2fff962180c3fadf677438054b1db62bee4aa32af26a45388af07d1287e1d"
dependencies = [
"console_error_panic_hook",
"js-sys",
"scoped-tls",
"wasm-bindgen",
"wasm-bindgen-futures",
"wasm-bindgen-test-macro",
]
[[package]]
name = "wasm-bindgen-test-macro"
version = "0.3.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4683da3dfc016f704c9f82cf401520c4f1cb3ee440f7f52b3d6ac29506a49ca7"
dependencies = [
"proc-macro2",
"quote",
]
[[package]]
name = "wasm-timer"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be0ecb0db480561e9a7642b5d3e4187c128914e58aa84330b9493e3eb68c5e7f"
dependencies = [
"futures",
"js-sys",
"parking_lot 0.11.2",
"pin-utils",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
2020-05-26 09:52:15 +00:00
[[package]]
name = "web-sys"
version = "0.3.60"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcda906d8be16e728fd5adc5b729afad4e444e106ab28cd1c7256e54fa61510f"
2020-05-26 09:52:15 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"js-sys",
"wasm-bindgen",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "webpki"
version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd"
dependencies = [
"ring",
"untrusted",
]
[[package]]
name = "webpki-roots"
2023-01-13 01:53:28 +00:00
version = "0.22.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87"
dependencies = [
"webpki",
]
[[package]]
name = "wee_alloc"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e"
dependencies = [
"cfg-if 0.1.10",
"libc",
"memory_units",
"winapi",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "winapi"
version = "0.3.9"
2020-05-24 16:33:24 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2020-05-24 16:33:24 +00:00
dependencies = [
2020-05-31 16:01:34 +00:00
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
2020-05-24 16:33:24 +00:00
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2020-05-24 16:33:24 +00:00
[[package]]
name = "winapi-util"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
dependencies = [
"winapi",
]
2020-05-24 16:33:24 +00:00
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2020-05-31 16:01:34 +00:00
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2020-05-24 16:33:24 +00:00
[[package]]
name = "windows-sys"
version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7"
dependencies = [
"windows_aarch64_gnullvm",
2023-01-13 01:53:28 +00:00
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
2023-01-13 01:53:28 +00:00
"windows_x86_64_msvc",
]
[[package]]
name = "windows_aarch64_gnullvm"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608"
[[package]]
name = "windows_aarch64_msvc"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7"
[[package]]
name = "windows_i686_gnu"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640"
[[package]]
name = "windows_i686_msvc"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605"
[[package]]
name = "windows_x86_64_gnu"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45"
[[package]]
name = "windows_x86_64_gnullvm"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463"
[[package]]
name = "windows_x86_64_msvc"
2023-01-13 01:53:28 +00:00
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd"
2020-05-26 09:52:15 +00:00
[[package]]
name = "winreg"
version = "0.10.1"
2020-05-26 09:52:15 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80d0f4e272c85def139476380b12f9ac60926689dd2e01d4923222f40580869d"
2020-05-26 09:52:15 +00:00
dependencies = [
"winapi",
2020-05-26 09:52:15 +00:00
]
[[package]]
name = "ws_stream_wasm"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47ca1ab42f5afed7fc332b22b6e932ca5414b209465412c8cdf0ad23bc0de645"
dependencies = [
"async_io_stream",
"futures",
"js-sys",
"pharos",
"rustc_version",
"send_wrapper",
"thiserror",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]
name = "wyz"
2023-01-13 01:53:28 +00:00
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
dependencies = [
"tap",
]
[[package]]
name = "xml-rs"
version = "0.8.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2d7d3948613f75c98fd9328cfdcc45acc4d360655289d0a7d4ec931392200a3"
[[package]]
name = "yansi"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
[[package]]
name = "yubihsm"
version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d479bdaa16917b3ff94bd09e72536369cdb2e167126ec908dae4cf934c19eb01"
dependencies = [
2023-01-13 01:53:28 +00:00
"aes 0.8.2",
"bitflags",
"cbc",
"ccm",
"cmac",
2023-01-13 01:53:28 +00:00
"digest 0.10.6",
"ecdsa",
"ed25519",
"ed25519-dalek",
2022-07-06 21:11:23 +00:00
"hmac 0.12.1",
"k256",
"log",
"p256",
"p384",
2023-01-13 01:53:28 +00:00
"pbkdf2",
"rand_core 0.6.4",
"rusb",
"serde",
"serde_json",
"sha2 0.10.6",
"signature",
"subtle",
"thiserror",
"time",
2023-01-13 01:53:28 +00:00
"uuid 1.2.2",
"zeroize",
]
[[package]]
name = "zeroize"
2023-01-13 01:53:28 +00:00
version = "1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f"
dependencies = [
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
2023-01-13 01:53:28 +00:00
version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c"
dependencies = [
"proc-macro2",
"quote",
"syn",
"synstructure",
]
2022-06-25 15:13:52 +00:00
[[package]]
name = "zip"
2023-01-13 01:53:28 +00:00
version = "0.6.3"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "537ce7411d25e54e8ae21a7ce0b15840e7bfcff15b51d697ec3266cc76bdf080"
2022-06-25 15:13:52 +00:00
dependencies = [
"aes 0.7.5",
2022-06-25 15:13:52 +00:00
"byteorder",
"bzip2",
"constant_time_eq",
"crc32fast",
"crossbeam-utils",
"flate2",
"hmac 0.12.1",
2023-01-13 01:53:28 +00:00
"pbkdf2",
2022-06-25 15:13:52 +00:00
"sha1",
"time",
"zstd",
]
[[package]]
name = "zstd"
2023-01-13 01:53:28 +00:00
version = "0.11.2+zstd.1.5.2"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
2022-06-25 15:13:52 +00:00
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
2023-01-13 01:53:28 +00:00
version = "5.0.2+zstd.1.5.2"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
2022-06-25 15:13:52 +00:00
dependencies = [
"libc",
"zstd-sys",
]
[[package]]
name = "zstd-sys"
2023-01-13 01:53:28 +00:00
version = "2.0.5+zstd.1.5.2"
2022-06-25 15:13:52 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2023-01-13 01:53:28 +00:00
checksum = "edc50ffce891ad571e9f9afe5039c4837bede781ac4bb13052ed7ae695518596"
2022-06-25 15:13:52 +00:00
dependencies = [
"cc",
"libc",
2023-01-13 01:53:28 +00:00
"pkg-config",
2022-06-25 15:13:52 +00:00
]