jj/lib/Cargo.toml
Benjamin Saunders d747b2f362 lib: use advisory locks on Unix targets
Allows automatic recovery when encountering stale lockfiles, and more
efficient blocking rather than polling for fresh ones. The previous
implementation is preserved for other platforms.
2023-05-07 09:52:09 -07:00

64 lines
1.5 KiB
TOML

[package]
name = "jujutsu-lib"
version = "0.7.0"
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
edition = "2021"
rust-version = "1.64"
license = "Apache-2.0"
description = "Library for Jujutsu (an experimental VCS)"
homepage = "https://github.com/martinvonz/jj"
repository = "https://github.com/martinvonz/jj"
documentation = "https://docs.rs/jujutsu"
readme = "../README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "diff_bench"
harness = false
[build-dependencies]
version_check = "0.9.4"
[dependencies]
backoff = "0.4.0"
blake2 = "0.10.6"
byteorder = "1.4.3"
bytes = "1.4.0"
chrono = { version = "0.4.24", default-features = false, features = ["std", "clock"] }
config = { version = "0.13.3", default-features = false, features = ["toml"] }
digest = "0.10.6"
git2 = "0.17.1"
hex = "0.4.3"
itertools = "0.10.5"
maplit = "1.0.2"
once_cell = "1.17.1"
pest = "2.6.0"
pest_derive = "2.6.0"
prost = "0.11.9"
rand = "0.8.5"
rand_chacha = "0.3.1"
regex = "1.7.3"
serde_json = "1.0.96"
smallvec = { version = "1.10.0", features = ["const_generics", "const_new", "union"] }
tempfile = "3.5.0"
thiserror = "1.0.40"
tracing = "0.1.37"
whoami = "1.4.0"
zstd = "0.12.3"
[target.'cfg(unix)'.dependencies]
rustix = { version = "0.37.19", features = ["fs"] }
[dev-dependencies]
assert_matches = "1.5.0"
criterion = "0.4.0"
insta = "1.29.0"
num_cpus = "1.15.0"
test-case = "3.1.0"
testutils = { path = "testutils" }
[features]
default = []
vendored-openssl = ["git2/vendored-openssl"]