aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml40
1 files changed, 32 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8aa104a..5146d26 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,19 +1,43 @@
[package]
-name = "linea_caliente"
-version = "0.1.0"
-edition = "2021"
+name = "linea-caliente"
+version = "1.0.0"
+edition = "2024"
license = "AGPL-3.0-or-later"
-description = "A hotline protocol library"
-homepage = "https://r.bdr.sh/hotline.html"
-authors = ["Rubén Beltrán del Río <linea_caliente@r.bdr.sh>"]
+description = "A hotline protocol server and library."
+homepage = "https://r.bdr.sh/linea_caliente.html"
+authors = ["Rubén Beltrán del Río <linea.caliente@r.bdr.sh>"]
[dependencies]
-thiserror = "2.0.11"
+lexopt = "0.3.1"
+thiserror = "2.0.16"
+
+[dev-dependencies]
[profile.release]
strip = true
lto = true
panic = "abort"
+[package.metadata.generate-rpm]
+assets = [
+ { source = "target/release/linea-caliente", dest = "/usr/bin/linea-caliente", mode = "755" },
+ { source = "man/linea-caliente.1", dest = "/usr/share/man/man1/linea-caliente.1", mode = "644" },
+]
+
+[package.metadata.deb]
+assets = [
+ ["target/release/linea-caliente", "/usr/bin/linea-caliente", "755" ],
+ ["man/linea-caliente.1", "/usr/share/man/man1/linea-caliente.1", "644" ],
+]
+
[lints.clippy]
-pedantic = "warn"
+pedantic = { level = "warn", priority = -1 }
+all = "deny"
+unwrap_used = "deny"
+expect_used = "deny"
+panic = "deny"
+indexing_slicing = "deny"
+unreachable = "deny"
+undocumented_unsafe_blocks = "deny"
+unwrap_in_result = "deny"
+ok_expect = "deny"