#![warn(clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::missing_errors_doc)]
mod angle;
mod catmull_rom;
mod color;
mod crop;
mod document;
mod layer;
mod length;
mod optimization;
mod page_size;
mod path;
mod path_index;
mod stats;
mod svg;
mod test_utils;
mod traits;
#[cfg(feature = "egui")]
pub mod ui;
mod unit;
#[cfg(feature = "whiskers-widgets")]
pub mod widgets;
pub use angle::*;
pub use catmull_rom::*;
pub use color::*;
pub use crop::*;
pub use document::*;
pub use layer::*;
pub use length::*;
#[allow(unused_imports)]
pub use optimization::*;
pub use page_size::*;
pub use path::*;
pub use path_index::*;
pub use stats::*;
pub use svg::*;
pub use traits::*;
pub use unit::*;
pub mod exports {
#[cfg(feature = "egui")]
pub use ::egui;
#[cfg(feature = "geo")]
pub use ::geo;
pub use ::kurbo;
#[cfg(feature = "puffin")]
pub use ::puffin;
pub use ::serde;
pub use ::usvg;
}
#[macro_export]
macro_rules! trace_function {
() => {
#[cfg(feature = "puffin")]
$crate::exports::puffin::profile_function!();
};
}
#[macro_export]
macro_rules! trace_scope {
($id:expr) => {
#[cfg(feature = "puffin")]
$crate::exports::puffin::profile_scope!($id);
};
($id:expr, $data:expr) => {
#[cfg(feature = "puffin")]
$crate::exports::puffin::profile_scope!($id, $data);
};
}