From 85ee2f882f6dab2cd0b6234c21ccb5a77168c4ff Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Mon, 12 Aug 2024 16:00:23 -0600 Subject: [PATCH] lua: use lua from crates.io rather than github This allows the source override in .cargo/config.toml to apply to the suricata-lua-sys crate as well fixing offline builds. Ticket: #7226 --- rust/Cargo.lock.in | 5 +++-- rust/Cargo.toml.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rust/Cargo.lock.in b/rust/Cargo.lock.in index 0c412e1d5c..2570a4d98e 100644 --- a/rust/Cargo.lock.in +++ b/rust/Cargo.lock.in @@ -1009,8 +1009,9 @@ dependencies = [ [[package]] name = "suricata-lua-sys" -version = "0.1.0-alpha.2" -source = "git+https://github.com/jasonish/suricata-lua-sys#b04cf66fa70e0e2ec66dc09aae5fd5ee96637493" +version = "0.1.0-alpha.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27aba92b2bc53955440218aed3fa6e6f4cf6cba443deb8fed7e216e6b1d96af2" dependencies = [ "fs_extra", ] diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 7ec8791ea8..c69db93770 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -67,7 +67,7 @@ time = "~0.3.36" suricata-derive = { path = "./derive", version = "@PACKAGE_VERSION@" } -suricata-lua-sys = { git = "https://github.com/jasonish/suricata-lua-sys", version = "0.1.0-alpha.1" } +suricata-lua-sys = { version = "0.1.0-alpha.1" } [dev-dependencies] test-case = "~3.3.1"