Add tests for crate exports ; add structure to imports/exports

This commit is contained in:
xmppftw xmppftw 2024-12-18 17:59:06 +01:00 • committed by Link Mauve
commit 7991cef904
7 changed files with 77 additions and 32 deletions

View file

@ -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> {