From: Simon Tatham Date: Sat, 23 Dec 2023 09:45:09 +0000 (+0000) Subject: Begin setting up a Rust framework. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=7fa8d3384f5a3082bc520f21e411e7636338d470;p=mastodonochrome.git Begin setting up a Rust framework. --- diff --git a/.gitignore b/.gitignore index a348e50..b3bd5a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ /__pycache__/ + + +# Added by cargo + +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..a5bc48a --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,12 @@ +[package] +name = "mastodonochrome" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[dependencies] +crossterm = "0.27.0" +html2text = "0.9.0" +reqwest = "0.11.23" +serde_json = "1.0.108" +unicode-width = "0.1.5" 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!"); +}