]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
htp: rename to suricata-htp; allow publishing to crates.io
authorJason Ish <jason.ish@oisf.net>
Wed, 9 Apr 2025 15:57:48 +0000 (09:57 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 12 Apr 2025 09:00:03 +0000 (11:00 +0200)
As the "suricata" crate depends on htp, we need to publish htp to
crates.io first, however "htp" name is already taken. So rename "htp" to
"suricata-htp".

rust/Cargo.lock.in
rust/Cargo.toml.in
rust/htp/Cargo.toml

index d2258cbd4686ccdbb57a3b216873859c41d649d5..ad150914534d47a823f415fbebd9c6378239bb2e 100644 (file)
@@ -659,22 +659,6 @@ dependencies = [
  "digest",
 ]
 
-[[package]]
-name = "htp"
-version = "2.0.0"
-dependencies = [
- "base64",
- "bstr",
- "cdylib-link-lines",
- "flate2",
- "lazy_static",
- "libc",
- "lzma-rs",
- "nom",
- "rstest",
- "time",
-]
-
 [[package]]
 name = "indexmap"
 version = "2.7.1"
@@ -1552,7 +1536,6 @@ dependencies = [
  "flate2",
  "hex",
  "hkdf",
- "htp",
  "ipsec-parser",
  "kerberos-parser",
  "lazy_static",
@@ -1576,6 +1559,7 @@ dependencies = [
  "sha2",
  "snmp-parser",
  "suricata-derive",
+ "suricata-htp",
  "suricata-lua-sys",
  "suricata-sys",
  "test-case",
@@ -1596,6 +1580,22 @@ dependencies = [
  "syn 1.0.109",
 ]
 
+[[package]]
+name = "suricata-htp"
+version = "2.0.0"
+dependencies = [
+ "base64",
+ "bstr",
+ "cdylib-link-lines",
+ "flate2",
+ "lazy_static",
+ "libc",
+ "lzma-rs",
+ "nom",
+ "rstest",
+ "time",
+]
+
 [[package]]
 name = "suricata-lua-sys"
 version = "0.1.0-alpha.6"
index 693b80cec1458f35e861ee07f2f547681b136239..e920212ef517c41894e0dcd02b0314772044f74b 100644 (file)
@@ -87,7 +87,7 @@ suricata-sys = { path = "./sys", version = "@PACKAGE_VERSION@" }
 
 suricata-lua-sys = { version = "0.1.0-alpha.6" }
 
-htp = { path = "./htp", version = "2.0.0" }
+htp = { package = "suricata-htp", path = "./htp", version = "2.0.0" }
 
 [dev-dependencies]
 test-case = "~3.3.1"
index 6d9a75f09efaf85be958ad451748cc6339003ec5..6d451fc2ec71c2227fe25f032645962377631041 100644 (file)
@@ -1,8 +1,7 @@
 [package]
-name = "htp"
+name = "suricata-htp"
 authors = ["ivanr = Ivan Ristic <ivanr@webkreator.com>", "cccs = Canadian Centre for Cyber Security"]
 version = "2.0.0"
-publish = false
 edition = "2021"
 autobins = false
 license-file = "LICENSE"