diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2022-05-16 23:14:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 22:14:04 +0100 |
commit | f3407710128928dcb3fa9a83c206631987bf395a (patch) | |
tree | 1e674f1e2b08637d1105e600c8466a080bfa2864 /atuin-client/Cargo.toml | |
parent | ab294cde3460665dfa78514f0e20da00984e3943 (diff) |
Cleanup dependencies – disable unnecessary or unused features (#407)
* 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.
Diffstat (limited to 'atuin-client/Cargo.toml')
-rw-r--r-- | atuin-client/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml index 6e52b93a4..b1dd8be80 100644 --- a/atuin-client/Cargo.toml +++ b/atuin-client/Cargo.toml @@ -32,7 +32,7 @@ directories = "4" uuid = { version = "1.0", features = ["v4"] } whoami = "1.1.2" chrono-english = "0.1.4" -config = "0.13" +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" |