Skip to content

Commit

Permalink
Move some more stuff outta Specta crate
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Jun 17, 2024
1 parent 9edc287 commit 91798bc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions specta-util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,11 @@
#[cfg(feature = "export")]
#[cfg_attr(docsrs2, doc(cfg(feature = "export")))]
pub mod export;

mod selection;
mod static_types;
mod type_collection;

pub use selection::selection;
pub use static_types::{Any, Unknown};
pub use type_collection::TypeCollection;
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions specta/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,14 @@ pub mod datatype;
pub mod function;
mod selection;
mod serde;
mod static_types;
/// Contains [`Type`] and everything related to it, including implementations and helper macros
pub mod r#type;
mod type_collection;

pub use crate::serde::*;
#[doc(hidden)] // TODO: Should we actually do this? I think not
pub use datatype::*;
pub use lang::*;
pub use r#type::*;
pub use selection::*;
pub use static_types::*;
pub use type_collection::TypeCollection;

/// Implements [`Type`] for a given struct or enum.
///
Expand Down

0 comments on commit 91798bc

Please sign in to comment.