From 176293efe416dbb2c98c55a942388c3d73431a57 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 3 Mar 2024 14:45:35 +0100 Subject: pkgs/{profpatsch/nman,sternenseemann/rust/temp}: add stub Cargo.toml These are for local development, otherwise rust language server does not work out of the box. We might want to move the `temp` crate into its own dir, because cargo only allows one library per Cargo.toml, but right now I did the minimal setup to make it work. --- pkgs/profpatsch/nman/.gitignore | 2 ++ pkgs/profpatsch/nman/Cargo.toml | 11 +++++++++++ pkgs/sternenseemann/rust/.gitignore | 2 ++ pkgs/sternenseemann/rust/Cargo.toml | 9 +++++++++ 4 files changed, 24 insertions(+) create mode 100644 pkgs/profpatsch/nman/.gitignore create mode 100644 pkgs/profpatsch/nman/Cargo.toml create mode 100644 pkgs/sternenseemann/rust/.gitignore create mode 100644 pkgs/sternenseemann/rust/Cargo.toml (limited to 'pkgs') diff --git a/pkgs/profpatsch/nman/.gitignore b/pkgs/profpatsch/nman/.gitignore new file mode 100644 index 00000000..042776aa --- /dev/null +++ b/pkgs/profpatsch/nman/.gitignore @@ -0,0 +1,2 @@ +/Cargo.lock +/target/ diff --git a/pkgs/profpatsch/nman/Cargo.toml b/pkgs/profpatsch/nman/Cargo.toml new file mode 100644 index 00000000..c0704a45 --- /dev/null +++ b/pkgs/profpatsch/nman/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "nman" +version = "0.1.0" +edition = "2021" + +[dependencies] +temp = { path = "../../sternenseemann/rust" } + +[[bin]] +name = "nman" +path = "nman.rs" diff --git a/pkgs/sternenseemann/rust/.gitignore b/pkgs/sternenseemann/rust/.gitignore new file mode 100644 index 00000000..042776aa --- /dev/null +++ b/pkgs/sternenseemann/rust/.gitignore @@ -0,0 +1,2 @@ +/Cargo.lock +/target/ diff --git a/pkgs/sternenseemann/rust/Cargo.toml b/pkgs/sternenseemann/rust/Cargo.toml new file mode 100644 index 00000000..d0088861 --- /dev/null +++ b/pkgs/sternenseemann/rust/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "temp" +version = "0.1.0" +edition = "2021" + +[lib] +path = "temp.rs" + +[dependencies] -- cgit 1.4.1