2022-03-20 22:23:08 +00:00
|
|
|
[package]
|
|
|
|
name = "rustocat"
|
2023-06-06 20:28:23 +00:00
|
|
|
version = "0.1.10"
|
2022-03-20 22:23:08 +00:00
|
|
|
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
|
2023-02-06 13:21:05 +00:00
|
|
|
[features]
|
|
|
|
default = ["consul"]
|
|
|
|
consul = []
|
2022-03-20 22:23:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-02-04 23:36:53 +00:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2023-02-06 13:21:05 +00:00
|
|
|
serde_yaml = "0.9"
|
|
|
|
rand = "0.8"
|
|
|
|
log = "0.4"
|
|
|
|
fern = "0.6"
|
|
|
|
chrono = "0.4"
|
2023-02-06 13:24:46 +00:00
|
|
|
async-trait = "0.1"
|
2023-04-14 02:13:41 +00:00
|
|
|
reqwest = { version = "0.11", features = ["json", "rustls", "hyper-tls"], default-features = false }
|
2022-03-20 22:23:08 +00:00
|
|
|
|
|
|
|
[profile.release]
|
2022-09-21 20:22:10 +00:00
|
|
|
opt-level = 3 # Optimize for size.
|
2022-03-20 22:23:08 +00:00
|
|
|
lto = true # Enable Link Time Optimization
|
|
|
|
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
|
|
|
|
panic = 'abort' # Abort on panic
|
2023-02-04 23:36:53 +00:00
|
|
|
strip = true # Strip symbols from binary*
|