mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-05-07 19:38:25 +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",
|
||||||
"prost-types",
|
"prost-types",
|
||||||
"rand 0.9.0",
|
"rand 0.9.0",
|
||||||
"rand_core 0.6.4",
|
|
||||||
"rcgen",
|
"rcgen",
|
||||||
"rdkafka",
|
"rdkafka",
|
||||||
"redis",
|
"redis",
|
||||||
|
@ -105,7 +105,6 @@
|
|||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
pbkdf2 = { version = "0.12", features = ["simple"] }
|
pbkdf2 = { version = "0.12", features = ["simple"] }
|
||||||
rand_core = { version = "0.6.4", features = ["std"] }
|
|
||||||
jsonwebtoken = "9.3"
|
jsonwebtoken = "9.3"
|
||||||
rustls = { version = "0.23", default-features = false, features = [
|
rustls = { version = "0.23", default-features = false, features = [
|
||||||
"logging",
|
"logging",
|
||||||
|
@ -4,10 +4,9 @@ use diesel::{dsl, prelude::*};
|
|||||||
use diesel_async::RunQueryDsl;
|
use diesel_async::RunQueryDsl;
|
||||||
use email_address::EmailAddress;
|
use email_address::EmailAddress;
|
||||||
use pbkdf2::{
|
use pbkdf2::{
|
||||||
password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, SaltString},
|
password_hash::{rand_core::OsRng, PasswordHash, PasswordHasher, PasswordVerifier, SaltString},
|
||||||
Algorithm, Pbkdf2,
|
Algorithm, Pbkdf2,
|
||||||
};
|
};
|
||||||
use rand_core::OsRng;
|
|
||||||
use tracing::info;
|
use tracing::info;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user