Develop first version #1

Merged
pierre merged 13 commits from feat-base-lib into master 2023-04-29 07:49:36 +00:00
4 changed files with 6 additions and 3 deletions
Showing only changes of commit 8e2471c109 - Show all commits

2
Cargo.lock generated
View File

@ -478,7 +478,7 @@ checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317"
[[package]] [[package]]
name = "light-openid" name = "light-openid"
version = "0.2.0-alpha" version = "0.2.1-alpha"
dependencies = [ dependencies = [
"aes-gcm", "aes-gcm",
"base64", "base64",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "light-openid" name = "light-openid"
version = "0.2.0-alpha" version = "0.2.1-alpha"
edition = "2021" edition = "2021"
repository = "https://gitea.communiquons.org/pierre/light-openid" repository = "https://gitea.communiquons.org/pierre/light-openid"
authors = ["Pierre HUBERT <pierre.git@communiquons.org>"] authors = ["Pierre HUBERT <pierre.git@communiquons.org>"]

View File

@ -5,7 +5,7 @@ use aes_gcm::aead::{Aead, OsRng};
use aes_gcm::{Aes256Gcm, Key, KeyInit, Nonce}; use aes_gcm::{Aes256Gcm, Key, KeyInit, Nonce};
use base64::engine::general_purpose::STANDARD as BASE64_STANDARD; use base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
use base64::Engine as _; use base64::Engine as _;
pub use bincode::{Decode, Encode}; use bincode::{Decode, Encode};
use rand::Rng; use rand::Rng;
/// The lenght of the nonce used to initialize encryption /// The lenght of the nonce used to initialize encryption

View File

@ -9,3 +9,6 @@ pub mod primitives;
#[cfg(feature = "crypto-wrapper")] #[cfg(feature = "crypto-wrapper")]
pub mod crypto_wrapper; pub mod crypto_wrapper;
#[cfg(feature = "crypto-wrapper")]
pub use bincode;