Skip to content

Commit

Permalink
fix: remove rand and chrono re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Feb 15, 2024
1 parent 0418c02 commit e96f98a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tokio = { version = "1.22", features = ["full"] }
url = "2.3"
warp = { version = "0.3", default-features = false }
serde_json = "1.0"
rand = "0.8.5"

[[example]]
name = "websocket_client"
Expand Down
2 changes: 1 addition & 1 deletion examples/http_client.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use {
relay_client::{http::Client, ConnectionOptions},
relay_rpc::{
auth::{ed25519_dalek::SigningKey, rand, AuthToken},
auth::{ed25519_dalek::SigningKey, AuthToken},
domain::Topic,
},
std::{sync::Arc, time::Duration},
Expand Down
2 changes: 1 addition & 1 deletion examples/webhook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {
ConnectionOptions,
},
relay_rpc::{
auth::{ed25519_dalek::SigningKey, rand, AuthToken},
auth::{ed25519_dalek::SigningKey, AuthToken},
domain::{DecodedClientId, Topic},
jwt::VerifyableClaims,
rpc,
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use {
ConnectionOptions,
},
relay_rpc::{
auth::{ed25519_dalek::SigningKey, rand, AuthToken},
auth::{ed25519_dalek::SigningKey, AuthToken},
domain::Topic,
},
std::{sync::Arc, time::Duration},
Expand Down
2 changes: 1 addition & 1 deletion relay_rpc/src/auth.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pub use ed25519_dalek;
use {
crate::{
domain::DecodedClientId,
Expand All @@ -8,7 +9,6 @@ use {
serde::{Deserialize, Serialize},
std::{fmt::Display, time::Duration},
};
pub use {chrono, ed25519_dalek, rand};

#[cfg(feature = "cacao")]
pub mod cacao;
Expand Down

0 comments on commit e96f98a

Please sign in to comment.