| 1 |
[workspace] |
| 2 |
members = ["crates/oxy-core", "crates/oxy-server", "."] |
| 3 |
resolver = "2" |
| 4 |
|
| 5 |
[workspace.package] |
| 6 |
version = "0.2.0" |
| 7 |
edition = "2021" |
| 8 |
license = "MIT OR Apache-2.0" |
| 9 |
|
| 10 |
[package] |
| 11 |
name = "oxy" |
| 12 |
version.workspace = true |
| 13 |
edition.workspace = true |
| 14 |
license.workspace = true |
| 15 |
description = "Oxygen: a distributed, commutative version control system" |
| 16 |
default-run = "oxy" |
| 17 |
|
| 18 |
[[bin]] |
| 19 |
name = "oxy" |
| 20 |
path = "src/main.rs" |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
oxy-core = { path = "crates/oxy-core" } |
| 24 |
oxy-server = { path = "crates/oxy-server" } |
| 25 |
clap = { version = "4", features = ["derive"] } |
| 26 |
anyhow = "1" |
| 27 |
libc = "0.2" |
| 28 |
console = "0.15" |
| 29 |
indicatif = "0.17" |
| 30 |
serde_json = "1" |
| 31 |
clap_complete = "4" |
| 32 |
clap_mangen = "0.3" |
| 33 |
mimalloc = { version = "0.1", default-features = false } |
| 34 |
|
| 35 |
[features] |
| 36 |
# A counting global allocator: OXY_TIMINGS=1 then reports memory per phase. |
| 37 |
alloc-stats = [] |
| 38 |
|
| 39 |
[dev-dependencies] |
| 40 |
tempfile = "3" |