Skip to content

Commit b805cb8

Browse files
committed
reorganise exports
1 parent 0039691 commit b805cb8

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

cli/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use bgpfu::query::RpslEvaluator;
1+
use bgpfu::RpslEvaluator;
22

33
use clap::Parser;
44

cli/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@
4343
// docs.rs build config
4444
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4545

46-
// silence unused dev-dependency warnings
47-
#[cfg(test)]
48-
mod deps {
49-
use version_sync as _;
50-
}
51-
5246
mod cli;
5347
pub use self::cli::main;
5448

5549
mod format;
5650
pub(crate) use self::format::Format;
51+
52+
// silence unused dev-dependency warnings
53+
#[cfg(test)]
54+
mod deps {
55+
use version_sync as _;
56+
}

lib/src/lib.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,16 @@
4343
// docs.rs build config
4444
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
4545

46+
/// Error types
47+
mod error;
48+
pub use self::error::Error;
49+
50+
/// Query pipelining and response handling.
51+
mod query;
52+
pub use self::query::RpslEvaluator;
53+
4654
// silence unused dev-dependency warnings
4755
#[cfg(test)]
4856
mod deps {
4957
use version_sync as _;
5058
}
51-
52-
/// Error types
53-
pub mod error;
54-
/// Query pipelining and response handling.
55-
pub mod query;

0 commit comments

Comments
 (0)