milsymbol-rs 0.3.2

A Rust wrapper for the milsymbol JavaScript library to generate military symbols (MIL-STD-2525 and APP-6).
#![deny(missing_docs)]

//! This crate provides a Rust wrapper around the milsymbol JavaScript library.
//! It uses `deno_core` to evaluate the JS library and generate SVG representations of military symbols.

mod error;
/// The metadata submodule containing SIDC part definitions.
pub mod metadata;
/// The options submodule containing the `MilsymbolOptions` struct.
pub mod options;
/// The types submodule containing return value structs.
pub mod types;

#[cfg(feature = "cache")]
pub(crate) mod cache;

/// The milsymbol module containing the SVG generator and builder.
pub mod milsymbol;

pub use error::MilsymbolError;
pub use metadata::{SidcEntitiesAndModifiers, SidcMetadata, SidcPart, get_sidc_metadata};
pub use milsymbol::{Milsymbol, MilsymbolBuilder};
pub use options::MilsymbolOptions;
pub use types::{
    Anchor, BaseGeometry, BoundingBox, ColorMode, DashArrays, SymbolColors, SymbolMetadata,
    SymbolOutput, SymbolSize, ValidationDetails,
};