Skip to content

Commit

Permalink
feat: fix new cargo lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Feb 20, 2024
1 parent 84430ad commit 1c21c9c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/cat-data-service/src/types/event.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(deprecated)]
use super::{serialize_option_datetime_as_rfc3339, SerdeType};
use chrono::{DateTime, Utc};
use event_db::types::event::{
Expand Down
1 change: 1 addition & 0 deletions src/cat-data-service/src/types/registration.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(deprecated)]
use super::{serialize_datetime_as_rfc3339, SerdeType};
use chrono::{DateTime, Utc};
use event_db::types::registration::{
Expand Down
1 change: 1 addition & 0 deletions src/cat-data-service/src/types/vit_ss/fund.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(deprecated)]
use super::super::{serialize_datetime_as_rfc3339, SerdeType};
use chrono::{DateTime, Utc};
use event_db::types::vit_ss::{
Expand Down
1 change: 1 addition & 0 deletions src/cat-data-service/src/types/vit_ss/vote_plan.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(deprecated)]
use super::super::{serialize_datetime_as_rfc3339, SerdeType};
use chrono::{DateTime, Utc};
use event_db::types::vit_ss::vote_plan::Voteplan;
Expand Down
1 change: 1 addition & 0 deletions src/chain-libs/chain-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ mod kes;
mod key;
pub mod multilock;
mod sign;
#[allow(hidden_glob_reexports)]
mod vrf;

pub mod role;
Expand Down
2 changes: 1 addition & 1 deletion src/jormungandr/jormungandr/src/network/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod connect;

pub use self::connect::{connect, ConnectError, ConnectFuture, ConnectHandle};
pub use self::connect::{connect, ConnectError, ConnectHandle};
use super::{
buffer_sizes,
convert::{Decode, Encode},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod tally;

pub use committee::CommitteeCommand;
pub use crs::CrsCommand;
pub use election_public_key::ElectionPublicKeyCommand;

pub use tally::TallyCommand;

#[derive(Debug)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ mod secret;
pub use block0::Block0ConfigurationBuilder;
pub use jormungandr_config::EitherHashOrBlock0;
pub use node::{NodeConfigBuilder, NodeConfigManager};
pub use secret::{NodeSecretExtension, SecretModelFactory};

lazy_static! {
static ref NEXT_AVAILABLE_PORT_NUMBER: AtomicU16 = AtomicU16::new(10000);
Expand Down

0 comments on commit 1c21c9c

Please sign in to comment.