42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
name = "el"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
authors = ["Garmelon <garmelon@plugh.de>"]
|
|
description = "Write and manipulate HTML elements as data"
|
|
repository = "https://git.plugh.de/Garmelon/el"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["html", "svg", "mathml", "hiccup"]
|
|
categories = ["web-programming", "template-engine"]
|
|
|
|
[features]
|
|
axum = ["dep:axum-core", "dep:http"]
|
|
|
|
[dependencies]
|
|
axum-core = { version = "0.5.0", optional = true }
|
|
http = { version = "1.0.0", optional = true }
|
|
|
|
[lints]
|
|
rust.unsafe_code = { level = "forbid", priority = 1 }
|
|
# Lint groups
|
|
rust.deprecated-safe = "warn"
|
|
rust.future-incompatible = "warn"
|
|
rust.keyword-idents = "warn"
|
|
rust.nonstandard-style = "warn"
|
|
rust.refining-impl-trait = "warn"
|
|
rust.rust-2018-idioms = "warn"
|
|
rust.unused = "warn"
|
|
# Individual lints
|
|
rust.let_underscore_drop = "warn"
|
|
rust.non_local_definitions = "warn"
|
|
rust.redundant_imports = "warn"
|
|
rust.redundant_lifetimes = "warn"
|
|
rust.single_use_lifetimes = "warn"
|
|
rust.unit_bindings = "warn"
|
|
rust.unnameable_types = "warn"
|
|
rust.unused_crate_dependencies = "warn"
|
|
rust.unused_import_braces = "warn"
|
|
rust.unused_lifetimes = "warn"
|
|
rust.unused_qualifications = "warn"
|
|
# Clippy
|
|
clippy.use_self = "warn"
|