From 2066a5131c4069f6fabbbc814c4d59b718f6f01c Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Fri, 24 Nov 2023 10:11:21 +0800 Subject: [PATCH] Dual license (#27) Signed-off-by: Xavier Lau --- Cargo.toml | 2 +- LICENSE => LICENSE-GPL3 | 0 LICENSE-MIT | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) rename LICENSE => LICENSE-GPL3 (100%) create mode 100644 LICENSE-MIT diff --git a/Cargo.toml b/Cargo.toml index 3e97311..d4f505a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ keywords = [ "string", "unescape", ] -license = "GPL-3.0" +license = "GPL-3.0/MIT" name = "unescaper" readme = "README.md" repository = "https://github.com/hack-ink/unescaper" diff --git a/LICENSE b/LICENSE-GPL3 similarity index 100% rename from LICENSE rename to LICENSE-GPL3 diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..3499cce --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Hack Ink + +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.