jj/lib/Cargo.toml
Austin Seipp d858db7e85 cargo: unify a lot of crate metadata in the workspace
Summary: There's no need to go around specifying `rust-version` or `edition` or
`version` several times, now that we have a global workspace. Instead, inherit
workspace metadata from the top-level Cargo.toml file.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Change-Id: Iaf905445978ed2b3377239dcdb8a6c32
2023-08-06 16:44:33 -05:00

68 lines
1.6 KiB
TOML

[package]
name = "jj-lib"
description = "Library for Jujutsu - an experimental version control system"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
documentation.workspace = true
readme.workspace = true
[[bench]]
name = "diff_bench"
harness = false
[build-dependencies]
version_check.workspace = true
[dependencies]
backoff.workspace = true
blake2.workspace = true
byteorder.workspace = true
bytes.workspace = true
chrono.workspace = true
config.workspace = true
digest.workspace = true
git2.workspace = true
hex.workspace = true
itertools.workspace = true
maplit.workspace = true
once_cell.workspace = true
pest.workspace = true
pest_derive.workspace = true
prost.workspace = true
rand.workspace = true
rand_chacha.workspace = true
rayon.workspace = true
regex.workspace = true
serde_json.workspace = true
smallvec.workspace = true
strsim.workspace = true
tempfile.workspace = true
thiserror.workspace = true
tokio = { workspace = true, optional = true }
tracing.workspace = true
watchman_client = { workspace = true, optional = true }
whoami.workspace = true
zstd.workspace = true
[target.'cfg(unix)'.dependencies]
rustix.workspace = true
[dev-dependencies]
assert_matches.workspace = true
criterion.workspace = true
esl01-renderdag.workspace = true
insta.workspace = true
num_cpus.workspace = true
test-case.workspace = true
testutils.workspace = true
[features]
default = []
vendored-openssl = ["git2/vendored-openssl"]
watchman = ["dep:tokio", "dep:watchman_client"]