Browse Source

Add ignore unused label to imports in lox-library

onyinyang 1 year ago
parent
commit
6074ffd13d
2 changed files with 3 additions and 0 deletions
  1. 1 0
      crates/lox-library/src/bridge_table.rs
  2. 2 0
      crates/lox-library/src/lib.rs

+ 1 - 0
crates/lox-library/src/bridge_table.rs

@@ -19,6 +19,7 @@ use base64::{engine::general_purpose, Engine as _};
 use curve25519_dalek::ristretto::CompressedRistretto;
 use curve25519_dalek::ristretto::RistrettoBasepointTable;
 use curve25519_dalek::scalar::Scalar;
+#[allow(unused_imports)]
 use rand::RngCore;
 use serde::{Deserialize, Serialize};
 use serde_with::{serde_as, DisplayFromStr};

+ 2 - 0
crates/lox-library/src/lib.rs

@@ -32,7 +32,9 @@ use curve25519_dalek::ristretto::RistrettoPoint;
 use curve25519_dalek::scalar::Scalar;
 #[cfg(test)]
 use curve25519_dalek::traits::IsIdentity;
+#[allow(unused_imports)]
 use rand::rngs::OsRng;
+#[allow(unused_imports)]
 use rand::Rng;
 #[cfg(feature = "bridgeauth")]
 use std::collections::HashMap;