Expand description
marque-ism — ISM vocabulary types, generated CVE enums, and core spans.
This crate is the leaf dependency in the marque workspace. It owns:
Spanand scanner candidate types (zero-copy position tracking)IsmAttributes(the canonical parsed marking representation)TokenSettrait andCapcoTokenSet(Aho-Corasick CVE token matching)- Generated code from ODNI ISM schemas (CVE enums, validators, migrations)
WASM-safe: no I/O, no format dependencies, no platform-specific code.
Re-exports§
pub use attrs::AeaMarking;pub use attrs::Classification;pub use attrs::DeclassExemption;pub use attrs::DissemControl;pub use attrs::FgiClassification;pub use attrs::FgiMarker;pub use attrs::ForeignClassification;pub use attrs::FrdBlock;pub use attrs::IsmAttributes;pub use attrs::JointClassification;pub use attrs::MarkingClassification;pub use attrs::NatoClassification;pub use attrs::NatoLevel;pub use attrs::NonIcDissem;pub use attrs::RdBlock;pub use attrs::SarIdentifier;pub use attrs::SciControl;pub use attrs::TokenKind;pub use attrs::TokenSpan;pub use attrs::Trigraph;pub use generated::values::SCHEMA_VERSION;pub use page_context::PageContext;pub use span::DocumentPosition;pub use span::MarkingCandidate;pub use span::MarkingType;pub use span::Span;pub use span::Zone;pub use token_set::CapcoTokenSet;pub use token_set::TokenSet;
Modules§
- attrs
IsmAttributes— the canonical in-memory representation of a classification marking.- generated
- Generated code wrappers —
include!()bridges toOUT_DIR/build.rs output. - marking_
forms - Single source of truth for banner ↔ portion marking form mappings.
- page_
context - Page-level aggregation context for deriving expected banner markings.
- span
- Byte-offset spans into source buffers — zero-copy position tracking.
- token_
set - Compile-time Aho-Corasick automaton over CVE token vocabulary.