[package]
edition = "2024"
rust-version = "1.88"
name = "vconfig_rocket"
version = "0.1.2"
authors = ["Wei Gu <gu_wei_dev@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A wrap crate for using vconfig in Rocket applications. Provides implementations of deserializing TOML-formatted like files/streams to Rust structures with variant context.
"""
homepage = "https://github.com/gu-wei-x/vconfig"
readme = "README.md"
keywords = [
"variants",
"configuration",
"deserialization",
"web",
]
license = "MIT"
repository = "https://github.com/gu-wei-x/vconfig"
resolver = "2"
[lib]
name = "vconfig_rocket"
path = "src/lib.rs"
[dependencies.rocket]
version = "0.5.1"
[dependencies.vconfig]
version = "0.1.2"
[dependencies.vconfig_codegen]
version = "0.1.2"
features = ["rocket"]
[lints.clippy]
manual_range_contains = "allow"
module_inception = "allow"
multiple_bound_locations = "allow"
type_complexity = "allow"
[lints.rust]
async_fn_in_trait = "allow"
refining_impl_trait = "allow"
rust_2018_idioms = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(nightly)"]