parent
3ee1b6796e
commit
5c762c44d7
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
title: ""
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Version**
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
title: ""
|
||||
labels: feature-request
|
||||
assignees: ''
|
||||
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
---
|
||||
name: Question
|
||||
about: Please use the Telegram group for questions
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
title: ""
|
||||
labels: ""
|
||||
assignees: ""
|
||||
---
|
||||
|
||||
Please post your question as a discussion in Telegram: https://t.me/ethers_rs
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: cargo
|
||||
- package-ecosystem: cargo
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: daily
|
||||
|
|
|
@ -2,8 +2,8 @@ name: Security audit
|
|||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
- "**/Cargo.toml"
|
||||
- "**/Cargo.lock"
|
||||
jobs:
|
||||
security_audit:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
@ -154,7 +154,9 @@ jobs:
|
|||
args: --target wasm32-unknown-unknown
|
||||
|
||||
- name: Launch Anvil
|
||||
run: anvil --block-time 2 -m "stuff inherit faith park genre spread huge knee ecology private marble supreme" &
|
||||
run:
|
||||
anvil --block-time 2 -m "stuff inherit faith park genre spread huge knee ecology
|
||||
private marble supreme" &
|
||||
|
||||
- name: Install wasm-pack
|
||||
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
|
@ -248,7 +250,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
target: [
|
||||
target:
|
||||
[
|
||||
i686-pc-windows-gnu,
|
||||
i686-pc-windows-msvc,
|
||||
x86_64-pc-windows-gnu,
|
||||
|
|
|
@ -11,24 +11,22 @@ const previousVersion = (currentVersion, releaseType) => {
|
|||
return `v${parsedVersion.major}.${parsedVersion.minor - 1}.0`;
|
||||
}
|
||||
case "patch": {
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${
|
||||
parsedVersion.patch - 1
|
||||
}`;
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${parsedVersion.patch - 1}`;
|
||||
}
|
||||
case "alpha": {
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${
|
||||
parsedVersion.patch
|
||||
}-alpha.${parsedVersion.prerelease[1] - 1}`;
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${parsedVersion.patch}-alpha.${
|
||||
parsedVersion.prerelease[1] - 1
|
||||
}`;
|
||||
}
|
||||
case "beta": {
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${
|
||||
parsedVersion.patch
|
||||
}-beta.${parsedVersion.prerelease[1] - 1}`;
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${parsedVersion.patch}-beta.${
|
||||
parsedVersion.prerelease[1] - 1
|
||||
}`;
|
||||
}
|
||||
case "rc": {
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${
|
||||
parsedVersion.patch
|
||||
}-rc.${parsedVersion.prerelease[1] - 1}`;
|
||||
return `v${parsedVersion.major}.${parsedVersion.minor}.${parsedVersion.patch}-rc.${
|
||||
parsedVersion.prerelease[1] - 1
|
||||
}`;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -167,7 +167,7 @@ directly referencing the crate.
|
|||
The type level example for `ethers_providers::Provider` provides a good example of a
|
||||
documentation test:
|
||||
|
||||
```rust
|
||||
````rust
|
||||
/// ```no_run
|
||||
/// use ethers::providers::{JsonRpcClient, Provider, Http};
|
||||
/// use std::convert::TryFrom;
|
||||
|
@ -182,9 +182,9 @@ documentation test:
|
|||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
```
|
||||
````
|
||||
|
||||
Given that this is a *type* level documentation test and the primary way users
|
||||
Given that this is a _type_ level documentation test and the primary way users
|
||||
of `ethers-rs` will create an instance of `Provider` is by using
|
||||
`Provider::<T>::try_from`, this is how the documentation test is structured.
|
||||
|
||||
|
@ -210,18 +210,18 @@ A good commit message should describe what changed and why.
|
|||
|
||||
1. The first line should:
|
||||
|
||||
* contain a short description of the change (preferably 50 characters or less,
|
||||
- contain a short description of the change (preferably 50 characters or less,
|
||||
and no more than 72 characters)
|
||||
* be entirely in lowercase with the exception of proper nouns, acronyms, and
|
||||
- be entirely in lowercase with the exception of proper nouns, acronyms, and
|
||||
the words that refer to code, like function/variable names
|
||||
* be prefixed with the name of the sub crate being changed (without the `ethers-`
|
||||
- be prefixed with the name of the sub crate being changed (without the `ethers-`
|
||||
prefix) and start with an imperative verb. If modifying `ethers` proper,
|
||||
omit the crate prefix.
|
||||
|
||||
Examples:
|
||||
Examples:
|
||||
|
||||
* providers: introduce ENS querying for names and addresses
|
||||
* re-export the abi, types and utils modules from `ethers_core`
|
||||
- providers: introduce ENS querying for names and addresses
|
||||
- re-export the abi, types and utils modules from `ethers_core`
|
||||
|
||||
2. Keep the second line blank.
|
||||
3. Wrap all other lines at 72 columns (except for long URLs).
|
||||
|
@ -326,7 +326,7 @@ Note that only **incremental** improvement is needed to land a PR. This means
|
|||
that the PR does not need to be perfect, only better than the status quo. Follow
|
||||
up PRs may be opened to continue iterating.
|
||||
|
||||
When changes are necessary, *request* them, do not *demand* them, and **do not
|
||||
When changes are necessary, _request_ them, do not _demand_ them, and **do not
|
||||
assume that the submitter already knows how to add a test or run a benchmark**.
|
||||
|
||||
Specific performance optimization techniques, coding styles and conventions
|
||||
|
@ -346,7 +346,7 @@ with the appropriate reason to keep the conversation flow concise and relevant.
|
|||
|
||||
### Be aware of the person behind the code
|
||||
|
||||
Be aware that *how* you communicate requests and reviews in your feedback can
|
||||
Be aware that _how_ you communicate requests and reviews in your feedback can
|
||||
have a significant impact on the success of the Pull Request. Yes, we may land
|
||||
a particular change that makes ethers-rs better, but the individual might just not
|
||||
want to have anything to do with ethers-rs ever again. The goal is not just having
|
||||
|
|
16
Cargo.toml
16
Cargo.toml
|
@ -21,7 +21,7 @@ members = [
|
|||
"ethers-middleware",
|
||||
"ethers-etherscan",
|
||||
"ethers-solc",
|
||||
"examples/ethers-wasm"
|
||||
"examples/ethers-wasm",
|
||||
]
|
||||
|
||||
default-members = [
|
||||
|
@ -32,7 +32,7 @@ default-members = [
|
|||
"ethers-core",
|
||||
"ethers-middleware",
|
||||
"ethers-etherscan",
|
||||
"ethers-solc"
|
||||
"ethers-solc",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
@ -51,7 +51,7 @@ celo = [
|
|||
"ethers-signers/celo",
|
||||
"ethers-contract/celo",
|
||||
"ethers-middleware/celo",
|
||||
"legacy"
|
||||
"legacy",
|
||||
]
|
||||
|
||||
legacy = ["ethers-core/legacy", "ethers-contract/legacy"]
|
||||
|
@ -66,13 +66,13 @@ rustls = [
|
|||
"ethers-providers/rustls",
|
||||
"ethers-etherscan/rustls",
|
||||
"ethers-contract/rustls",
|
||||
"ethers-solc/rustls"
|
||||
"ethers-solc/rustls",
|
||||
]
|
||||
openssl = [
|
||||
"ethers-providers/openssl",
|
||||
"ethers-etherscan/openssl",
|
||||
"ethers-contract/openssl",
|
||||
"ethers-solc/openssl"
|
||||
"ethers-solc/openssl",
|
||||
]
|
||||
dev-rpc = ["ethers-providers/dev-rpc"]
|
||||
## signers
|
||||
|
@ -101,16 +101,16 @@ ethers-etherscan = { version = "^0.17.0", default-features = false, path = "./et
|
|||
[dev-dependencies]
|
||||
ethers-contract = { version = "^0.17.0", default-features = false, path = "./ethers-contract", features = [
|
||||
"abigen",
|
||||
"eip712"
|
||||
"eip712",
|
||||
] }
|
||||
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = [
|
||||
"ws"
|
||||
"ws",
|
||||
] }
|
||||
|
||||
[target.'cfg(target_family = "unix")'.dev-dependencies]
|
||||
ethers-providers = { version = "^0.17.0", default-features = false, path = "./ethers-providers", features = [
|
||||
"ws",
|
||||
"ipc"
|
||||
"ipc",
|
||||
] }
|
||||
eyre = "0.6"
|
||||
rand = "0.8.5"
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
Copyright (c) 2020 Georgios Konstantopoulos
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
@ -65,14 +63,14 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
|
@ -88,7 +86,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
@ -129,7 +127,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
|
@ -137,12 +135,12 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
|
@ -152,7 +150,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
|
@ -164,7 +162,7 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
|
@ -175,29 +173,4 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
|
36
LICENSE-MIT
36
LICENSE-MIT
|
@ -1,25 +1,19 @@
|
|||
Copyright (c) 2020 Georgios Konstantopoulos
|
||||
|
||||
Permission is hereby granted, free of charge, to any
|
||||
person obtaining a copy of this software and associated
|
||||
documentation files (the "Software"), to deal in the
|
||||
Software without restriction, including without
|
||||
limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software
|
||||
is furnished to do so, subject to the following
|
||||
conditions:
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice
|
||||
shall be included in all copies or substantial portions
|
||||
of the Software.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
||||
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
||||
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
||||
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
||||
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
||||
IN CONNECTION WITH THE SOFTWARE O THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.R
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
|
@ -126,6 +126,7 @@ If you are looking to connect to a HTTPS endpoint, then you need to enable the `
|
|||
feature-flags.
|
||||
|
||||
To enable `rustls`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
|
||||
|
@ -133,6 +134,7 @@ ethers = { git = "https://github.com/gakonst/ethers-rs", features = ["rustls"] }
|
|||
```
|
||||
|
||||
To enable `openssl`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
|
||||
|
|
|
@ -27,13 +27,13 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
|||
|
||||
[dev-dependencies]
|
||||
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = [
|
||||
"ws"
|
||||
"ws",
|
||||
] }
|
||||
ethers-signers = { version = "^0.17.0", path = "../ethers-signers" }
|
||||
ethers-contract-abigen = { version = "^0.17.0", path = "ethers-contract-abigen" }
|
||||
ethers-contract-derive = { version = "^0.17.0", path = "ethers-contract-derive" }
|
||||
ethers-core = { version = "^0.17.0", path = "../ethers-core", default-features = false, features = [
|
||||
"eip712"
|
||||
"eip712",
|
||||
] }
|
||||
ethers-derive-eip712 = { version = "^0.17.0", path = "../ethers-core/ethers-derive-eip712" }
|
||||
ethers-solc = { version = "^0.17.0", path = "../ethers-solc", default-features = false }
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
[package]
|
||||
name = "ethers-contract-abigen"
|
||||
version = "0.17.0"
|
||||
authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"]
|
||||
authors = [
|
||||
"Nicholas Rodrigues Lordello <nlordell@gmail.com>",
|
||||
"Georgios Konstantopoulos <me@gakonst.com>",
|
||||
]
|
||||
edition = "2018"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Code generation for type-safe bindings to Ethereum smart contracts"
|
||||
|
@ -20,7 +23,7 @@ url = "2.1"
|
|||
serde_json = "1.0.61"
|
||||
serde = { version = "1.0.124", features = ["derive"] }
|
||||
hex = { version = "0.4.2", default-features = false, features = ["std"] }
|
||||
reqwest = { version = "0.11.3", default-features = false, features = ["blocking"] , optional = true }
|
||||
reqwest = { version = "0.11.3", default-features = false, features = ["blocking"], optional = true }
|
||||
cfg-if = "1.0.0"
|
||||
dunce = "1.0.2"
|
||||
walkdir = "2.3.2"
|
||||
|
@ -42,4 +45,7 @@ rustls = ["reqwest/rustls-tls"]
|
|||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.2.0"
|
||||
ethers-solc = { version = "^0.17.0", path = "../../ethers-solc", default-features = false, features = ["project-util", "svm-solc"] }
|
||||
ethers-solc = { version = "^0.17.0", path = "../../ethers-solc", default-features = false, features = [
|
||||
"project-util",
|
||||
"svm-solc",
|
||||
] }
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
[package]
|
||||
name = "ethers-contract-derive"
|
||||
version = "0.17.0"
|
||||
authors = ["Nicholas Rodrigues Lordello <nlordell@gmail.com>", "Georgios Konstantopoulos <me@gakonst.com>"]
|
||||
authors = [
|
||||
"Nicholas Rodrigues Lordello <nlordell@gmail.com>",
|
||||
"Georgios Konstantopoulos <me@gakonst.com>",
|
||||
]
|
||||
edition = "2018"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Proc macro for type-safe bindings generation to Ethereum and Celo smart contracts"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Ethereum types, cryptography and utilities.
|
||||
|
||||
It is recommended to use the `utils`, `types` and `abi` re-exports instead of
|
||||
the `core` module to simplify your imports.\_
|
||||
the `core` module to simplify your imports.
|
||||
|
||||
This library provides type definitions for Ethereum's main datatypes along with
|
||||
other utilities for interacting with the Ethereum ecosystem
|
||||
|
@ -37,7 +37,7 @@ The crate provides utilities for launching local Ethereum testnets by using
|
|||
|
||||
# Features
|
||||
|
||||
- - ["eip712"] | Provides Eip712 trait for EIP-712 encoding of typed data for
|
||||
- ["eip712"] | Provides Eip712 trait for EIP-712 encoding of typed data for
|
||||
derived structs
|
||||
|
||||
# ABI Encoding and Decoding
|
||||
|
|
|
@ -4,7 +4,7 @@ version = "0.17.0"
|
|||
rust-version = "1.62"
|
||||
authors = [
|
||||
"Matthias Seitz <matthias.seitz@outlook.de>",
|
||||
"Georgios Konstantopoulos <me@gakonst.com>"
|
||||
"Georgios Konstantopoulos <me@gakonst.com>",
|
||||
]
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
|
|
|
@ -45,7 +45,7 @@ hex = { version = "0.4.3", default-features = false, features = ["std"] }
|
|||
rand = { version = "0.8.5", default-features = false }
|
||||
ethers-providers = { version = "^0.17.0", path = "../ethers-providers", default-features = false, features = [
|
||||
"ws",
|
||||
"rustls"
|
||||
"rustls",
|
||||
] }
|
||||
once_cell = "1.15.0"
|
||||
ethers-solc = { version = "^0.17.0", path = "../ethers-solc" }
|
||||
|
|
|
@ -47,7 +47,7 @@ hashers = "1.0.1"
|
|||
# tokio
|
||||
tokio = { version = "1.18", features = ["time"] }
|
||||
tokio-tungstenite = { version = "0.17.2", default-features = false, features = [
|
||||
"connect"
|
||||
"connect",
|
||||
], optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
|
|
|
@ -30,7 +30,7 @@ futures-util = { version = "^0.3", optional = true }
|
|||
futures-executor = { version = "^0.3", optional = true }
|
||||
semver = { version = "1.0.14", optional = true }
|
||||
trezor-client = { version = "0.0.6", optional = true, default-features = false, features = [
|
||||
"f_ethereum"
|
||||
"f_ethereum",
|
||||
] }
|
||||
|
||||
# aws
|
||||
|
|
|
@ -5,7 +5,7 @@ edition = "2018"
|
|||
rust-version = "1.62"
|
||||
authors = [
|
||||
"Matthias Seitz <matthias.seitz@outlook.de>",
|
||||
"Georgios Konstantopoulos <me@gakonst.com>"
|
||||
"Georgios Konstantopoulos <me@gakonst.com>",
|
||||
]
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "../README.md"
|
||||
|
@ -46,7 +46,7 @@ cfg-if = "1.0.0"
|
|||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
home = "0.5.3"
|
||||
svm = { package = "svm-rs", version = "0.2.18", default-features = false, optional = true, features = [
|
||||
"blocking"
|
||||
"blocking",
|
||||
] }
|
||||
svm-builds = { package = "svm-rs-builds", version = "0.1.8", optional = true }
|
||||
|
||||
|
|
Loading…
Reference in New Issue