summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml43
1 files changed, 43 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..d2cc18e
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,43 @@
+[package]
+name = "tomato-sauce"
+version = "3.0.0"
+edition = "2024"
+license = "AGPL-3.0-or-later"
+description = "Telnet based drawing functions and renderers."
+homepage = "https://r.bdr.sh/tomato_sauce.html"
+authors = ["Rubén Beltrán del Río <tomato.sauce@r.bdr.sh>"]
+
+[dependencies]
+lexopt = "0.3.1"
+rand = "0.9.2"
+
+[dev-dependencies]
+
+[profile.release]
+strip = true
+lto = true
+panic = "abort"
+
+[package.metadata.generate-rpm]
+assets = [
+ { source = "target/release/tomato-sauce", dest = "/usr/bin/tomato-sauce", mode = "755" },
+ { source = "man/tomato-sauce.1", dest = "/usr/share/man/man1/tomato-sauce.1", mode = "644" },
+]
+
+[package.metadata.deb]
+assets = [
+ ["target/release/tomato-sauce", "/usr/bin/tomato-sauce", "755" ],
+ ["man/tomato-sauce.1", "/usr/share/man/man1/tomato-sauce.1", "644" ],
+]
+
+[lints.clippy]
+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"