This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 795
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: pull ethers to top level directory (#398)
* chore: pull up ethers to top level directory * chore: enable ws feature when running examples * chore: fix paths * chore: enable ipc feature when running examples
- Loading branch information
Showing
24 changed files
with
83 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,77 @@ | ||
[workspace] | ||
[package] | ||
name = "ethers" | ||
version = "0.4.1" | ||
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2018" | ||
readme = "../README.md" | ||
documentation = "https://docs.rs/ethers" | ||
repository = "https://github.com/gakonst/ethers-rs" | ||
homepage = "https://docs.rs/ethers" | ||
description = """ | ||
Complete Ethereum library and wallet implementation in Rust. | ||
""" | ||
|
||
[workspace] | ||
members = [ | ||
"./ethers", | ||
"./ethers-contract", | ||
"./ethers-providers", | ||
"./ethers-signers", | ||
"./ethers-core", | ||
"./ethers-middleware", | ||
"ethers-contract", | ||
"ethers-providers", | ||
"ethers-signers", | ||
"ethers-core", | ||
"ethers-middleware", | ||
] | ||
|
||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[package.metadata.playground] | ||
features = ["full"] | ||
|
||
[features] | ||
celo = [ | ||
"ethers-core/celo", | ||
"ethers-providers/celo", | ||
"ethers-signers/celo", | ||
"ethers-contract/celo", | ||
"ethers-middleware/celo", | ||
"legacy" | ||
] | ||
|
||
legacy = [ | ||
"ethers-core/legacy", | ||
"ethers-contract/legacy" | ||
] | ||
|
||
# individual features per sub-crate | ||
## core | ||
setup = ["ethers-core/setup"] | ||
## providers | ||
ws = ["ethers-providers/ws"] | ||
ipc = ["ethers-providers/ipc"] | ||
rustls = ["ethers-providers/rustls"] | ||
openssl = ["ethers-providers/openssl"] | ||
## signers | ||
ledger = ["ethers-signers/ledger"] | ||
yubi = ["ethers-signers/yubi"] | ||
## contracts | ||
abigen = ["ethers-contract/abigen"] | ||
|
||
|
||
[dependencies] | ||
ethers-contract = { version = "0.4.7", default-features = false, path = "./ethers-contract" } | ||
ethers-core = { version = "0.4.8", default-features = false, path = "./ethers-core", features = ["setup"] } | ||
ethers-providers = { version = "0.4.6", default-features = false, path = "./ethers-providers" } | ||
ethers-signers = { version = "0.4.6", default-features = false, path = "./ethers-signers" } | ||
ethers-middleware = { version = "0.4.8", default-features = false, path = "./ethers-middleware" } | ||
|
||
[dev-dependencies] | ||
ethers-contract = { version = "0.4.7", default-features = false, path = "./ethers-contract", features = ["abigen"] } | ||
ethers-providers = { version = "0.4.6", default-features = false, path = "./ethers-providers", features = ["ws", "ipc"] } | ||
|
||
anyhow = "1.0.39" | ||
rand = "0.8.4" | ||
serde = { version = "1.0.124", features = ["derive"] } | ||
serde_json = "1.0.64" | ||
tokio = { version = "1.5", features = ["macros", "rt-multi-thread"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.