mirror of
https://github.com/bytedance/g3.git
synced 2026-05-17 03:57:11 +00:00
250 lines
6.8 KiB
TOML
250 lines
6.8 KiB
TOML
[workspace]
|
|
members = [
|
|
"g3bench",
|
|
"g3fcgen",
|
|
"g3iploc",
|
|
"g3iploc/utils/db",
|
|
"g3keymess",
|
|
"g3keymess/proto",
|
|
"g3keymess/utils/ctl",
|
|
"g3mkcert",
|
|
"g3proxy",
|
|
"g3proxy/proto",
|
|
"g3proxy/utils/ctl",
|
|
"g3proxy/utils/ftp",
|
|
"g3proxy/utils/lua",
|
|
"g3tiles",
|
|
"g3tiles/proto",
|
|
"g3tiles/utils/ctl",
|
|
"lib/g3-build-env",
|
|
"lib/g3-cert-agent",
|
|
"lib/g3-clap",
|
|
"lib/g3-compat",
|
|
"lib/g3-ctl",
|
|
"lib/g3-daemon",
|
|
"lib/g3-datetime",
|
|
"lib/g3-dpi",
|
|
"lib/g3-fluentd",
|
|
"lib/g3-ftp-client",
|
|
"lib/g3-geoip-db",
|
|
"lib/g3-geoip-types",
|
|
"lib/g3-h2",
|
|
"lib/g3-hickory-client",
|
|
"lib/g3-histogram",
|
|
"lib/g3-http",
|
|
"lib/g3-icap-client",
|
|
"lib/g3-imap-proto",
|
|
"lib/g3-io-ext",
|
|
"lib/g3-ip-locate",
|
|
"lib/g3-journal",
|
|
"lib/g3-json",
|
|
"lib/g3-msgpack",
|
|
"lib/g3-openssl",
|
|
"lib/g3-redis-client",
|
|
"lib/g3-resolver",
|
|
"lib/g3-runtime",
|
|
"lib/g3-slog-types",
|
|
"lib/g3-smtp-proto",
|
|
"lib/g3-socket",
|
|
"lib/g3-socks",
|
|
"lib/g3-statsd-client",
|
|
"lib/g3-stdlog",
|
|
"lib/g3-syslog",
|
|
"lib/g3-tls-cert",
|
|
"lib/g3-tls-ticket",
|
|
"lib/g3-types",
|
|
"lib/g3-udpdump",
|
|
"lib/g3-xcrypt",
|
|
"lib/g3-yaml",
|
|
]
|
|
default-members = [
|
|
"g3bench",
|
|
"g3fcgen",
|
|
"g3iploc",
|
|
"g3iploc/utils/db",
|
|
"g3mkcert",
|
|
"g3proxy",
|
|
"g3proxy/utils/ctl",
|
|
"g3proxy/utils/ftp",
|
|
"g3proxy/utils/lua",
|
|
"g3tiles",
|
|
"g3tiles/utils/ctl",
|
|
"g3keymess",
|
|
"g3keymess/proto",
|
|
"g3keymess/utils/ctl",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
license = "Apache-2.0"
|
|
edition = "2021"
|
|
|
|
[workspace.dependencies]
|
|
#
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
rand = "0.8"
|
|
fastrand = "2.0"
|
|
memchr = "2.4"
|
|
constant_time_eq = "0.3"
|
|
uuid = "1.3"
|
|
base64 = "0.22"
|
|
regex = "1.11"
|
|
arc-swap = "1.2"
|
|
chrono = { version = "0.4.37", default-features = false }
|
|
governor = { version = "0.7", default-features = false }
|
|
ascii = "1.0"
|
|
humanize-rs = "0.1"
|
|
#
|
|
portable-atomic = "1.9"
|
|
itoa = "1.0"
|
|
atoi = "2.0"
|
|
ryu = "1.0"
|
|
num-traits = "0.2"
|
|
#
|
|
bytes = "1.0"
|
|
smallvec = "1.11"
|
|
smol_str = { version = "0.3", default-features = false }
|
|
ahash = "0.8"
|
|
rustc-hash = "2.0"
|
|
fnv = "1"
|
|
indexmap = "2.6"
|
|
ip_network = "0.4"
|
|
ip_network_table = "0.2"
|
|
radix_trie = "0.2"
|
|
fixedbitset = "0.5"
|
|
bitflags = "2.4"
|
|
lru = { version = "0.12", default-features = false }
|
|
#
|
|
digest = "0.10.7"
|
|
md-5 = "0.10.0"
|
|
sha2 = "0.10.0"
|
|
sha-1 = "0.10.0"
|
|
blake3 = { version = "1.5", default-features = false }
|
|
hex = "0.4.2"
|
|
hex-literal = "0.4"
|
|
#
|
|
idna = "1.0"
|
|
url = "2.1"
|
|
mime = "0.3"
|
|
percent-encoding = "2.1"
|
|
http = "1.0"
|
|
h2 = "0.4"
|
|
h3-quinn = "0.0.7"
|
|
h3 = "0.0.6"
|
|
#
|
|
log = "0.4"
|
|
slog = "2"
|
|
hdrhistogram = { version = "7.5", default-features = false }
|
|
#
|
|
clap = "4.5.20"
|
|
clap_complete = "4.5.33"
|
|
#
|
|
tokio = "1.41.0"
|
|
tokio-util = "0.7"
|
|
tokio-stream = "0.1"
|
|
futures-util = "0.3"
|
|
atomic-waker = "1.1"
|
|
async-trait = "0.1"
|
|
async-recursion = "1.1"
|
|
pin-project-lite = "0.2"
|
|
#
|
|
rustls-pki-types = { version = "1", default-features = false }
|
|
rustls = { version = "0.23.15", default-features = false, features = ["std", "tls12", "ring", "brotli"] }
|
|
tokio-rustls = { version = "0.26", default-features = false, features = ["tls12", "ring"] }
|
|
quinn = { version = "0.11", default-features = false, features = ["runtime-tokio"] }
|
|
quinn-udp = { version = "0.5.6", default-features = false, features = ["fast-apple-datapath"] }
|
|
#
|
|
openssl = { package = "variant-ssl", version = "0.15.5" }
|
|
openssl-sys = { package = "variant-ssl-sys", version = "0.15.5" }
|
|
openssl-probe = "0.1"
|
|
#
|
|
flume = { version = "0.11", default-features = false }
|
|
#
|
|
c-ares = { version = "11.0", default-features = false }
|
|
c-ares-resolver = { version = "10.0", default-features = false }
|
|
c-ares-sys = { version = "10.0", default-features = false }
|
|
hickory-proto = { version = "0.24.0", default-features = false }
|
|
hickory-client = { version = "0.24.0", default-features = false }
|
|
#
|
|
capnp-rpc = "0.20"
|
|
capnp = "0.20"
|
|
capnpc = "0.20"
|
|
#
|
|
libc = "0.2.156"
|
|
rustix = { version = "0.38", default-features = false }
|
|
windows-sys = "0.59"
|
|
gethostname = "0.5"
|
|
#
|
|
serde = "1.0"
|
|
yaml-rust = { package = "yaml-rust2", version = "0.9" }
|
|
serde_json = "1.0"
|
|
rmp-serde = "1"
|
|
rmp = "0.8"
|
|
rmpv = "1.0"
|
|
#
|
|
redis = { version = "0.27", default-features = false }
|
|
#
|
|
mlua = "0.10"
|
|
pyo3 = { version = "0.22", default-features = false, features = ["auto-initialize"] }
|
|
#
|
|
cfg-if = "1.0"
|
|
#
|
|
g3-build-env = { version = "0.1", path = "lib/g3-build-env" }
|
|
g3-cert-agent = { version = "0.1", path = "lib/g3-cert-agent" }
|
|
g3-clap = { version = "0.1", path = "lib/g3-clap" }
|
|
g3-compat = { version = "0.1", path = "lib/g3-compat" }
|
|
g3-ctl = { version = "0.1", path = "lib/g3-ctl" }
|
|
g3-daemon = { version = "0.2", path = "lib/g3-daemon" }
|
|
g3-datetime = { version = "0.1", path = "lib/g3-datetime" }
|
|
g3-dpi = { version = "0.1", path = "lib/g3-dpi" }
|
|
g3-fluentd = { version = "0.1", path = "lib/g3-fluentd" }
|
|
g3-ftp-client = { version = "0.3", path = "lib/g3-ftp-client" }
|
|
g3-geoip-db = { version = "0.2", path = "lib/g3-geoip-db" }
|
|
g3-geoip-types = { version = "0.1", path = "lib/g3-geoip-types" }
|
|
g3-h2 = { version = "0.1", path = "lib/g3-h2" }
|
|
g3-hickory-client = { version = "0.1", path = "lib/g3-hickory-client" }
|
|
g3-histogram = { version = "0.1", path = "lib/g3-histogram" }
|
|
g3-http = { version = "0.3", path = "lib/g3-http" }
|
|
g3-icap-client = { version = "0.2", path = "lib/g3-icap-client" }
|
|
g3-imap-proto = { version = "0.1", path = "lib/g3-imap-proto" }
|
|
g3-io-ext = { version = "0.7", path = "lib/g3-io-ext" }
|
|
g3-ip-locate = { version = "0.1", path = "lib/g3-ip-locate" }
|
|
g3-journal = { version = "0.2", path = "lib/g3-journal" }
|
|
g3-json = { version = "0.3", path = "lib/g3-json" }
|
|
g3-msgpack = { version = "0.2", path = "lib/g3-msgpack" }
|
|
g3-openssl = { version = "0.2", path = "lib/g3-openssl" }
|
|
g3-redis-client = { version = "0.1", path = "lib/g3-redis-client" }
|
|
g3-resolver = { version = "0.6", path = "lib/g3-resolver" }
|
|
g3-runtime = { version = "0.3", path = "lib/g3-runtime" }
|
|
g3-slog-types = { version = "0.1", path = "lib/g3-slog-types" }
|
|
g3-smtp-proto = { version = "0.1", path = "lib/g3-smtp-proto" }
|
|
g3-socket = { version = "0.4", path = "lib/g3-socket" }
|
|
g3-socks = { version = "0.2", path = "lib/g3-socks" }
|
|
g3-statsd-client = { version = "0.1", path = "lib/g3-statsd-client" }
|
|
g3-stdlog = { version = "0.1", path = "lib/g3-stdlog" }
|
|
g3-syslog = { version = "0.6", path = "lib/g3-syslog" }
|
|
g3-tls-cert = { version = "0.5", path = "lib/g3-tls-cert" }
|
|
g3-tls-ticket = { version = "0.1", path = "lib/g3-tls-ticket" }
|
|
g3-types = { version = "0.5", path = "lib/g3-types" }
|
|
g3-udpdump = { version = "0.1", path = "lib/g3-udpdump" }
|
|
g3-xcrypt = { version = "0.1", path = "lib/g3-xcrypt" }
|
|
g3-yaml = { version = "0.5.0", path = "lib/g3-yaml" }
|
|
|
|
[profile.release-lto]
|
|
inherits = "release"
|
|
strip = true
|
|
lto = true
|
|
|
|
[profile.release-dbg]
|
|
inherits = "release"
|
|
debug = 1
|
|
debug-assertions = false
|
|
|
|
[profile.release-z]
|
|
inherits = "release"
|
|
opt-level = "z"
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
strip = true
|
|
lto = true
|