forked from mirrors/jj
84a4dee673
This patch adds a `legacy-thrift` Cargo feature that's enabled by default. If it's disabled, the upgrade from Thrift-based operation log does not happen, and the `thrift` depdendency is not included.
79 lines
2.1 KiB
TOML
79 lines
2.1 KiB
TOML
[package]
|
|
name = "jujutsu"
|
|
version = "0.5.1"
|
|
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.60" # Remember to update CI
|
|
license = "Apache-2.0"
|
|
description = "Jujutsu (an experimental VCS)"
|
|
homepage = "https://github.com/martinvonz/jj"
|
|
repository = "https://github.com/martinvonz/jj"
|
|
documentation = "https://docs.rs/jujutsu"
|
|
readme = "README.md"
|
|
keywords = ["VCS", "DVCS", "SCM", "Git", "Mercurial"]
|
|
categories = ["command-line-utilities", "development-tools"]
|
|
default-run = "jj"
|
|
|
|
[[bin]]
|
|
name = "jj"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "fake-editor"
|
|
path = "testing/fake-editor.rs"
|
|
|
|
[[bin]]
|
|
name = "fake-diff-editor"
|
|
path = "testing/fake-diff-editor.rs"
|
|
|
|
[[bench]]
|
|
name = "diff_bench"
|
|
harness = false
|
|
|
|
[workspace]
|
|
members = ["lib"]
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4.23", default-features = false, features = ["std", "clock"] }
|
|
clap = { version = "4.0.29", features = ["derive", "deprecated"] }
|
|
clap_complete = "4.0.6"
|
|
clap_mangen = "0.2.5"
|
|
config = { version = "0.13.2", default-features = false, features = ["toml"] }
|
|
crossterm = { version = "0.25", default-features = false }
|
|
dirs = "4.0.0"
|
|
git2 = "0.15.0"
|
|
hex = "0.4.3"
|
|
itertools = "0.10.5"
|
|
jujutsu-lib = { version = "=0.5.1", path = "lib", default-features = false }
|
|
once_cell = "1.15.0"
|
|
maplit = "1.0.2"
|
|
pest = "2.5.0"
|
|
pest_derive = "2.5"
|
|
rand = "0.8.5"
|
|
regex = "1.7.0"
|
|
rpassword = "7.2.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
slab = "0.4.7"
|
|
tempfile = "3.3.0"
|
|
textwrap = "0.16.0"
|
|
timeago = { version = "0.3.1", default-features = false }
|
|
thiserror = "1.0.37"
|
|
tracing = "0.1.37"
|
|
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["std", "ansi", "env-filter", "fmt"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { version = "0.2.137" }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0.6"
|
|
criterion = "0.4.0"
|
|
criterion_bencher_compat = "0.4.0"
|
|
insta = "1.21.2"
|
|
regex = "1.7.0"
|
|
predicates = "2.1.3"
|
|
test-case = "2.2.2"
|
|
testutils = { path = "lib/testutils" }
|
|
|
|
[features]
|
|
default = ["vendored-openssl", "jujutsu-lib/legacy-thrift"]
|
|
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]
|