Packages

Snapshot-first Git object queries for Elixir — bounded, cancellable, structured reads (tree, file, search, log, diff, blame) over pluggable object databases, no worktree or checkout required

Current section

Files

Jump to
gitility Cargo.toml
Raw

Cargo.toml

# Single workspace, single lockfile: the exact-pin discipline (design doc R5)
# is auditable in one place. `crates/*` is a glob so new internal crates
# (spikes, the M5 pack reader) join without editing this file.
[workspace]
resolver = "2"
members = ["native/gitility", "crates/*"]
[workspace.package]
version = "0.1.0"
edition = "2021"
# The shipped NIF is precompiled (CI builds with `stable`), so this only
# constrains rare from-source consumer builds — keep it recent rather than
# artificially low.
rust-version = "1.82"
[workspace.dependencies]
gitility-core = { path = "crates/gitility-core" }
rustler = "0.38"
# gix-blame 0.16.0 names gix-diff with a crates.io range. Force that edge,
# along with our direct one, through the audited thread-free vendor copy so
# type identity and the NIF's no-background-thread policy stay intact.
[patch.crates-io]
gix-diff = { path = "crates/gitility-core/vendor/gix-diff" }