From a39c3d47d90e524d229d7c06493a8ec194a2c079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 19 Mar 2023 14:59:32 +0100 Subject: [PATCH] First commit --- .gitignore | 11 +++++++++++ Cargo.toml | 10 ++++++++++ rustfmt.toml | 1 + src/main.rs | 3 +++ 4 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 rustfmt.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f43c40c --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +Cargo.lock +target/ +*~ +\#* +.\#* +*.o +*.bin +*.swp + +# Cargo configuration +.cargo/ diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..e433ea2 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "opensmtpd-filter-dkimout" +version = "0.1.0" +authors = ["Rodolphe Bréard "] +edition = "2021" +description = "DKIM filter for OpenSMTPD" +license = "MIT OR Apache-2.0" +publish = false + +[dependencies] diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..218e203 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +hard_tabs = true diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}