[package]
edition = "2021"
rust-version = "1.85"
name = "validatable"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Define validated data types once and share them between the frontend and backend of isomorphic Rust web applications, with plain, input, and form representations"
homepage = "https://github.com/terus-gh/validatable"
documentation = "https://docs.rs/validatable"
readme = "README.md"
keywords = [
"validation",
"validator",
"forms",
"web",
]
categories = [
"data-structures",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/terus-gh/validatable"
[package.metadata.docs.rs]
features = ["serde"]
[features]
default = []
serde = [
"dep:serde",
"non-empty-string/serde",
"nonempty/serialize",
]
[lib]
name = "validatable"
path = "src/lib.rs"
[[test]]
name = "compile"
path = "tests/compile.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.non-empty-string]
version = "0.2.5"
[dependencies.nonempty]
version = "0.10.0"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true
[dependencies.validatable_derive]
version = "0.1.0"
[dev-dependencies.serde_json]
version = "1.0.140"
[dev-dependencies.trybuild]
version = "1.0.118"