diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-08-25 12:36:37 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-08-25 12:36:37 +0200 |
| commit | e5de70f2c1dcac767bd34a6b90ac1797a7acb433 (patch) | |
| tree | 25a8c8f339fb5b496b460391ee06a9effeb64855 /Cargo.toml | |
| parent | 6b909d95ec07848136a6f337db28318c1cd46c60 (diff) | |
| parent | d7bc21d19e168f3a99f54e5ba4866ed49f1187f1 (diff) | |
Merge branch 'rust'
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 43 |
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" |