diff options
author | 2024-11-24 02:05:41 +0000 | |
---|---|---|
committer | 2024-11-24 02:05:41 +0000 | |
commit | 87e6ff405b0d687ed341f304fba7c5b391a49359 (patch) | |
tree | f56ddd5271fb2bb104f641c035e58a744038f5cf /src/lib.rs | |
parent | c1e6f7e918eacaad9c8b1a4b27fcd4d6245aaf68 (diff) | |
download | peanuts-87e6ff405b0d687ed341f304fba7c5b391a49359.tar.gz peanuts-87e6ff405b0d687ed341f304fba7c5b391a49359.tar.bz2 peanuts-87e6ff405b0d687ed341f304fba7c5b391a49359.zip |
misc
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,16 @@ -mod element; +pub mod declaration; +pub mod element; mod error; pub mod reader; mod writer; pub mod xml; pub type Result<T> = std::result::Result<T, error::Error>; + +pub const XML_NS: &str = "http://www.w3.org/XML/1998/namespace"; +pub const XMLNS_NS: &str = "http://www.w3.org/2000/xmlns/"; + +pub use element::Element; +pub use error::Error; +pub use reader::Reader; +pub use writer::Writer; |