From 07fccc16d5bd92c2d2453f50c83feb1e60f95eef Mon Sep 17 00:00:00 2001 From: Joel Jakobsson Date: Fri, 11 Aug 2023 04:40:34 +0200 Subject: [PATCH] Add Apache license in addition to MIT --- LICENSE | 7 ------- LICENSE-APACHE | 0 LICENSE-MIT | 23 +++++++++++++++++++++++ wherr-macro/Cargo.toml | 6 ++++++ wherr/Cargo.toml | 6 ++++++ 5 files changed, 35 insertions(+), 7 deletions(-) delete mode 100644 LICENSE create mode 100644 LICENSE-APACHE create mode 100644 LICENSE-MIT diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 879d81a..0000000 --- a/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2023 Joel Jakobsson - -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. \ No newline at end of file diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..468cd79 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,23 @@ +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. \ No newline at end of file diff --git a/wherr-macro/Cargo.toml b/wherr-macro/Cargo.toml index 9cf0d08..bba1a11 100644 --- a/wherr-macro/Cargo.toml +++ b/wherr-macro/Cargo.toml @@ -2,6 +2,12 @@ name = "wherr-macro" version = "0.1.0" edition = "2021" +authors = ["Joel Jakobsson "] +categories = ["rust-patterns"] +description = "Enhance Rust error messages with file and line details using the `#[wherr]` macro for clearer debugging." +keywords = ["error", "error-handling"] +license = "MIT OR Apache-2.0" +repository = "https://github.com/joelonsql/wherr" [lib] proc-macro = true diff --git a/wherr/Cargo.toml b/wherr/Cargo.toml index 15b7442..6196285 100644 --- a/wherr/Cargo.toml +++ b/wherr/Cargo.toml @@ -2,6 +2,12 @@ name = "wherr" version = "0.1.0" edition = "2021" +authors = ["Joel Jakobsson "] +categories = ["rust-patterns"] +description = "Enhance Rust error messages with file and line details using the `#[wherr]` macro for clearer debugging." +keywords = ["error", "error-handling"] +license = "MIT OR Apache-2.0" +repository = "https://github.com/joelonsql/wherr" [dependencies] wherr-macro = { path = "../wherr-macro" }