mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-22 03:55:33 +00:00
Remove rand_core and import re-export.
This commit is contained in:
parent
8f34ea2ca5
commit
105ea2806a
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -949,7 +949,6 @@ dependencies = [
|
||||
"prost",
|
||||
"prost-types",
|
||||
"rand 0.9.0",
|
||||
"rand_core 0.6.4",
|
||||
"rcgen",
|
||||
"rdkafka",
|
||||
"redis",
|
||||
|
@ -105,7 +105,6 @@
|
||||
|
||||
# Authentication
|
||||
pbkdf2 = { version = "0.12", features = ["simple"] }
|
||||
rand_core = { version = "0.6.4", features = ["std"] }
|
||||
jsonwebtoken = "9.3"
|
||||
rustls = { version = "0.23", default-features = false, features = [
|
||||
"logging",
|
||||
|
@ -4,10 +4,9 @@ use diesel::{dsl, prelude::*};
|
||||
use diesel_async::RunQueryDsl;
|
||||
use email_address::EmailAddress;
|
||||
use pbkdf2::{
|
||||
password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, SaltString},
|
||||
password_hash::{rand_core::OsRng, PasswordHash, PasswordHasher, PasswordVerifier, SaltString},
|
||||
Algorithm, Pbkdf2,
|
||||
};
|
||||
use rand_core::OsRng;
|
||||
use tracing::info;
|
||||
use uuid::Uuid;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user