diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 88337de..2e028df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -267,7 +267,7 @@ Fragments are automatically collected into CHANGELOG.md during the release proce ├── .pre-commit-config.yaml # Pre-commit hooks ├── CHANGELOG.md # Project changelog ├── CONTRIBUTING.md # This file -├── LICENSE # LGPL-3.0 +├── LICENSE # Unlicense (public domain) └── README.md # Project README ``` diff --git a/README.md b/README.md index ea0498f..43b6668 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Open in GitHub Codespaces](https://img.shields.io/badge/Codespaces-open-blue?logo=github)](https://codespaces.new/linksplatform/Numbers) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d0f7cbadcfbe43f7b9c732ec8603d974)](https://app.codacy.com/gh/linksplatform/Numbers?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Numbers&utm_campaign=Badge_Grade_Settings) @@ -14,3 +15,18 @@ LinksPlatform's Platform.Numbers Library. Forked from: [Konard/LinksPlatform/Platform/Platform.Helpers/Numbers](https://github.com/Konard/LinksPlatform/tree/19902d5c6221b5c93a5e06849de28bb97edac5f8/Platform/Platform.Helpers/Numbers) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/changelog.d/20260321_000000_fix_license.md b/changelog.d/20260321_000000_fix_license.md new file mode 100644 index 0000000..d8756d1 --- /dev/null +++ b/changelog.d/20260321_000000_fix_license.md @@ -0,0 +1,13 @@ +--- +bump: patch +--- + +### Fixed + +- Corrected license declaration in `rust/Cargo.toml` from `LGPL-3.0` to `Unlicense` (public domain) +- Updated license description in `CONTRIBUTING.md` from `LGPL-3.0` to `Unlicense (public domain)` + +### Changed + +- Added Unlicense badge to all README files (root, Rust, C#, C++) +- Added License section to all README files explaining the Unlicense and its advantages over LGPL diff --git a/cpp/README.md b/cpp/README.md index 22bc835..fb7ca58 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Actions Status](https://github.com/linksplatform/Numbers/workflows/Deploy%20new%20cpp%20version/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=Deploy+new+cpp+version) # [Numbers](https://github.com/linksplatform/Numbers) for C++ @@ -41,3 +42,18 @@ target_link_libraries(your_target PRIVATE Platform.Numbers) - [Platform.Interfaces](https://github.com/linksplatform/Interfaces) (C++ version) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/csharp/README.md b/csharp/README.md index 3e17c07..2d6952f 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Numbers?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Numbers) [![Actions Status](https://github.com/linksplatform/Numbers/workflows/CD/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=CD) @@ -54,3 +55,18 @@ with code for e-readers. - [Platform.Unsafe](https://github.com/linksplatform/Unsafe) - [Platform.Data](https://github.com/linksplatform/Data) + +## License + +This library is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom. diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 350db27..bdffe63 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -4,7 +4,7 @@ version = "0.2.0" edition = "2021" rust-version = "1.70" authors = ["uselesssgoddess", "Linksplatform Team "] -license = "LGPL-3.0" +license = "Unlicense" repository = "https://github.com/linksplatform/Numbers" homepage = "https://github.com/linksplatform/Numbers" description = """ diff --git a/rust/README.md b/rust/README.md index d84587e..63cb462 100644 --- a/rust/README.md +++ b/rust/README.md @@ -1,3 +1,4 @@ +[![Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/) [![Crates.io](https://img.shields.io/crates/v/platform-num?label=crates.io&style=flat)](https://crates.io/crates/platform-num) [![Rust CI/CD Pipeline](https://github.com/linksplatform/Numbers/workflows/Rust%20CI%2FCD%20Pipeline/badge.svg)](https://github.com/linksplatform/Numbers/actions?workflow=Rust+CI%2FCD+Pipeline) [![Docs.rs](https://docs.rs/platform-num/badge.svg)](https://docs.rs/platform-num) @@ -98,3 +99,18 @@ assert_eq!(to_usize(42u32), 42usize); ([trees-rs](https://github.com/linksplatform/trees-rs)) - [doublets](https://crates.io/crates/doublets) ([doublets-rs](https://github.com/linksplatform/doublets-rs)) + +## License + +This crate is released to the **public domain** under the [Unlicense](http://unlicense.org/). + +The Unlicense is the most permissive license available — it places no +restrictions whatsoever on users. You are free to copy, modify, publish, +use, compile, sell, or distribute this software for any purpose, +commercial or non-commercial, in any way you choose, with no conditions +attached. + +Unlike LGPL, which forces users to redistribute modifications under the +same license and comply with specific obligations (linking restrictions, +source disclosure for modifications), the Unlicense imposes +**no obligations at all**. It is truly free as in freedom.