Skip to main content

sushi_rs/
lib.rs

1#![doc(
2    html_logo_url = "https://raw.githubusercontent.com/opensass/sushi-rs/refs/heads/main/assets/logo.webp",
3    html_favicon_url = "https://github.com/opensass/sushi-rs/blob/main/assets/favicon.png"
4)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6#![doc = include_str!("../README.md")]
7
8pub mod common;
9pub mod svg;
10
11#[cfg(feature = "yew")]
12pub mod yew;
13
14#[cfg(feature = "dio")]
15pub mod dioxus;
16
17#[cfg(feature = "lep")]
18pub mod leptos;
19
20pub use common::{
21    Ingredient, IngredientMeta, NORI_COLOR, RICE_COLOR, SushiData, SushiOuterSheet, SushiShape,
22    SushiSize, SushiState, SushiView, TopEdgeDecoration, TopEdgeType, default_sushi_gallery,
23    describe_arc, ingredient_meta, ingredient_texture_id, polar_to_cart,
24};
25pub use svg::render_sushi;