Add slice swap benchmark.

Adds a benchmark of various different ways of swapping the elements of
two slices, including several implementations in C.

Change-Id: I7ff490aefee6edfe5d7630b851278ce1fc385e8c
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..ac7eb33
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,22 @@
+[package]
+name = "rust-samples"
+version = "0.1.0"
+authors = ["Matthias Andreas Benkard <code@mail.matthias.benkard.de>"]
+edition = "2018"
+
+[profile.release]
+lto = true
+#opt-level = "s"
+opt-level = 3
+debug = false
+
+[build-dependencies]
+bindgen = "0.54.0"
+cc = "1.0.55"
+
+[dependencies]
+failure = "0.1.8"
+failure_derive = "0.1.8"
+heapless = "0.5.5"
+num = "0.3.0"
+cty = "0.2.1"