Expose bincode completely
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2023-04-29 08:28:25 +02:00
parent 279adff4f3
commit 8e2471c109
4 changed files with 6 additions and 3 deletions

2
Cargo.lock generated
View File

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

View File

@ -1,6 +1,6 @@
[package]
name = "light-openid"
version = "0.2.0-alpha"
version = "0.2.1-alpha"
edition = "2021"
repository = "https://gitea.communiquons.org/pierre/light-openid"
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 base64::engine::general_purpose::STANDARD as BASE64_STANDARD;
use base64::Engine as _;
pub use bincode::{Decode, Encode};
use bincode::{Decode, Encode};
use rand::Rng;
/// The lenght of the nonce used to initialize encryption

View File

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