summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaz <ndpm13@ch-naseem.com>2025-09-14 22:54:51 +0100
committerNaz <ndpm13@ch-naseem.com>2025-09-15 15:02:34 +0100
commitc53617755ea9f98c8c8e36901db90e19e827a483 (patch)
treee2e9aa66468d4ba72f9a77ad7b83781fae7b14cd
🚀init: initialize a Rust project using cargo
Acked-by: Naz <ndpm13@ch-naseem.com>
-rw-r--r--.gitignore1
-rw-r--r--Cargo.toml11
-rw-r--r--rustfmt.toml1
-rw-r--r--src/main.rs3
4 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/target
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..74281a9
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,11 @@
+[package]
+name = "sbm-rs"
+version = "0.1.0"
+description = "Simple bookmarks manager written in Rust"
+authors = ["Naz <ndpm13@ch-naseem.com>"]
+license = "MIT"
+repository = "https://git.ch-naseem.com/ndpm13/sbm-rs"
+homepage = "https://git.ch-naseem.com/ndpm13/sbm-rs"
+edition = "2024"
+
+[dependencies]
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..f216078
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1 @@
+edition = "2024"
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!");
+}