2022-03-20 22:23:08 +00:00
|
|
|
[package]
|
|
|
|
name = "rustocat"
|
2022-03-21 10:12:59 +00:00
|
|
|
version = "0.0.3"
|
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]
|
|
|
|
tokio = { version = "1.17.0", features = ["full"] }
|
|
|
|
futures = "0.3.21"
|
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
serde_json = "1.0.79"
|
2022-03-21 10:12:59 +00:00
|
|
|
serde_yaml = "0.8.23"
|
|
|
|
simple-error = "0.2.3"
|
2022-03-20 22:23:08 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 'z' # 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*
|