-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (40 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
44 lines (40 loc) · 1.56 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[package]
name = "ironshield-cli"
version = "0.2.32"
description = "IronShield CLI component"
authors = ["IronShield Developers <[email protected]>"]
respository = "https://github.com/IronShield-Tech/cli"
keywords = ["proof-of-work", "pow", "ddos", "cli", "crypto"]
readme = "README-crates.md"
categories = ["cryptography", "algorithms", "concurrency"]
license = "Apache-2.0"
edition = "2024"
[[bin]]
name = "ironshield"
path = "src/main.rs"
[features]
[dependencies]
ironshield = { version = "0.2", path = "../ironshield-rs", features = [ "toml"] }
ironshield-core = { version = "0.3", path = "../core" }
ironshield-types = { version = "0.2", path = "../types" }
color-eyre = "0.6.3"
crossterm = { version = "0.29.0", features = ["event-stream"] }
futures = "0.3.31"
ratatui = "0.29.0"
tokio = { version = "1.40.0", features = ["full"] }
tokio-util = "0.7"
reqwest = { version = "0.12.22", features = ["json"] }
serde_json = "1.0.140"
clap = { version = "4.5.41", features = ["derive"] }
thiserror = "2.0.12"
toml = "0.9.2"
serde = { version = "1.0.219", features = ["derive"] }
tempfile = "3.20.0"
num_cpus = "1.16"
# Aggressive release profile optimized for performance
[profile.release]
lto = true # Link Time Optimization - enables cross-crate inlining
opt-level = 3 # Optimize for maximum performance
strip = true # Strip debug symbols for smaller binary
codegen-units = 1 # Single codegen unit for maximum optimization opportunities
panic = "abort" # Aborting instead of unwinding results in a much smaller and performant binary