28 lines
790 B
TOML
28 lines
790 B
TOML
[package]
|
|
name = "rustocat"
|
|
version = "0.1.0"
|
|
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", features = ["full"] }
|
|
futures = "0.3.21"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9.13"
|
|
simple-error = "0.2.3"
|
|
rand = "0.8.5"
|
|
log = "0.4.17"
|
|
fern = "0.6.1"
|
|
chrono = "0.4.23"
|
|
|
|
[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*
|