2022-03-20 22:23:08 +00:00
|
|
|
[package]
|
|
|
|
name = "rustocat"
|
2023-02-05 10:34:57 +00:00
|
|
|
version = "0.1.0"
|
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
|
|
|
|
|
|
|
|
[dependencies]
|
2023-02-04 23:36:53 +00:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
2022-03-20 22:23:08 +00:00
|
|
|
futures = "0.3.21"
|
2023-02-04 23:36:53 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
2022-09-21 20:22:10 +00:00
|
|
|
serde_yaml = "0.9.13"
|
2022-03-21 10:12:59 +00:00
|
|
|
simple-error = "0.2.3"
|
2022-08-25 20:50:11 +00:00
|
|
|
rand = "0.8.5"
|
2023-02-04 23:36:53 +00:00
|
|
|
log = "0.4.17"
|
|
|
|
fern = "0.6.1"
|
|
|
|
chrono = "0.4.23"
|
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*
|