From 3cad4780eb6155e3c5cafee45169fbf9100e8c3f Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Sat, 11 May 2024 07:09:43 +0000 Subject: [PATCH 1/2] Exclude scripts from crate --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2d5917c..5f45d08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ description = """ Query character Unicode properties according to UAX #44 and UTR #51. """ -exclude = [ "target/*", "Cargo.lock" ] +exclude = [ "target/*", "Cargo.lock", "scripts/*" ] [features] general-category = [] From a6f9361ec3caa9147b6c00dbe407c68e385091fa Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Sat, 11 May 2024 07:12:59 +0000 Subject: [PATCH 2/2] Add unicode license --- Cargo.toml | 2 +- LICENSE-UNICODE | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 LICENSE-UNICODE diff --git a/Cargo.toml b/Cargo.toml index 5f45d08..992c519 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" homepage = "https://github.com/unicode-rs/unicode-properties" repository = "https://github.com/unicode-rs/unicode-properties" documentation = "https://docs.rs/unicode-properties" -license = "MIT/Apache-2.0" +license = "(MIT OR Apache-2.0) AND Unicode-DFS-2016" keywords = ["text", "unicode"] categories = ["no-std::no-alloc"] readme = "README.md" diff --git a/LICENSE-UNICODE b/LICENSE-UNICODE new file mode 100644 index 0000000..11f2842 --- /dev/null +++ b/LICENSE-UNICODE @@ -0,0 +1,39 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 1991-2023 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE 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 OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder.