From f108c33ff9637e68e422bf0d715073070e6ecc7e Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 11 Feb 2019 09:44:04 -0200 Subject: [PATCH] Skeleton --- .gitignore | 1 + README.md | 10 ++++++++++ template/Cargo.toml | 7 +++++++ template/src/main.rs | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 template/Cargo.toml create mode 100644 template/src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45d62d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.sw? diff --git a/README.md b/README.md new file mode 100644 index 0000000..1538dc2 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Downfav + +Download your favorites/likes from Mastodon/Twitter. + +## Architecture + +This is mostly an experiment in creating microservices with Rust. + +* `template` is a microservice that receives a template name and some data and + renders the template back to disk. diff --git a/template/Cargo.toml b/template/Cargo.toml new file mode 100644 index 0000000..dddfc18 --- /dev/null +++ b/template/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "template" +version = "0.1.0" +authors = ["Julio Biason "] +edition = "2018" + +[dependencies] diff --git a/template/src/main.rs b/template/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/template/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}