forked from mirrors/jj
a9606a8269
libgit2 by default will respect config files present on a user's machine---in particular, when creating a new repo, it will read `init.defaultBranch` to determine what the name of the default branch should be. This makes the tests non-hermetic, so disable that feature. On my machine, `init.defaultBranch` is set in system config. Without this patch, `test_git_colocated` and `test_git_colocated_rebase_on_import` fail, but with this patch, they pass.
71 lines
1.7 KiB
TOML
71 lines
1.7 KiB
TOML
[package]
|
|
name = "jujutsu"
|
|
version = "0.4.0"
|
|
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]
|
|
atty = "0.2.14"
|
|
chrono = { version = "0.4.20", default-features = false, features = ["std", "clock"] }
|
|
clap = { version = "3.2.17", features = ["derive"] }
|
|
clap_complete = "3.2.4"
|
|
clap_mangen = "0.1"
|
|
config = { version = "0.13.2", features = ["toml"] }
|
|
criterion = "0.3.6"
|
|
dirs = "4.0.0"
|
|
git2 = "0.15.0"
|
|
hex = "0.4.3"
|
|
itertools = "0.10.3"
|
|
jujutsu-lib = { version = "=0.4.0", path = "lib"}
|
|
maplit = "1.0.2"
|
|
pest = "2.3.0"
|
|
pest_derive = "2.3"
|
|
rand = "0.8.5"
|
|
regex = "1.6.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tempfile = "3.3.0"
|
|
textwrap = "0.15.0"
|
|
thiserror = "1.0.32"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2.0.4"
|
|
criterion = "0.3.6"
|
|
criterion_bencher_compat = "0.3.4"
|
|
insta = "1.19.0"
|
|
lazy_static = "1.4.0"
|
|
regex = "1.6.0"
|
|
predicates = "2.1.1"
|
|
test-case = "2.2.1"
|
|
|
|
[features]
|
|
default = ["vendored-openssl"]
|
|
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]
|