Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rust-argon2 = { version = "3.0", default-features = false }
name = "devolutions-crypto"
version.workspace = true
authors = ["Mathieu Morrissette <mmorrissette@devolutions.net>", "Sebastien Duquette <sduquette@devolutions.net>"]
edition = "2021"
edition = "2024"
readme = "README_RUST.md"
license = "MIT OR Apache-2.0"
homepage = "https://github.com/Devolutions/devolutions-crypto"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "devolutions-crypto-cli"
version.workspace = true
authors = ["Devolutions <network@devolutions.net>"]
edition = "2018"
edition = "2024"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
4 changes: 2 additions & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::{Parser, Subcommand};
use devolutions_crypto::utils::{base64_decode, base64_encode};
use devolutions_crypto::DEFAULT_PBKDF2_ITERATIONS;
use devolutions_crypto::utils::{base64_decode, base64_encode};
use std::{borrow::Borrow, convert::TryFrom};

/// Gives a CLI interface to Devolutions Crypto Library
Expand Down Expand Up @@ -236,7 +236,7 @@ fn main() {
}

fn generate_key() {
use devolutions_crypto::key::{generate_secret_key, KeyVersion};
use devolutions_crypto::key::{KeyVersion, generate_secret_key};

let key: Vec<u8> = generate_secret_key(KeyVersion::Latest).into();
println!("{}", base64_encode(&key));
Expand Down
2 changes: 1 addition & 1 deletion ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "devolutions-crypto-ffi"
version.workspace = true
edition = "2021"
edition = "2024"

[lib]
name = "devolutions_crypto_ffi"
Expand Down
Loading
Loading