remove non-pub
re-exports in rcore
This commit is contained in:
parent
62aaad07bb
commit
b4610a9d2c
@ -24,9 +24,7 @@ use crate::func::context::*;
|
||||
use crate::func::*;
|
||||
use crate::mode::*;
|
||||
|
||||
use self::addresses::{Addresses, InliningAddresses};
|
||||
pub use self::context::Context;
|
||||
use self::dectx::{DeCtx, DeCtxT};
|
||||
pub use self::demoted::Demoted;
|
||||
pub use self::diagnostic::Diagnostic;
|
||||
pub use self::hashing::{Hash, HASH_SIZE, HASH_ZEROS};
|
||||
|
@ -1,4 +1,7 @@
|
||||
use super::*;
|
||||
use super::{
|
||||
dectx::{DeCtx, DeCtxT},
|
||||
*,
|
||||
};
|
||||
|
||||
/// Preferred way to parse [Point]s off of a [Serializer].
|
||||
pub(super) struct Addresses {
|
||||
@ -86,7 +89,7 @@ impl<'a, Ctx: Context<'a>, F: FactoryParse<'a, Ctx>> FactoryExt<'a, Ctx> for F {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::rcore::*;
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn can_read_one_address() {
|
||||
|
@ -1,9 +1,9 @@
|
||||
use super::*;
|
||||
use super::{addresses::Addresses, *};
|
||||
|
||||
pub(super) struct DeCtxT<'a: 'c, 'c, Ctx: Context<'a>> {
|
||||
pub deserializer: &'c mut dyn Deserializer,
|
||||
pub resolver: &'c Arc<dyn Resolver<'a, Ctx>>,
|
||||
pub addresses: &'c mut Addresses,
|
||||
pub(super) deserializer: &'c mut dyn Deserializer,
|
||||
pub(super) resolver: &'c Arc<dyn Resolver<'a, Ctx>>,
|
||||
pub(super) addresses: &'c mut Addresses,
|
||||
}
|
||||
|
||||
pub(super) trait DeCtx<'a, Ctx: Context<'a>> {
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::*;
|
||||
use super::{dectx::DeCtx, *};
|
||||
|
||||
/// Demoted [`InCtx`], returned by [`InCtx::demote`]. Use when a concrete type is required.
|
||||
pub struct Demoted<'a: 'c, 'c, Ctx: Context<'a>>(pub(super) &'c mut dyn DeCtx<'a, Ctx>);
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::*;
|
||||
use super::{addresses::InliningAddresses, dectx::DeCtx, *};
|
||||
|
||||
/// Inlining ([Stream]ed) context.
|
||||
pub trait InCtx<'a, Ctx: Context<'a>>: Stream {
|
||||
|
Loading…
Reference in New Issue
Block a user