| 1 |
[package] |
| 2 |
name = "jj-lib" |
| 3 |
description = "Library for Jujutsu - an experimental version control system" |
| 4 |
autotests = false |
| 5 |
|
| 6 |
version = { workspace = true } |
| 7 |
edition = { workspace = true } |
| 8 |
rust-version = { workspace = true } |
| 9 |
license = { workspace = true } |
| 10 |
homepage = { workspace = true } |
| 11 |
repository = { workspace = true } |
| 12 |
documentation = { workspace = true } |
| 13 |
readme = { workspace = true } |
| 14 |
|
| 15 |
include = [ |
| 16 |
"/LICENSE", |
| 17 |
"/src/", |
| 18 |
"/tests/", |
| 19 |
"!*.pending-snap", |
| 20 |
"!*.snap*", |
| 21 |
] |
| 22 |
|
| 23 |
|
| 24 |
[[test]] |
| 25 |
name = "runner" |
| 26 |
|
| 27 |
[dependencies] |
| 28 |
async-trait = { workspace = true } |
| 29 |
blake2 = { workspace = true } |
| 30 |
bstr = { workspace = true } |
| 31 |
chrono = { workspace = true } |
| 32 |
clru = { workspace = true } |
| 33 |
digest = { workspace = true } |
| 34 |
dunce = { workspace = true } |
| 35 |
either = { workspace = true } |
| 36 |
etcetera = { workspace = true } |
| 37 |
futures = { workspace = true } |
| 38 |
gix = { workspace = true, optional = true } |
| 39 |
gix-ignore = { workspace = true } |
| 40 |
globset = { workspace = true } |
| 41 |
indexmap = { workspace = true } |
| 42 |
interim = { workspace = true } |
| 43 |
itertools = { workspace = true } |
| 44 |
jj-core = { workspace = true } |
| 45 |
maplit = { workspace = true } |
| 46 |
memchr = { workspace = true } |
| 47 |
once_cell = { workspace = true } |
| 48 |
pest = { workspace = true } |
| 49 |
pest_derive = { workspace = true } |
| 50 |
pollster = { workspace = true } |
| 51 |
prost = { workspace = true } |
| 52 |
rand = { workspace = true } |
| 53 |
rand_chacha = { workspace = true } |
| 54 |
rayon = { workspace = true } |
| 55 |
ref-cast = { workspace = true } |
| 56 |
regex = { workspace = true } |
| 57 |
serde = { workspace = true } |
| 58 |
smallvec = { workspace = true } |
| 59 |
strsim = { workspace = true } |
| 60 |
tempfile = { workspace = true } |
| 61 |
thiserror = { workspace = true } |
| 62 |
tokio = { workspace = true, optional = true } |
| 63 |
toml_edit = { workspace = true } |
| 64 |
tracing = { workspace = true } |
| 65 |
watchman_client = { workspace = true, optional = true } |
| 66 |
|
| 67 |
[target.'cfg(unix)'.dependencies] |
| 68 |
rustix = { workspace = true } |
| 69 |
|
| 70 |
[dev-dependencies] |
| 71 |
assert_matches = { workspace = true } |
| 72 |
eyre = { workspace = true } |
| 73 |
indoc = { workspace = true } |
| 74 |
insta = { workspace = true } |
| 75 |
num_cpus = { workspace = true } |
| 76 |
pretty_assertions = { workspace = true } |
| 77 |
proptest = { workspace = true } |
| 78 |
rustversion = { workspace = true } |
| 79 |
test-case = { workspace = true } |
| 80 |
testutils = { workspace = true } |
| 81 |
tokio = { workspace = true, features = ["full"] } |
| 82 |
|
| 83 |
[target.'cfg(unix)'.dev-dependencies] |
| 84 |
nix = { workspace = true, features = [ "fs" ] } |
| 85 |
|
| 86 |
[features] |
| 87 |
default = ["git"] |
| 88 |
git = ["dep:gix"] |
| 89 |
watchman = ["dep:watchman_client", "dep:tokio"] |
| 90 |
testing = ["git"] |
| 91 |
|
| 92 |
[lints] |
| 93 |
workspace = true |