2021-04-20 14:53:07 -06:00
|
|
|
[package]
|
|
|
|
name = "atuin-client"
|
2023-07-08 14:11:25 -06:00
|
|
|
edition = "2021"
|
2021-04-20 14:53:07 -06:00
|
|
|
description = "client library for atuin"
|
2023-04-14 13:18:58 -06:00
|
|
|
|
2023-09-11 02:26:05 -06:00
|
|
|
rust-version = { workspace = true }
|
2023-04-14 13:18:58 -06:00
|
|
|
version = { workspace = true }
|
|
|
|
authors = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
homepage = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
2021-04-20 14:53:07 -06:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2022-04-22 14:14:23 -06:00
|
|
|
[features]
|
|
|
|
default = ["sync"]
|
2023-08-07 05:06:48 -06:00
|
|
|
sync = ["urlencoding", "reqwest", "sha2", "hex"]
|
2022-04-22 14:14:23 -06:00
|
|
|
|
2021-04-20 14:53:07 -06:00
|
|
|
[dependencies]
|
2023-10-25 12:06:59 -06:00
|
|
|
atuin-common = { path = "../atuin-common", version = "17.0.0" }
|
2021-04-20 14:53:07 -06:00
|
|
|
|
2023-04-14 13:18:58 -06:00
|
|
|
log = { workspace = true }
|
2023-06-26 00:52:37 -06:00
|
|
|
base64 = { workspace = true }
|
2023-09-11 02:26:05 -06:00
|
|
|
time = { workspace = true }
|
2023-04-14 13:18:58 -06:00
|
|
|
clap = { workspace = true }
|
|
|
|
eyre = { workspace = true }
|
|
|
|
directories = { workspace = true }
|
|
|
|
uuid = { workspace = true }
|
|
|
|
whoami = { workspace = true }
|
|
|
|
interim = { workspace = true }
|
|
|
|
config = { workspace = true }
|
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2021-04-20 14:53:07 -06:00
|
|
|
parse_duration = "2.1.1"
|
2023-04-14 13:18:58 -06:00
|
|
|
async-trait = { workspace = true }
|
|
|
|
itertools = { workspace = true }
|
2023-06-13 01:43:06 -06:00
|
|
|
rand = { workspace = true }
|
2023-09-13 01:45:08 -06:00
|
|
|
shellexpand = "3"
|
2023-04-14 13:18:58 -06:00
|
|
|
sqlx = { workspace = true, features = ["sqlite"] }
|
2021-09-09 04:46:46 -06:00
|
|
|
minspan = "0.1.1"
|
2023-07-14 12:41:20 -06:00
|
|
|
regex = "1.9.1"
|
2023-02-14 00:14:05 -07:00
|
|
|
serde_regex = "1.1.0"
|
2023-04-14 13:18:58 -06:00
|
|
|
fs-err = { workspace = true }
|
2022-04-23 11:34:41 -06:00
|
|
|
sql-builder = "3"
|
|
|
|
lazy_static = "1"
|
2022-05-09 00:46:52 -06:00
|
|
|
memchr = "2.5"
|
2023-06-15 04:29:40 -06:00
|
|
|
rmp = { version = "0.8.11" }
|
2023-08-18 14:45:29 -06:00
|
|
|
typed-builder = { workspace = true }
|
2023-06-26 00:52:37 -06:00
|
|
|
tokio = { workspace = true }
|
|
|
|
semver = { workspace = true }
|
2023-07-14 13:44:08 -06:00
|
|
|
futures = "0.3"
|
2023-08-18 14:45:29 -06:00
|
|
|
crypto_secretbox = "0.1.1"
|
2023-08-07 05:06:48 -06:00
|
|
|
generic-array = { version = "0.14", features = ["serde"] }
|
2023-06-26 00:52:37 -06:00
|
|
|
|
|
|
|
# encryption
|
|
|
|
rusty_paseto = { version = "0.5.0", default-features = false }
|
2023-07-14 13:44:08 -06:00
|
|
|
rusty_paserk = { version = "0.2.0", default-features = false, features = [
|
|
|
|
"v4",
|
|
|
|
"serde",
|
|
|
|
] }
|
2022-04-22 14:14:23 -06:00
|
|
|
|
|
|
|
# sync
|
|
|
|
urlencoding = { version = "2.1.0", optional = true }
|
2023-04-14 13:18:58 -06:00
|
|
|
reqwest = { workspace = true, optional = true }
|
2022-04-25 00:13:30 -06:00
|
|
|
hex = { version = "0.4", optional = true }
|
|
|
|
sha2 = { version = "0.10", optional = true }
|
2022-04-22 14:14:23 -06:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
2023-07-14 13:44:08 -06:00
|
|
|
pretty_assertions = { workspace = true }
|