diff --git a/LICENSE b/LICENSE index 4f4130d..174d627 100644 --- a/LICENSE +++ b/LICENSE @@ -1,12 +1,21 @@ -Copyright (C) 2018-2022 Stephane Raux - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, 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 THIS SOFTWARE. +MIT License + +Copyright (c) 2023 Stephane Raux + +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. diff --git a/enum-iterator-derive/Cargo.toml b/enum-iterator-derive/Cargo.toml index 581fb90..bfe09d9 100644 --- a/enum-iterator-derive/Cargo.toml +++ b/enum-iterator-derive/Cargo.toml @@ -4,7 +4,7 @@ version = "1.2.1" authors = ["Stephane Raux "] edition = "2021" description = "Procedural macro to derive Sequence" -license = "0BSD" +license = "MIT" homepage = "https://github.com/stephaneyfx/enum-iterator" repository = "https://github.com/stephaneyfx/enum-iterator.git" documentation = "https://docs.rs/enum-iterator-derive" diff --git a/enum-iterator-derive/README.md b/enum-iterator-derive/README.md index cae28f8..8d96b11 100644 --- a/enum-iterator-derive/README.md +++ b/enum-iterator-derive/README.md @@ -3,13 +3,13 @@ # Overview - [📦 crates.io](https://crates.io/crates/enum-iterator-derive) - [📖 Documentation](https://docs.rs/enum-iterator-derive) -- [⚖ 0BSD license](https://spdx.org/licenses/0BSD.html) +- [⚖ MIT license](https://spdx.org/licenses/MIT.html) Procedural macro to derive `Sequence`. See crate [`enum-iterator`](https://docs.rs/enum-iterator) for details. # Contribute -All contributions shall be licensed under the [0BSD license](https://spdx.org/licenses/0BSD.html). +All contributions shall be licensed under the [MIT license](https://spdx.org/licenses/MIT.html). diff --git a/enum-iterator-derive/src/lib.rs b/enum-iterator-derive/src/lib.rs index 04b5a4f..7baabeb 100644 --- a/enum-iterator-derive/src/lib.rs +++ b/enum-iterator-derive/src/lib.rs @@ -1,16 +1,16 @@ -// Copyright (C) 2018-2022 Stephane Raux. Distributed under the 0BSD license. +// Copyright (c) 2018-2022 Stephane Raux. Distributed under the MIT license. //! # Overview //! - [📦 crates.io](https://crates.io/crates/enum-iterator-derive) //! - [📖 Documentation](https://docs.rs/enum-iterator-derive) -//! - [⚖ 0BSD license](https://spdx.org/licenses/0BSD.html) +//! - [⚖ MIT license](https://spdx.org/licenses/MIT.html) //! //! Procedural macro to derive `Sequence`. //! //! See crate [`enum-iterator`](https://docs.rs/enum-iterator) for details. //! //! # Contribute -//! All contributions shall be licensed under the [0BSD license](https://spdx.org/licenses/0BSD.html). +//! All contributions shall be licensed under the [MIT license](https://spdx.org/licenses/MIT.html). #![recursion_limit = "128"] #![deny(warnings)] diff --git a/enum-iterator/Cargo.toml b/enum-iterator/Cargo.toml index c7b67d8..9861f3b 100644 --- a/enum-iterator/Cargo.toml +++ b/enum-iterator/Cargo.toml @@ -4,7 +4,7 @@ version = "1.4.1" authors = ["Stephane Raux "] edition = "2021" description = "Tools to iterate over all values of a type (e.g. all variants of an enumeration)" -license = "0BSD" +license = "MIT" homepage = "https://github.com/stephaneyfx/enum-iterator" repository = "https://github.com/stephaneyfx/enum-iterator.git" documentation = "https://docs.rs/enum-iterator" diff --git a/enum-iterator/README.md b/enum-iterator/README.md index 54b0c51..e2e5992 100644 --- a/enum-iterator/README.md +++ b/enum-iterator/README.md @@ -3,7 +3,7 @@ # Overview - [📦 crates.io](https://crates.io/crates/enum-iterator) - [📖 Documentation](https://docs.rs/enum-iterator) -- [⚖ 0BSD license](https://spdx.org/licenses/0BSD.html) +- [⚖ MIT license](https://spdx.org/licenses/MIT.html) Tools to iterate over the values of a type. @@ -58,6 +58,6 @@ This crate tracks stable Rust. Minor releases may require a newer Rust version. must not require a newer Rust version. # Contribute -All contributions shall be licensed under the [0BSD license](https://spdx.org/licenses/0BSD.html). +All contributions shall be licensed under the [MIT license](https://spdx.org/licenses/MIT.html). diff --git a/enum-iterator/src/lib.rs b/enum-iterator/src/lib.rs index b6c9c0e..eecae87 100644 --- a/enum-iterator/src/lib.rs +++ b/enum-iterator/src/lib.rs @@ -1,9 +1,9 @@ -// Copyright (C) 2018-2022 Stephane Raux. Distributed under the 0BSD license. +// Copyright (c) 2018-2022 Stephane Raux. Distributed under the MIT license. //! # Overview //! - [📦 crates.io](https://crates.io/crates/enum-iterator) //! - [📖 Documentation](https://docs.rs/enum-iterator) -//! - [⚖ 0BSD license](https://spdx.org/licenses/0BSD.html) +//! - [⚖ MIT license](https://spdx.org/licenses/MIT.html) //! //! Tools to iterate over the values of a type. //! @@ -58,7 +58,7 @@ //! must not require a newer Rust version. //! //! # Contribute -//! All contributions shall be licensed under the [0BSD license](https://spdx.org/licenses/0BSD.html). +//! All contributions shall be licensed under the [MIT license](https://spdx.org/licenses/MIT.html). #![deny(missing_docs)] #![deny(warnings)] diff --git a/enum-iterator/tests/derive.rs b/enum-iterator/tests/derive.rs index f3207ac..357257a 100644 --- a/enum-iterator/tests/derive.rs +++ b/enum-iterator/tests/derive.rs @@ -1,4 +1,4 @@ -// Copyright (C) 2018-2022 Stephane Raux. Distributed under the 0BSD license. +// Copyright (c) 2018-2022 Stephane Raux. Distributed under the MIT license. use enum_iterator::{all, cardinality, reverse_all, Sequence}; use std::{convert::Infallible, iter::once};