[package]
name = "pijul"
description = "A distributed version control system."
version = "1.0.0-beta.2"
authors = ["Pierre-Étienne Meunier <pe@pijul.org>"]
edition = "2018"
repository = "https://nest.pijul.com/pijul/pijul"
license = "GPL-2.0-or-later"
include = [
"README.md",
"Cargo.toml",
"src"
]

[features]
git = [ "git2" ]
keep-changes = []
default = [ "keep-changes", "openssl" ]
openssl = [ "thrussh/openssl", "thrussh-keys/openssl" ]

[dependencies]
human-panic = "1.0"
clap = { version = "3.2", features = [ "derive", "cargo" ] }
anyhow = "1.0"
libpijul = { path = "../libpijul", version = "1.0.0-beta.3", features = [ "tarball" ] }
chrono = { version = "0.4" }
ignore = "0.4"
env_logger = "0.8"
log = "0.4"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
toml = "0.5"
tokio = { version = "1.15", features = [ "rt-multi-thread", "macros", "sync", "fs" ] }
thrussh = "0.33.2"
thrussh-keys = "0.21"
thrussh-config = "0.5"
reqwest = { version = "0.11", features = [ "stream", "json" ] }
byteorder = "1.3"
sanakirja = { version="1.2.16", features = [ "crc32" ] }
futures = "0.3"
dirs-next = "2.0"
lazy_static = "1.4"
regex = "1.5"
whoami = "1.2"
git2 = { version = "0.13", optional = true }
rand = "0.8"
edit = "0.1.3"
data-encoding = "2.3"
futures-util = "0.3"
terminal_size = "0.1"
termcolor = "1.1"
atty = "0.2"
num_cpus = "1.13"
canonical-path = "2.0"
ctrlc = "=3.2.0"
url = "2.2"
fs2 = "0.4"
path-slash = "0.1"
bytes = "1.0"
rlimit = "0.6"
thiserror = "1.0.31"
bincode = "1.3"
dialoguer = { version = "0.10.1", features = [ "fuzzy-select" ] }
dateparser = "0.1.6"
validator = { version = "0.15.0", default-features = false }
once_cell = "1.13.0"
ptree = { version = "0.4.0", default-features = false, features = ["ansi"] }
keyring = "1.2.0"

[target.'cfg(unix)'.dependencies]
pager = "0.16.0"