chiark / gitweb /
Add licence and metadata.
authorSimon Tatham <anakin@pobox.com>
Thu, 17 Apr 2025 07:21:58 +0000 (08:21 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 17 Apr 2025 07:21:58 +0000 (08:21 +0100)
I think this might be ready for 0.1.0.

Cargo.toml
LICENCE [new file with mode: 0644]

index abd9b7404a7094e0704fcb44ec640da22876d648..1c37eaeee00d8d70b425724cd7f098e6081caa94 100644 (file)
@@ -2,6 +2,9 @@
 name = "nimber"
 version = "0.1.0"
 edition = "2021"
+license = "MIT"
+description = "Library for calculating in Conway's nim-arithmetic."
+repository = "https://git.tartarus.org/simon/nimber-rs"
 
 [dependencies]
 itertools = { version = "0.14.0", default-features = false }
diff --git a/LICENCE b/LICENCE
new file mode 100644 (file)
index 0000000..89c3da1
--- /dev/null
+++ b/LICENCE
@@ -0,0 +1,22 @@
+The 'nimber' Rust crate is copyright 2025 Simon Tatham. All rights
+reserved.
+
+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.