Skip to content

Commit

Permalink
chore: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Dec 12, 2023
1 parent 5b2bfc8 commit a7260f7
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 406 deletions.
266 changes: 0 additions & 266 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions kytz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,3 @@ bytes = "1.5.0"
rand = "0.8.5"
thiserror = "1.0.50"
z32 = "1.0.2"

# cli
clap = { version = "4.4.11", optional = true, features = ["derive"] }
dirs-next = { version = "2.0.0", optional = true }

[features]
default = ["cli"]
cli = ["clap", "dirs-next"]

[[bin]]
name = "kytes"
required-features = ["cli"]
25 changes: 0 additions & 25 deletions kytz/src/cli/config.rs

This file was deleted.

1 change: 0 additions & 1 deletion kytz/src/cli/mod.rs

This file was deleted.

3 changes: 1 addition & 2 deletions kytz/src/crypto/encryption.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
//! Encryption functions.
use crate::{Error, Result};
use rand::{Rng, RngCore};

use crate::crypto::{Key, Nonce};
use crate::crypto::Key;

/// Compute the length of a ciphertext, given the length of a plaintext.
///
Expand Down
Loading

0 comments on commit a7260f7

Please sign in to comment.