From 1f9c7e830a6fb0d29ff98f2ee49df5a18923d89e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 17 Apr 2025 08:21:58 +0100 Subject: [PATCH] Add licence and metadata. I think this might be ready for 0.1.0. --- Cargo.toml | 3 +++ LICENCE | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 LICENCE diff --git a/Cargo.toml b/Cargo.toml index abd9b74..1c37eae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 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. -- 2.30.2