aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 376cab38efb05f62e67bdaba9e7d8b33a12d12fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "projectr"
version = "0.1.0"
edition = "2021"
authors = ["Toby Vincent <tobyv13@gmail.com>"]
homepage = "https://sr.ht/~tobyvin/tmuxr"
repository = "https://git.sr.ht/~tobyvin/projectr"
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.66"
clap = { version = "4.0.18", features = ["derive", "env"] }
dirs = "4.0.0"
figment = { version = "0.10.8", features = ["toml", "env", "test"] }
git2 = { version = "0.15.0", default-features = false, optional = true }
ignore = "0.4.18"
onefetch = { version = "2.14.2", optional = true }
pretty_assertions = "1.3.0"
serde = { version = "1.0.147", features = ["derive"] }
serde_with = "2.1.0"
sled = "0.34.7"
ssh_cfg = { version = "0.3.0", optional = true }
thiserror = "1.0.37"
tmux_interface = { version = "0.2.1", default-features = false, features = [
    "tmux_latest",
] }
tokio = { version = "1.23.0", features = [
    "signal",
    "tracing",
    "macros",
    "rt-multi-thread",
    "full",
] }
tracing = { version = "0.1.37", features = ["attributes"] }
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }

[dev-dependencies]
tempfile = "3.3.0"
toml = "0.5.9"

[features]
default = ["git", "preview"]
git = ["dep:git2"]
preview = ["dep:onefetch"]