]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: add rust skeleton tree
authorJason Ish <ish@unx.ca>
Thu, 16 Mar 2017 20:44:21 +0000 (14:44 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 5 Jun 2017 10:57:01 +0000 (12:57 +0200)
rust/.gitignore [new file with mode: 0644]
rust/Cargo.toml [new file with mode: 0644]
rust/src/lib.rs [new file with mode: 0644]

diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644 (file)
index 0000000..a9d37c5
--- /dev/null
@@ -0,0 +1,2 @@
+target
+Cargo.lock
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
new file mode 100644 (file)
index 0000000..5bc1b25
--- /dev/null
@@ -0,0 +1,13 @@
+[package]
+name = "suricata"
+version = "4.0.0-dev"
+
+[lib]
+crate-type = ["staticlib"]
+
+[profile.release]
+debug = true
+
+[dependencies]
+nom = "^2.1.0"
+libc = "0.2.0"
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
new file mode 100644 (file)
index 0000000..a93251b
--- /dev/null
@@ -0,0 +1,3 @@
+#[test]
+fn it_works() {
+}