put it back. duplication between cargo.toml isnt worth it

This commit is contained in:
Bryan Stitt 2023-05-30 21:37:58 -07:00
parent fd8bba4bdd
commit fcc1843af0
38 changed files with 15 additions and 86 deletions

45
Cargo.lock generated
View File

@ -6501,10 +6501,12 @@ dependencies = [
"env_logger",
"ethers",
"ewma",
"fdlimit",
"flume",
"fstrings",
"futures",
"gethostname",
"glob",
"handlebars",
"hashbrown 0.13.2",
"hostname",
@ -6519,17 +6521,21 @@ dependencies = [
"log",
"migration",
"mimalloc",
"num",
"num-traits",
"once_cell",
"ordered-float",
"pagerduty-rs",
"parking_lot 0.12.1",
"prettytable",
"proctitle",
"quick_cache_ttl",
"rdkafka",
"redis-rate-limiter",
"regex",
"reqwest",
"rmp-serde",
"sentry",
"serde",
"serde_json",
"serde_prometheus",
@ -6551,45 +6557,6 @@ dependencies = [
"uuid 1.3.3",
]
[[package]]
name = "web3_proxy_cli"
version = "0.1.0"
dependencies = [
"anyhow",
"argh",
"chrono",
"entities",
"env_logger",
"ethers",
"fdlimit",
"futures",
"glob",
"hashbrown 0.13.2",
"influxdb2",
"influxdb2-structmap",
"log",
"migration",
"num",
"num-traits",
"pagerduty-rs",
"parking_lot 0.12.1",
"prettytable",
"proctitle",
"rdkafka",
"reqwest",
"rmp-serde",
"sentry",
"serde",
"serde_json",
"tokio",
"toml 0.7.4",
"tracing",
"tracing-subscriber 0.3.17",
"ulid",
"uuid 1.3.3",
"web3_proxy",
]
[[package]]
name = "webpki"
version = "0.22.0"

View File

@ -9,7 +9,6 @@ members = [
"redis-rate-limiter",
"thread-fast-rng",
"web3_proxy",
"web3_proxy_cli",
]
[profile.release]

View File

@ -67,7 +67,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
--features "$WEB3_PROXY_FEATURES" \
--locked \
--no-default-features \
--path ./web3_proxy_cli \
--path ./web3_proxy \
--profile faster_release \
--root /usr/local/bin \
;

View File

@ -2,6 +2,7 @@
name = "web3_proxy"
version = "0.28.0"
edition = "2021"
default-run = "web3_proxy_cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -45,12 +46,15 @@ chrono = "0.4.26"
console-subscriber = { version = "0.1.9", optional = true }
counter = "0.5.7"
derive_more = "0.99.17"
env_logger = "0.10.0"
ethers = { version = "2.0.6", default-features = false, features = ["rustls", "ws"] }
ewma = "0.1.1"
fdlimit = "0.2.1"
flume = "0.10.14"
fstrings = "0.2"
futures = { version = "0.3.28", features = ["thread-pool"] }
gethostname = "0.4.3"
glob = "0.3.1"
handlebars = "4.3.7"
hashbrown = { version = "0.13.2", features = ["serde"] }
hostname = "0.3.1"
@ -61,15 +65,19 @@ itertools = "0.10.5"
listenfd = "1.0.1"
log = "0.4.18"
mimalloc = { version = "0.1.37", optional = true}
num = "0.4.0"
num-traits = "0.2.15"
once_cell = { version = "1.17.2" }
ordered-float = "3.7.0"
pagerduty-rs = { version = "0.1.6", default-features = false, features = ["async", "rustls", "sync"] }
parking_lot = { version = "0.12.1", features = ["arc_lock", "nightly", "serde"] }
prettytable = "0.10.0"
proctitle = "0.1.1"
rdkafka = { version = "0.31.0" }
regex = "1.8.3"
reqwest = { version = "0.11.18", default-features = false, features = ["deflate", "gzip", "json", "tokio-rustls"] }
rmp-serde = "1.1.1"
sentry = { version = "0.31.3", default-features = false, features = ["backtrace", "contexts", "panic", "anyhow", "reqwest", "rustls", "log", "sentry-log"] }
serde = { version = "1.0.163", features = [] }
serde_json = { version = "1.0.96", default-features = false, features = ["alloc", "raw_value"] }
serde_prometheus = "0.2.2"
@ -90,5 +98,4 @@ url = "2.3.1"
uuid = { version = "1.3.3", default-features = false, features = ["fast-rng", "serde", "v4", "zerocopy"] }
[dev-dependencies]
env_logger = "0.10.0"
tokio = { version = "1.28.2", features = ["full", "test-util"] }

View File

@ -1,44 +0,0 @@
[package]
name = "web3_proxy_cli"
version = "0.1.0"
edition = "2021"
default-run = "web3_proxy_cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
entities = { path = "../entities" }
migration = { path = "../migration" }
web3_proxy = { path = "../web3_proxy" }
influxdb2 = { git = "https://github.com/llamanodes/influxdb2", features = ["rustls"] }
influxdb2-structmap = { git = "https://github.com/llamanodes/influxdb2/"}
anyhow = "1.0.71"
argh = "0.1.10"
chrono = "0.4.26"
env_logger = "0.10.0"
ethers = "2.0.6"
fdlimit = "0.2.1"
futures = "0.3.28"
glob = "0.3.1"
hashbrown = "0.13.2"
log = "0.4.18"
num = "0.4.0"
num-traits = "0.2.15"
pagerduty-rs = "0.1.6"
parking_lot = "0.12.1"
prettytable = "0.10.0"
proctitle = "0.1.1"
rdkafka = { version = "0.31.0" }
reqwest = "0.11.18"
rmp-serde = "1.1.1"
sentry = { version = "0.31.3", default-features = false, features = ["backtrace", "contexts", "panic", "anyhow", "reqwest", "rustls", "log", "sentry-log"] }
serde = "1.0.163"
serde_json = "1.0.96"
tokio = "1.28.2"
toml = "0.7.4"
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
ulid = "1.0.0"
uuid = "1.3.3"