Repository: LiberTEM/LiberTEM-rs (language: python)

Issue:
Add license info
It seems we don't have LICENSE files here? I also couldn't find any mention in the README.md.

Would MIT be appropriate, since it is mostly detector interfaces?


Discussion / hints:

Fix patch:
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..cc4fb535
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 the LiberTEM developers
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index c573abc1..27dd30eb 100644
--- a/README.md
+++ b/README.md
@@ -19,3 +19,8 @@ code in submodules. After cloning, remember to enable pre-commit hooks using
 - `libertem_asi_tpx3`: A Rust+Python library for receiving sparse array streams from Amsterdam Scientific Instruments CheeTah TPX3 detectors.
 - `libertem_dectris`: This is a Python package for efficiently receiving data from DECTRIS detectors with the zeromq interface.
 - `playegui`: `egui`-based prototype for efficient on-line visualization of 4D STEM reconstructions
+
+
+## License
+
+All crates are made available under the MIT license, if not specified otherwise.
diff --git a/bs-sys/Cargo.toml b/bs-sys/Cargo.toml
index db92e98d..fe77bec0 100644
--- a/bs-sys/Cargo.toml
+++ b/bs-sys/Cargo.toml
@@ -1,5 +1,7 @@
 [package]
 name = "bs_sys"
+authors = ["Alexander Clausen <a.clausen@fz-juelich.de>"]
+license = "MIT"
 version = "0.1.0"
 edition = "2021"
 rust-version = "1.66"
diff --git a/playegui/Cargo.toml b/playegui/Cargo.toml
index a0ce8061..c12aff62 100644
--- a/playegui/Cargo.toml
+++ b/playegui/Cargo.toml
@@ -1,5 +1,7 @@
 [package]
 name = "playegui"
+authors = ["Alexander Clausen <a.clausen@fz-juelich.de>"]
+license = "MIT"
 version = "0.1.0"
 edition = "2021"
 rust-version = "1.66"
diff --git a/stats/Cargo.toml b/stats/Cargo.toml
index 4d30d3f3..eaff826a 100644
--- a/stats/Cargo.toml
+++ b/stats/Cargo.toml
@@ -1,5 +1,7 @@
 [package]
 name = "stats"
+authors = ["Alexander Clausen <a.clausen@fz-juelich.de>"]
+license = "MIT"
 version = "0.1.0"
 edition = "2021"
 rust-version = "1.66"


Test patch:
diff --git a/ipc_test/Cargo.toml b/ipc_test/Cargo.toml
index ad6e6b1b..4df8ad71 100644
--- a/ipc_test/Cargo.toml
+++ b/ipc_test/Cargo.toml
@@ -1,5 +1,7 @@
 [package]
 name = "ipc-test"
+authors = ["Alexander Clausen <a.clausen@fz-juelich.de>"]
+license = "MIT"
 version = "0.1.0"
 edition = "2021"
 rust-version = "1.66"