aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/Cargo.toml
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2023-04-17 21:12:02 +0100
committerGitHub <noreply@github.com>2023-04-17 21:12:02 +0100
commitc7d89c1703c6dc580b2ef2cbb66b0df0b1e72b50 (patch)
treeb9d7a653f3460a9f9d3a96106c273b9cbd382710 /atuin-client/Cargo.toml
parentAdd workflow dispatch for release (#888) (diff)
downloadatuin-c7d89c1703c6dc580b2ef2cbb66b0df0b1e72b50.zip
chore: uuhhhhhh crypto lol (#805)
* chore: uuhhhhhh crypto lol * remove dead code * fix key decoding * use inplace encryption
Diffstat (limited to 'atuin-client/Cargo.toml')
-rw-r--r--atuin-client/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/atuin-client/Cargo.toml b/atuin-client/Cargo.toml
index 6c5d04b9..3542510c 100644
--- a/atuin-client/Cargo.toml
+++ b/atuin-client/Cargo.toml
@@ -15,12 +15,13 @@ repository = { workspace = true }
default = ["sync"]
sync = [
"urlencoding",
- "sodiumoxide",
"reqwest",
"sha2",
"hex",
"rmp-serde",
"base64",
+ "generic-array",
+ "xsalsa20poly1305",
]
[dependencies]
@@ -60,6 +61,8 @@ rmp-serde = { version = "1.1.1", optional = true }
base64 = { workspace = true, optional = true }
tokio = { workspace = true }
semver = { workspace = true }
+xsalsa20poly1305 = { version = "0.9.0", optional = true }
+generic-array = { version = "0.14", optional = true, features = ["serde"] }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }