Cargo.toml
| 1 | [workspace] |
| 2 | members = ["crates/otproto", "crates/otserver"] |
| 3 | # cargo-fuzz builds its crates with their own nightly flags; keeping them out of |
| 4 | # the workspace stops a stable `cargo build` from trying to compile them. |
| 5 | exclude = ["crates/otproto/fuzz"] |
| 6 | resolver = "3" |
| 7 | |
| 8 | [workspace.package] |
| 9 | version = "0.1.0" |
| 10 | edition = "2024" |
| 11 | rust-version = "1.90" |
| 12 | license = "AGPL-3.0-or-later" |
| 13 | repository = "https://github.com/schulze/opentracker" |
| 14 | |
| 15 | [workspace.dependencies] |
| 16 | otproto = { path = "crates/otproto" } |
| 17 | thiserror = "2" |
| 18 | serde = { version = "1", features = ["derive"] } |
| 19 | serde_json = "1" |
| 20 | hex = "0.4" |
| 21 | |
| 22 | [profile.release] |
| 23 | lto = "thin" |
| 24 | codegen-units = 1 |
| 25 | strip = true |
| 26 |