Skip to content

Commit

Permalink
Use with self prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
twittner committed Jan 25, 2019
1 parent f1c19c5 commit 8a19c63
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions protocols/noise/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,16 @@ pub mod ik;
pub mod ix;
pub mod xx;

pub use error::NoiseError;
pub use io::NoiseOutput;
pub use keys::{Curve25519, PublicKey, SecretKey, Keypair};
pub use self::error::NoiseError;
pub use self::io::NoiseOutput;
pub use self::keys::{Curve25519, PublicKey, SecretKey, Keypair};

use ik::IK;
use ix::IX;
use libp2p_core::{UpgradeInfo, InboundUpgrade, OutboundUpgrade};
use lazy_static::lazy_static;
use self::{ik::IK, ix::IX, xx::XX};
use snow;
use std::sync::Arc;
use tokio_io::{AsyncRead, AsyncWrite};
use xx::XX;

lazy_static! {
static ref PARAMS_IK: snow::params::NoiseParams = "Noise_IK_25519_ChaChaPoly_SHA256"
Expand Down

0 comments on commit 8a19c63

Please sign in to comment.