Files
rustocat/Cargo.toml
Fabian Stamm a23c5217d1
Some checks failed
CI / build (push) Has been cancelled
Switch to tracing from log
2025-11-05 22:29:21 +01:00

34 lines
982 B
TOML

[package]
name = "rustocat"
version = "0.1.13"
edition = "2021"
description = "Socat in rust with many less features and a configuration file"
license = "ISC"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["consul"]
consul = ["reqwest"]
[dependencies]
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
rand = "0.8"
chrono = "0.4"
async-trait = "0.1"
reqwest = { version = "0.12", optional = true, features = [
"json",
"default-tls",
], default-features = false }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[profile.release]
opt-level = 3 # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*