Update edition, URL, and lints

This commit is contained in:
Joscha 2026-04-20 21:16:41 +02:00
parent f08eda2758
commit d26ef729eb

View file

@ -1,10 +1,10 @@
[package]
name = "el"
version = "0.2.0"
edition = "2021"
edition = "2024"
authors = ["Garmelon <garmelon@plugh.de>"]
description = "Write and manipulate HTML elements as data"
repository = "https://github.com/Garmelon/el"
repository = "https://git.plugh.de/Garmelon/el"
license = "MIT OR Apache-2.0"
keywords = ["html", "svg", "mathml", "hiccup"]
categories = ["web-programming", "template-engine"]
@ -19,10 +19,12 @@ 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.rust_2018_idioms = "warn"
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"