about summary refs log tree commit diff
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-03-03 14:45:35 +0100
committerProfpatsch <mail@profpatsch.de>2024-03-03 15:07:23 +0100
commit176293efe416dbb2c98c55a942388c3d73431a57 (patch)
treecb243374ac5166de2e5700e22d05fcb97a1214e3
parent77f9a8b2afac39d7a331277796dd98540fd6a285 (diff)
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.
-rw-r--r--pkgs/profpatsch/nman/.gitignore2
-rw-r--r--pkgs/profpatsch/nman/Cargo.toml11
-rw-r--r--pkgs/sternenseemann/rust/.gitignore2
-rw-r--r--pkgs/sternenseemann/rust/Cargo.toml9
4 files changed, 24 insertions, 0 deletions
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]