egui_form 0.8.0

Form validation for egui
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 = "2021"
name = "egui_form"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Form validation for egui"
homepage = "https://github.com/lucasmerlin/hello_egui/tree/main/crates/egui_form"
readme = "README.md"
keywords = [
    "egui",
    "form",
    "validation",
]
license = "MIT"
repository = "https://github.com/lucasmerlin/hello_egui"

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

[features]
validator_garde = ["dep:garde"]
validator_validator = ["dep:validator"]

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

[[example]]
name = "egui_form_minimal"
path = "examples/egui_form_minimal.rs"
required-features = ["validator_garde"]

[[example]]
name = "garde"
path = "examples/garde.rs"
test = true
required-features = ["validator_garde"]

[[example]]
name = "validator"
path = "examples/validator.rs"
test = true
required-features = ["validator_validator"]

[dependencies.egui]
version = "0.34.0"
default-features = false

[dependencies.garde]
version = "0.22.0"
optional = true

[dependencies.validator]
version = "0.20.0"
optional = true

[dev-dependencies.eframe]
version = "0.34.0"
features = ["default"]
default-features = false

[dev-dependencies.garde]
version = "0.22.0"
features = [
    "email",
    "derive",
]

[dev-dependencies.validator]
version = "0.20.0"
features = ["derive"]

[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 12

[lints.clippy.cast_precision_loss]
level = "allow"
priority = 11

[lints.clippy.cast_sign_loss]
level = "allow"
priority = 13

[lints.clippy.doc_markdown]
level = "allow"
priority = 21

[lints.clippy.enum_glob_use]
level = "deny"
priority = 2

[lints.clippy.float_cmp]
level = "allow"
priority = 14

[lints.clippy.missing_errors_doc]
level = "allow"
priority = 19

[lints.clippy.missing_fields_in_debug]
level = "allow"
priority = 20

[lints.clippy.missing_panics_doc]
level = "allow"
priority = 18

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 10

[lints.clippy.must_use_candidate]
level = "allow"
priority = 16

[lints.clippy.pedantic]
level = "deny"
priority = 1

[lints.clippy.perf]
level = "warn"
priority = 3

[lints.clippy.return_self_not_must_use]
level = "allow"
priority = 17

[lints.clippy.struct_excessive_bools]
level = "allow"
priority = 15

[lints.clippy.style]
level = "warn"
priority = 4

[lints.rust]
unsafe_code = "deny"