From 010951c8843cfc37f3c8d580ad779c0df09c2faa Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Wed, 26 Dec 2018 10:27:46 +0100 Subject: [PATCH] First commit --- .gitignore | 7 +++++++ Cargo.toml | 7 +++++++ README.md | 6 ++++++ src/lib.rs | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..22afe94 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +/target +**/*.rs.bk +Cargo.lock +*~ +\#* +.\#* +*.swp diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..40c92d2 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "opensmtpd" +version = "0.1.0" +authors = ["Rodolphe Breard "] +edition = "2018" + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..a5ae965 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Rust-OpenSMTPD + +Rust binding for [OpenSMTPD] filters. + + +[OpenSMTPD]: https://www.opensmtpd.org/ 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); + } +}