formars 0.1.0

One-dependency entry point to formars: schemas, reactive forms, Leptos components, and derives behind feature flags.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "formars"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One-dependency entry point to formars: schemas, reactive forms, Leptos components, and derives behind feature flags."
documentation = "https://docs.rs/formars"
readme = "README.md"
keywords = [
    "forms",
    "validation",
    "reactive",
    "leptos",
    "wasm",
]
categories = [
    "gui",
    "wasm",
]
license = "MIT"
repository = "https://github.com/edoriban/formars"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
derive = ["dep:formars-derive"]
signals = [
    "dep:formars-signals",
    "dep:reactive_graph",
]
ui = [
    "dep:formars-ui",
    "dep:leptos",
    "signals",
]

[lib]
name = "formars"
path = "src/lib.rs"

[[test]]
name = "derive_probe"
path = "tests/derive_probe.rs"

[[test]]
name = "signals_probe"
path = "tests/signals_probe.rs"

[[test]]
name = "ui_probe"
path = "tests/ui_probe.rs"

[[test]]
name = "validate_only"
path = "tests/validate_only.rs"

[dependencies.formars-core]
version = "0.1.0"

[dependencies.formars-derive]
version = "0.1.0"
optional = true

[dependencies.formars-signals]
version = "0.1.0"
optional = true

[dependencies.formars-ui]
version = "0.1.0"
optional = true

[dependencies.leptos]
version = "0.8"
optional = true
default-features = false

[dependencies.reactive_graph]
version = "0.2"
optional = true
default-features = false

[lints.clippy]
allow_attributes_without_reason = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
single_match_else = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"