-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
29 lines (24 loc) · 1000 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "gluon-helper"
version = "0.1.0"
edition = "2021"
[lib]
name = "libgluonhelper"
path = "src/lib.rs"
[[bin]]
name = "gluon-helper"
path = "src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
hyper = { version = "1.0.0-rc.3", features = ["full"] }
tokio = { version = "1", features = ["full"] }
http-body-util = "0.1.0-rc.2"
reqwest = { version = "0.11.18", default-features = false, features = ["json"] }
arp-toolkit = "0.3.1"
futures = "0.3.28"
pnet = { version = "0.33", features = ["std"] }
# Read more at https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true # By default, Cargo instructs compilation units to be compiled and optimized in isolation. LTO instructs the linker to optimize at the link stage. This can, for example, remove dead code and often times reduces binary size.