Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (33 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (33 loc) · 1.62 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
[workspace]
resolver = "3"
members = ["crates/envit-core", "crates/envit"]
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/plannotator/envit"
authors = ["Michael Ramos"]
# Shared dependency versions live here as crates start needing them
# (gix, etc. — added when first used, not before).
[workspace.dependencies]
envit-core = { path = "crates/envit-core", version = "0.1.0" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
thiserror = "2"
# Git engine (PRD §20 D2): gix baseline, tightly feature-gated — every
# feature here must be justified by a call site.
gix = { version = "0.86", default-features = false, features = [
"blocking-network-client", # fetch over git/file transports
"blocking-http-transport-curl-rustls", # https; curl backend per D4 (reqwest backend is experimental, no proxy support)
"worktree-mutation", # tree -> directory extraction
"parallel", # multicore pack decode + checkout
"sha1", # object hashing (not on by default sans defaults)
"max-performance-safe", # zlib + multicore without unsafe/C deps
] }
clap = { version = "4", features = ["derive"] }
tempfile = "3"
[profile.release]
lto = "fat" # whole-program LTO: smaller + faster; we ship rarely, compile time is fine
codegen-units = 1 # better optimization, deterministic-ish binaries
panic = "abort" # a CLI has no one to catch a panic; drops unwind tables
strip = true