summaryrefslogtreecommitdiffstats
path: root/atuin-client/Cargo.toml
blob: aba50397e7281605d30aa6ef71ad28ca77062f78 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "atuin-client"
version = "0.9.0"
authors = ["Ellie Huxtable <ellie@elliehuxtable.com>"]
edition = "2018"
license = "MIT"
description = "client library for atuin"
homepage = "https://atuin.sh"
repository = "https://github.com/ellie/atuin"

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

[features]
default = ["sync"]
sync = [
  "urlencoding",
  "sodiumoxide",
  "reqwest",
  "rust-crypto",
  "rmp-serde",
  "base64",
]

[dependencies]
atuin-common = { path = "../atuin-common", version = "0.9.0" }

log = "0.4"
chrono = { version = "0.4", features = ["serde"] }
eyre = "0.6"
directories = "4"
uuid = { version = "1.0", features = ["v4"] }
whoami = "1.1.2"
chrono-english = "0.1.4"
config = "0.13"
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1.0.75"
parse_duration = "2.1.1"
async-trait = "0.1.49"
itertools = "0.10.3"
shellexpand = "2"
sqlx = { version = "0.5", features = [
  "runtime-tokio-rustls",
  "chrono",
  "sqlite",
] }
minspan = "0.1.1"
regex = "1.5.4"
fs-err = "2.7"

# sync
urlencoding = { version = "2.1.0", optional = true }
sodiumoxide = { version = "0.2.6", optional = true }
reqwest = { version = "0.11", features = [
  "json",
  "rustls-tls",
], default-features = false, optional = true }
rust-crypto = { version = "^0.2", optional = true }
rmp-serde = { version = "1.0.0", optional = true }
base64 = { version = "0.13.0", optional = true }

[dev-dependencies]
tokio = { version = "1", features = ["full"] }