commit 57c5bb43b9871376cfe9ebdd26067be88ebc75a7 Author: Wynd Date: Thu May 1 00:18:55 2025 +0300 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..88c96e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ +target-watch/ + +# These are backup files generated by rustfmt +**/*.rs.bk diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..eb65240 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "taggo" +version = "0.1.0" +edition = "2024" +authors = ["Wynd "] +description = "application for file tagging" +license = "GPL-3.0-or-later" + +[lib] +name = "taggo" +path = "src/lib.rs" +bench = false + +[lints.rust] +unsafe_code = { level = "forbid" } + +[dependencies] +clap = { version = "4.5", features = ["derive"] } +libsql = { version = "0.9" } diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..c5794a6 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "1.85" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..f7f67ba --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,6 @@ +unstable_features = true +reorder_imports = true +hard_tabs = true +control_brace_style = "ClosingNextLine" +imports_granularity = "Crate" +group_imports = "StdExternalCrate" 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!"); +}