diff options
| author | diogo464 <[email protected]> | 2025-06-27 10:27:14 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-06-27 10:27:14 +0100 |
| commit | 1b6f0403df26aad813668075da01c87c08724973 (patch) | |
| tree | 4b3ef4743b5a4853ee839ee7386497150af2e3ea /Cargo.toml | |
| parent | f2df4d168045c3f97d8c332df52d067470f947c1 (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.toml | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -1,8 +1,14 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "oar-p2p" | 2 | name = "oar-p2p" |
| 3 | version = "0.1.0" | 3 | version = "0.0.0" |
| 4 | edition = "2024" | 4 | edition = "2024" |
| 5 | 5 | ||
| 6 | [profile.release] | ||
| 7 | strip = true | ||
| 8 | lto = true | ||
| 9 | codegen-units = 1 | ||
| 10 | panic = "abort" | ||
| 11 | |||
| 6 | [dependencies] | 12 | [dependencies] |
| 7 | clap = { version = "4.5.40", features = ["env"] } | 13 | clap = { version = "4.5.40", features = ["env"] } |
| 8 | color-eyre = "0.6.5" | 14 | color-eyre = "0.6.5" |
