#![cfg_attr(docsrs, feature(doc_cfg))]
#![doc(
html_favicon_url = "https://raw.githubusercontent.com/wiseaidotdev/cum/main/assets/favicon.png",
html_logo_url = "https://raw.githubusercontent.com/wiseaidotdev/cum/main/assets/logo.webp"
)]
#![doc = include_str!("../README.md")]
pub mod cleaner;
pub mod container_meta;
pub mod error;
pub mod image_meta;
pub mod stochastic;
pub mod types;
pub mod unicode;
#[cfg(all(feature = "wasm", target_arch = "wasm32"))]
pub mod wasm;
#[cfg(all(feature = "python", not(feature = "rust-binary")))]
pub mod python;
#[cfg(all(feature = "node", not(feature = "rust-binary")))]
pub mod node;
#[cfg(feature = "cli")]
pub mod cli;
#[cfg(all(feature = "python", not(feature = "rust-binary")))]
use pyo3::prelude::*;
#[cfg(all(feature = "python", not(feature = "rust-binary")))]
#[pymodule(name = "cum_rs")]
fn cum_rs(py: Python<'_>, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add("__version__", env!("CARGO_PKG_VERSION"))?;
crate::python::register_python_module(py, m)?;
Ok(())
}