Skip to content

Commit e4dc5ed

Browse files
committed
rust: add required metadata for crates.io
Required metadata for publishing to crates.io.
1 parent e56afc6 commit e4dc5ed

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

rust/Cargo.toml.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[package]
22
name = "suricata"
33
version = "@PACKAGE_VERSION@"
4+
license = "GPL-2.0-only"
5+
description = "Suricata Rust components"
46
edition = "2021"
57
rust-version = "1.63.0"
68

@@ -70,7 +72,7 @@ asn1-rs = { version = "~0.5.2" }
7072
# month olds, so it needs to be pinned even at the patch level.
7173
time = "=0.3.13"
7274

73-
suricata-derive = { path = "./derive" }
75+
suricata-derive = { path = "./derive", version = "@PACKAGE_VERSION@" }
7476

7577
[dev-dependencies]
7678
test-case = "~1.1.0"

rust/derive/Cargo.toml.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[package]
22
name = "suricata-derive"
33
version = "@PACKAGE_VERSION@"
4+
license = "GPL-2.0-only"
5+
description = "Derive macros for Suricata"
46
edition = "2021"
57

68
[lib]

0 commit comments

Comments
 (0)