From b765f38977372ff4a5da57c0fcc578cf155e75ba Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 24 Aug 2026 22:16:16 +0530 Subject: [PATCH] Cargo init --- .gitignore | 5 +++++ Cargo.toml | 11 +++++++++++ src/main.rs | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index ab951f8..620f8f6 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,8 @@ Cargo.lock # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ + + +# Added by cargo + +/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..36f4dfc --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "xdi" +version = "0.1.0" +edition = "2024" +description = "X11 Desktop Information" + +[dependencies] +clap = { version = "4.6.6", features = ["derive"] } +serde = { version = "1.0.229", features = ["derive"] } +serde_json = "1.0.151" +xcb = "1.7.1" 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!"); +}