Skip to content

Using depricated aesni crate #8

@goDeni

Description

@goDeni

Aesni crate is depricated - https://crates.io/crates/aesni

Compiling rust-kpdb v0.4.2
error[E0433]: failed to resolve: use of undeclared crate or module `aesni`
  --> /Users/denis/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-kpdb-0.4.2/src/types/transformed_key.rs:39:26
   |
39 |             let cipher = aesni::AesNiEncryptor::new(aes::KeySize::KeySize256, &seed.0);
   |                          ^^^^^ use of undeclared crate or module `aesni`

error[E0425]: cannot find function `supports_aesni` in module `util`
  --> /Users/denis/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-kpdb-0.4.2/src/types/transformed_key.rs:38:18
   |
38 |         if util::supports_aesni() {
   |                  ^^^^^^^^^^^^^^ not found in `util`

Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `rust-kpdb` due to 2 previous errors

Sytem info:

  • cargo 1.59.0 (49d8809dc 2022-02-10)
  • Darwin MacBook 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions