]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
cargo: add description and license
authorJason Ish <jason.ish@oisf.net>
Fri, 12 Apr 2024 04:34:16 +0000 (22:34 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 12 Apr 2024 09:45:45 +0000 (11:45 +0200)
Required for publishing to crates.io.

rust/Cargo.toml.in
rust/derive/Cargo.toml.in

index 8b2864761b8b82825440b6f0e6d9aee1c93e7701..59e28bd034212d6eb9e7984112bd428e9b015017 100644 (file)
@@ -1,6 +1,8 @@
 [package]
 name = "suricata"
 version = "@PACKAGE_VERSION@"
+license = "GPL-2.0-only"
+description = "Suricata Rust components"
 edition = "2021"
 rust-version = "1.63.0"
 
@@ -63,7 +65,7 @@ asn1-rs = { version = "~0.6.1" }
 # last version to work with MSRV 1.63
 time = "=0.3.20"
 
-suricata-derive = { path = "./derive" }
+suricata-derive = { path = "./derive", version = "@PACKAGE_VERSION@" }
 
 [dev-dependencies]
 test-case = "~3.3.1"
index dcf25f069200749139d6c694b64b8f02a59f452f..0dcf924581c08ebdae8725916634f3fa680b8e2d 100644 (file)
@@ -1,8 +1,11 @@
 [package]
 name = "suricata-derive"
 version = "@PACKAGE_VERSION@"
+license = "GPL-2.0-only"
+description = "Derive macros for Suricata"
 edition = "2021"
 
+
 [lib]
 proc-macro = true