chiark / gitweb /
Begin setting up a Rust framework.
authorSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 09:45:09 +0000 (09:45 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 23 Dec 2023 09:45:09 +0000 (09:45 +0000)
.gitignore
Cargo.toml [new file with mode: 0644]
src/main.rs [new file with mode: 0644]

index a348e5040c3d2ac0cee5da2f21942aa68f106669..b3bd5a6b01ca26023e35d7f373cc292374d117ea 100644 (file)
@@ -1 +1,6 @@
 /__pycache__/
+
+
+# Added by cargo
+
+/target
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644 (file)
index 0000000..a5bc48a
--- /dev/null
@@ -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 (file)
index 0000000..e7a11a9
--- /dev/null
@@ -0,0 +1,3 @@
+fn main() {
+    println!("Hello, world!");
+}