f340771012
* Disable unnecessary features of config crate, keep only toml The atuin documentation only mentions the TOML format for configuration files, but the config crate supports many other formats by default, which increases the binary size by about 300 kiB. * Disable unused features of cli-table crate This doesn't seem to have noticeable effect on the binary size, but disabling them cleans up the dependency tree a bit.
67 lines
1.6 KiB
TOML
67 lines
1.6 KiB
TOML
[package]
|
|
name = "atuin-client"
|
|
version = "0.9.1"
|
|
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",
|
|
"sha2",
|
|
"hex",
|
|
"rmp-serde",
|
|
"base64",
|
|
]
|
|
|
|
[dependencies]
|
|
atuin-common = { path = "../atuin-common", version = "0.9.1" }
|
|
|
|
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 = { version = "0.13", default-features = false, features = ["toml"] }
|
|
serde = { version = "1.0.137", features = ["derive"] }
|
|
serde_json = "1.0.81"
|
|
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"
|
|
sql-builder = "3"
|
|
lazy_static = "1"
|
|
memchr = "2.5"
|
|
|
|
# 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 }
|
|
hex = { version = "0.4", optional = true }
|
|
sha2 = { version = "0.10", optional = true }
|
|
rmp-serde = { version = "1.0.0", optional = true }
|
|
base64 = { version = "0.13.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|