jj/lib/Cargo.toml

62 lines
1.8 KiB
TOML
Raw Normal View History

[package]
name = "jujutsu-lib"
version = "0.6.0"
authors = ["Martin von Zweigbergk <martinvonz@google.com>"]
edition = "2021"
rust-version = "1.60"
2021-01-03 19:45:07 +03:00
license = "Apache-2.0"
description = "Library for Jujutsu (an experimental VCS)"
2021-01-03 19:45:07 +03:00
homepage = "https://github.com/martinvonz/jj"
repository = "https://github.com/martinvonz/jj"
documentation = "https://docs.rs/jujutsu"
2021-01-03 19:45:07 +03:00
readme = "../README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
protobuf-codegen = "3.2.0"
version_check = "0.9.4"
[dependencies]
2022-02-10 09:15:38 +03:00
backoff = "0.4.0"
blake2 = "0.10.5"
bytes = "1.3.0"
byteorder = "1.4.3"
chrono = { version = "0.4.23", default-features = false, features = ["std", "clock"] }
config = { version = "0.13.3", default-features = false, features = ["toml"] }
digest = "0.10.6"
git2 = "0.15.0"
hex = "0.4.3"
itertools = "0.10.5"
2020-12-23 20:39:09 +03:00
maplit = "1.0.2"
once_cell = "1.16.0"
pest = "2.5.1"
pest_derive = "2.5.0"
protobuf = { version = "3.0.1", features = ["with-bytes"] }
rand = "0.8.5"
regex = "1.7.0"
serde_json = "1.0.89"
2022-02-10 09:19:16 +03:00
tempfile = "3.3.0"
thiserror = "1.0.37"
# thrift v0.17.0 (specified by hash for security reasons)
thrift = { git = "https://github.com/apache/thrift", rev = "4d493e867b349f3475203ef9848353b315203c51", default-features = false, optional = true }
uuid = { version = "1.2.2", features = ["v4"] }
whoami = "1.2.3"
zstd = "0.12.0"
tracing = "0.1.37"
[dev-dependencies]
assert_matches = "1.5.0"
insta = "1.21.2"
num_cpus = "1.14.0"
test-case = "2.2.2"
testutils = { path = "testutils" }
[features]
default = ["legacy-thrift"]
vendored-openssl = ["git2/vendored-openssl"]
# Enable upgrade of repositories created with storage backends based on
# Thrift format. Only repos accessed by an unreleased jj version in the
# (0.5.1,0.6.0) range used Thrift.
legacy-thrift = ["thrift"]