aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-06-27 10:27:14 +0100
committerdiogo464 <[email protected]>2025-06-27 10:27:14 +0100
commit1b6f0403df26aad813668075da01c87c08724973 (patch)
tree4b3ef4743b5a4853ee839ee7386497150af2e3ea /Cargo.toml
parentf2df4d168045c3f97d8c332df52d067470f947c1 (diff)
Add containerization and build optimization
- Add Containerfile with multi-stage Alpine build - Add Justfile with build and push recipes for ghcr.io - Configure Cargo.toml for size optimization (strip, lto, panic=abort) - Add pre-commit hook for cargo fmt and test 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml8
1 files changed, 7 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 60bd7ea..1bff516 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,8 +1,14 @@
1[package] 1[package]
2name = "oar-p2p" 2name = "oar-p2p"
3version = "0.1.0" 3version = "0.0.0"
4edition = "2024" 4edition = "2024"
5 5
6[profile.release]
7strip = true
8lto = true
9codegen-units = 1
10panic = "abort"
11
6[dependencies] 12[dependencies]
7clap = { version = "4.5.40", features = ["env"] } 13clap = { version = "4.5.40", features = ["env"] }
8color-eyre = "0.6.5" 14color-eyre = "0.6.5"