ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/Cargo.toml
Martin von Zweigbergk 866539f977 graphlog: use insta for tests
It's much easier to update the tests with `insta`.

It also presents you with the bad output including real newlines (a
diff, actually), so we can remove the `println!()` calls we had in
order to get readable output without escaped newlines.
2022-05-11 04:42:44 -07:00

70 lines
1.5 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 = "0.4.19"
clap = { version = "3.1.17", features = ["derive"] }
clap_complete = "3.1.4"
clap_mangen = "0.1"
config = "0.13.1"
criterion = "0.3.5"
dirs = "4.0.0"
git2 = "0.14.2"
hex = "0.4.3"
itertools = "0.10.3"
jujutsu-lib = { version = "=0.4.0", path = "lib"}
maplit = "1.0.2"
pest = "2.1.3"
pest_derive = "2.1.0"
rand = "0.8.5"
regex = "1.5.5"
serde = { version = "1.0", features = ["derive"] }
tempfile = "3.3.0"
textwrap = "0.15.0"
thiserror = "1.0.31"
[dev-dependencies]
assert_cmd = "2.0.4"
criterion = "0.3.5"
criterion_bencher_compat = "0.3.4"
insta = "1.14.0"
regex = "1.5.5"
predicates = "2.1.1"
test-case = "2.0.2"
[features]
default = ["vendored-openssl"]
vendored-openssl = ["git2/vendored-openssl", "jujutsu-lib/vendored-openssl"]