summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Sibille <claymeuns@protonmail.com>2021-10-03 19:46:07 +0200
committerClément Sibille <claymeuns@protonmail.com>2021-10-03 19:46:07 +0200
commit84ac89b379da880468d2bb1396eb4773b48b6a92 (patch)
tree333b801cb5da5b13fe31020581866ff2c2f82ff3
parent9419d24194a6662b7818987ce12125b05cd025fe (diff)
Initial rust project setup
-rw-r--r--.gitignore3
-rw-r--r--Cargo.toml8
-rw-r--r--src/lib.rs7
3 files changed, 18 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2de3917
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/target
+Cargo.lock
+/.idea
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..44fc3ac
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "lisibleos"
+version = "0.1.0"
+edition = "2018"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[dependencies]
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..31e1bb2
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,7 @@
+#[cfg(test)]
+mod tests {
+ #[test]
+ fn it_works() {
+ assert_eq!(2 + 2, 4);
+ }
+}
Go back to lisible.xyz