commit 010951c8843cfc37f3c8d580ad779c0df09c2faa Author: Rodolphe Breard Date: Wed Dec 26 10:27:46 2018 +0100 First commit 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); + } +}