diff --git a/.gitignore b/.gitignore index c829048..e7a584a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target **/*.rs.bk Cargo.lock -*.go \ No newline at end of file +*.go +/.idea diff --git a/src/document.rs b/src/document.rs index cdd34ea..f82b260 100644 --- a/src/document.rs +++ b/src/document.rs @@ -15,6 +15,21 @@ use std::collections::HashSet; use tendril::StrTendril; use tendril::TendrilSink; +#[derive(Clone, Debug, Default)] +#[non_exhaustive] +/// Parser options +pub struct ParseOptions { + /// Keep the content of `