Skip to main content

form_rs/
lib.rs

1// Copyright 2026 Open SASS Core Maintainers.
2//
3// Licensed under the MIT license
4// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
5// option. This file may not be copied, modified, or distributed
6// except according to those terms.
7
8#![doc(
9    html_logo_url = "https://raw.githubusercontent.com/opensass/form-rs/refs/heads/main/assets/logo.png",
10    html_favicon_url = "https://raw.githubusercontent.com/opensass/form-rs/refs/heads/main/assets/favicon.png"
11)]
12#![cfg_attr(docsrs, feature(doc_cfg))]
13#![doc = include_str!("../README.md")]
14
15#[cfg(feature = "yew")]
16pub mod yew;
17
18#[cfg(feature = "dio")]
19pub mod dioxus;
20
21#[cfg(feature = "lep")]
22pub mod leptos;
23
24pub mod common;
25
26pub use common::{
27    Color, EncType, FormStatus, LabelPlacement, Margin, Method, Size, Target, ValidationBehavior,
28    ValidationState, Variant,
29};
30
31// Copyright 2026 Open SASS Core Maintainers.
32//
33// Licensed under the MIT license
34// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
35// option. This file may not be copied, modified, or distributed
36// except according to those terms.