Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
chore: pull up ethers to top level directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Aug 20, 2021
1 parent 6a0b74e commit 0ab0498
Show file tree
Hide file tree
Showing 24 changed files with 78 additions and 78 deletions.
80 changes: 73 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,76 @@
[workspace]
[package]
name = "ethers"
version = "0.4.1"
authors = ["Georgios Konstantopoulos <[email protected]>"]
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"] }

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"] }
2 changes: 1 addition & 1 deletion ethers-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ futures-util = { version = "0.3.16" }
hex = { version = "0.4.3", default-features = false, features = ["std"] }

[dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" }
ethers = { version = "0.4.0", path = ".." }
ethers-providers = { version = "0.4.6", path = "../ethers-providers", default-features = false, features = ["ws"] }
ethers-signers = { version = "0.4.6", path = "../ethers-signers" }
ethers-middleware = { version = "0.4.8", path = "../ethers-middleware" }
Expand Down
2 changes: 1 addition & 1 deletion ethers-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tokio = { version = "1.5", default-features = false, optional = true}
futures-util = { version = "0.3.16", optional = true }

[dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" }
ethers = { version = "0.4.0", path = ".." }

serde_json = { version = "1.0.64", default-features = false }
bincode = { version = "1.3.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion ethers-middleware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ serde_json = { version = "1.0.64", default-features = false }
tokio = { version = "1.5" }

[dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" }
ethers = { version = "0.4.0", path = ".." }
hex = { version = "0.4.3", default-features = false, features = ["std"] }
rand = { version = "0.8.4", default-features = false }
tokio = { version = "1.5", default-features = false, features = ["rt", "macros", "time"] }
Expand Down
2 changes: 1 addition & 1 deletion ethers-providers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tokio-util = { version = "0.6.7", default-features = false, features = ["io"], o
bytes = { version = "1.0.1", default-features = false, optional = true }

[dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" }
ethers = { version = "0.4.0", path = ".." }
tokio = { version = "1.5", default-features = false, features = ["rt", "macros"] }
tempfile = "3.2.0"

Expand Down
2 changes: 1 addition & 1 deletion ethers-signers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tracing-futures = { version = "0.2.5", optional = true }
spki = { version = "0.4.0", optional = true }

[dev-dependencies]
ethers = { version = "0.4.0", path = "../ethers" }
ethers = { version = "0.4.0", path = ".." }
yubihsm = { version = "0.39.0", features = ["secp256k1", "usb", "mockhsm"] }

tempfile = "3.2.0"
Expand Down
66 changes: 0 additions & 66 deletions ethers/Cargo.toml

This file was deleted.

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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0ab0498

Please sign in to comment.