Add tests for crate exports ; add structure to imports/exports
This commit is contained in:
parent
1b4a307919
commit
7991cef904
7 changed files with 77 additions and 32 deletions
|
|
@ -65,9 +65,9 @@ use quote::{quote, ToTokens};
|
|||
use minidom::{IntoAttributeValue, Node};
|
||||
|
||||
mod error;
|
||||
pub use crate::error::Error;
|
||||
|
||||
mod parts;
|
||||
|
||||
pub use crate::error::Error;
|
||||
pub use parts::{DomainPart, DomainRef, NodePart, NodeRef, ResourcePart, ResourceRef};
|
||||
|
||||
fn length_check(len: usize, error_empty: Error, error_too_long: Error) -> Result<(), Error> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue