From 50fc028d02101d2c3d24a8bca7f7e39081def113 Mon Sep 17 00:00:00 2001 From: ajianaz Date: Sat, 8 Aug 2026 22:46:22 +0700 Subject: [PATCH] feat: relicense MIT to Apache-2.0 + add CLA v1.1 - Replace MIT with Apache-2.0 (patent grant + retaliation clause) - Add CLA_INDIVIDUAL.md and CLA_CORPORATE.md (v1.1) - Update CONTRIBUTING.md with Contribution Terms callout at top - Update README badge MIT to Apache-2.0 - Update AGENT.md license references - Add [Unreleased] entry to CHANGELOG.md CLA v1.1 key provisions: - Contributor retains copyright, grants license (not assignment) - CodeCoraDev may sublicense under proprietary/commercial terms - SIAC arbitration (Singapore seat), Indonesian substantive law - CodeCoraDev definition covers successors/assigns/affiliates - Signed-off-by required on all commits Signed-off-by: ajianaz --- AGENT.md | 4 +- CHANGELOG.md | 14 +++ CLA_CORPORATE.md | 154 +++++++++++++++++++++++++++++++++ CLA_INDIVIDUAL.md | 162 +++++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 36 +++++++- Cargo.toml | 2 +- LICENSE | 212 +++++++++++++++++++++++++++++++++++++++++----- README.md | 2 +- 8 files changed, 560 insertions(+), 26 deletions(-) create mode 100644 CLA_CORPORATE.md create mode 100644 CLA_INDIVIDUAL.md diff --git a/AGENT.md b/AGENT.md index 568bf88..e5a1e3f 100644 --- a/AGENT.md +++ b/AGENT.md @@ -7,7 +7,7 @@ Bring Your Own Keys (BYOK) — no managed API, no cloud service. Runs locally ag diffs, scans, or branches. Includes a built-in symbol index, call graph, and hybrid semantic search engine (Brain Mode). -- **License:** MIT +- **License:** Apache-2.0 - **Edition:** Rust 2024 (MSRV 1.85) - **Repo:** `codecoradev/cora-code` - **Default branch:** `develop` @@ -457,7 +457,7 @@ When submitting cora to directories, aggregators, or showcases (Trendshift, etc. - CI checks (10) - GitHub Marketplace action published - MCP server with 15 tools -- MIT license +- Apache-2.0 license - Active development cadence ### Pre-Submission Checks diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a28f1d..0682144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- **Relicensed from MIT to Apache-2.0.** All 18 CodeCoraDev repositories now + standardize on Apache-2.0 for patent grant protection and open-core model + compatibility. Added CLA (Individual + Corporate) for contributor copyright + and patent grants. +- **Added Contributor License Agreement (CLA).** Individual and Corporate CLA + documents added (`CLA_INDIVIDUAL.md`, `CLA_CORPORATE.md`). CLA includes + SIAC arbitration, patent retaliation, moral rights acknowledgment, and + no-compensation clause. +- **Updated CONTRIBUTING.md.** Added Contribution Terms section with + no-compensation notice, CLA requirement, and Apache-2.0 license reference. +- **Updated README license badge** from MIT to Apache-2.0. + ## [0.13.0] ### Added diff --git a/CLA_CORPORATE.md b/CLA_CORPORATE.md new file mode 100644 index 0000000..c69cc0b --- /dev/null +++ b/CLA_CORPORATE.md @@ -0,0 +1,154 @@ +# CodeCoraDev Corporate Contributor License Agreement + +Based on the Apache Software Foundation Corporate CLA. + +This agreement is for **entities** (companies, organizations) that submit +contributions to CodeCoraDev projects on behalf of their employees or contractors. + +--- + +## Definitions + +- **"You"** / **"Corporation"** — the entity submitting the Contribution. +- **"Contribution"** — any original work of authorship, including source code, + documentation, tests, configurations, design assets, or other materials that + are intentionally submitted by the Corporation to CodeCoraDev for inclusion in + any CodeCoraDev-owned project. +- **"CodeCoraDev"** — the project maintainer (Anaz S. Aji / @ajianaz), and their + successors, assigns, affiliates, and any legal entity they establish to operate + the Project, operating the repositories under the + [github.com/codecoradev](https://github.com/codecoradev) organization. +- **"Project"** — any open-source project maintained by CodeCoraDev. +- **"Designated Individual(s)"** — the employee(s) or agent(s) authorized to + submit Contributions on behalf of the Corporation. + +--- + +## 1. Copyright License + +Corporation grants CodeCoraDev a **perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable** copyright license to reproduce, prepare derivative +works of, publicly display, publicly perform, sublicense (including under +proprietary and commercial licenses), and distribute the Contributions of the +Designated Individual(s). + +For the avoidance of doubt, CodeCoraDev may exercise this license under the +Project's current license, or under any other license of CodeCoraDev's choosing, +including but not limited to proprietary, commercial, or copyleft licenses. + +## 2. Patent License + +Corporation grants CodeCoraDev a **perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable** patent license to make, have made, use, offer to sell, +sell, import, and otherwise transfer the Contributions of the Designated +Individual(s), where such patent license applies only to those patent claims +licensable by Corporation that are necessarily infringed by the Contribution(s) +alone or by combination of the Contribution(s) with the Project. + +If any entity institutes patent litigation against Corporation or any other entity +(including a cross-claim or counterclaim in a lawsuit) alleging that the +Contribution, or the Project to which the Contribution was submitted, constitutes +direct or contributory patent infringement, then **all patent licenses granted +under this Agreement to that entity** shall terminate as of the date such +litigation is filed. + +This patent license does not extend to any patents of third parties. Corporation +makes no representation that Contributions are free from infringement of +third-party patents. + +## 3. Authority + +Corporation represents that each Designated Individual is authorized to submit +Contributions on Corporation's behalf, and that Corporation has the right to grant +the licenses in Sections 1 and 2. + +## 4. Original Work + +Corporation represents that each Contribution is the original work of the +Designated Individual(s). Corporation represents that Contribution submissions +include complete details of any third-party license or other restriction +(including, but not limited to, related patents and trademarks) of which +Corporation knows or has reason to know and which are associated with any part of +the Contributions. + +## 5. No Compensation + +Corporation acknowledges that CodeCoraDev is a community-driven, open-source +project. **All contributions are voluntary and unpaid.** CodeCoraDev does not +offer bounties, payments, equity, or other compensation for contributions unless +explicitly stated in a separate written agreement. + +Nothing in this Agreement creates an employment, agency, partnership, or joint +venture relationship between Corporation and CodeCoraDev. Corporation acknowledges +that CodeCoraDev may commercially exploit the Project (including through +proprietary or cloud-based products) without any obligation of accounting, +profit-sharing, or additional compensation to Corporation. + +## 6. Moral Rights + +To the extent permitted by applicable law, Corporation waives any moral rights of +its Designated Individual(s) to the extent necessary to enable CodeCoraDev to +exercise the licenses granted in Section 1, and Corporation agrees not to assert +moral rights against CodeCoraDev or its licensees. + +## 7. No Obligation + +CodeCoraDev is not obligated to accept, use, or maintain any Contribution. +CodeCoraDev reserves the right to remove, modify, or relicense Contributions at +its discretion. + +## 8. Disclaimer + +Except for the express warranties in Sections 3 and 4, Corporation provides +Contributions on an **"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND**, either express or implied, including, without limitation, any warranties +or conditions of title, non-infringement, merchantability, or fitness for a +particular purpose. + +In no event shall CodeCoraDev be liable for any direct, indirect, incidental, +special, exemplary, or consequential damages arising out of or relating to this +Agreement or the use of Contributions, even if CodeCoraDev has been advised of the +possibility of such damages. + +## 9. Governing Law and Dispute Resolution + +(a) This Agreement shall be governed by and construed in accordance with the laws +of the **Republic of Indonesia**, without regard to its conflict of laws provisions. + +(b) Any dispute, controversy, or claim arising out of or relating to this +Agreement, including the breach, termination, or validity thereof, shall be +finally resolved by arbitration administered by the **Singapore International +Arbitration Centre (SIAC)** in accordance with the SIAC Rules of Arbitration in +force at the time of the commencement of the arbitration. The seat of arbitration +shall be Singapore. The number of arbitrators shall be one. The language of the +arbitration shall be English. + +(c) Notwithstanding the foregoing, CodeCoraDev may seek interim or injunctive +relief in any court of competent jurisdiction to protect its intellectual property +rights. + +(d) Judgment upon the award rendered by the arbitrator(s) may be entered in any +court having jurisdiction thereof. + +--- + +## Signing + +Corporation may sign this agreement electronically through CLAassistant or +equivalent system when configured on the repository. + +For offline signing, contact: hello@codecora.dev + +--- + +## Miscellaneous + +This Agreement constitutes the entire agreement between the parties regarding its +subject matter. If any provision is held unenforceable, the remainder shall remain +in effect. CodeCoraDev may amend this Agreement; amended terms apply prospectively +to new Contributions. This Agreement may be assigned by CodeCoraDev to any +successor or affiliate. Grants made prior to termination survive in perpetuity. + +--- + +*Version 1.1 — August 2026* diff --git a/CLA_INDIVIDUAL.md b/CLA_INDIVIDUAL.md new file mode 100644 index 0000000..540ad10 --- /dev/null +++ b/CLA_INDIVIDUAL.md @@ -0,0 +1,162 @@ +# CodeCoraDev Individual Contributor License Agreement + +Based on the Apache Software Foundation Individual CLA. + +Thank you for your interest in CodeCoraDev projects. This agreement clarifies the +terms under which you contribute code, documentation, and other materials to +CodeCoraDev-owned open-source projects. + +This is a **license agreement**, not a copyright assignment. You retain ownership +of your contributions. + +--- + +## Definitions + +- **"You"** — the individual submitting the Contribution. +- **"Contribution"** — any original work of authorship, including source code, + documentation, tests, configurations, design assets, or other materials that + are intentionally submitted by You to CodeCoraDev for inclusion in any + CodeCoraDev-owned project. +- **"CodeCoraDev"** — the project maintainer (Anaz S. Aji / @ajianaz), and their + successors, assigns, affiliates, and any legal entity they establish to operate + the Project, operating the repositories under the + [github.com/codecoradev](https://github.com/codecoradev) organization. +- **"Project"** — any open-source project maintained by CodeCoraDev, including but + not limited to Cora, Uteke, Trapfall, Rungu, and others. + +--- + +## 1. Copyright License + +You grant CodeCoraDev a **perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable** copyright license to reproduce, prepare derivative +works of, publicly display, publicly perform, sublicense (including under +proprietary and commercial licenses), and distribute your Contributions and such +derivative works. + +For the avoidance of doubt, CodeCoraDev may exercise this license under the +Project's current license, or under any other license of CodeCoraDev's choosing, +including but not limited to proprietary, commercial, or copyleft licenses. + +## 2. Patent License + +You grant CodeCoraDev a **perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable** patent license to make, have made, use, offer to sell, +sell, import, and otherwise transfer your Contributions, where such patent license +applies only to those patent claims licensable by you that are necessarily +infringed by your Contribution(s) alone or by combination of your Contribution(s) +with the Project to which such Contribution(s) was submitted. + +If any entity institutes patent litigation against you or any other entity +(including a cross-claim or counterclaim in a lawsuit) alleging that your +Contribution, or the Project to which you submitted the Contribution, constitutes +direct or contributory patent infringement, then **all patent licenses granted +under this Agreement to that entity** shall terminate as of the date such +litigation is filed. + +This patent license is personal to You and does not extend to any patents of +third parties. You make no representation that your Contributions are free from +infringement of third-party patents. + +## 3. Original Work and Employer Authorization + +You represent that each of your Contributions is your original work. You represent +that your Contribution submissions include complete details of any third-party +license or other restriction (including, but not limited to, related patents and +trademarks) of which you are personally aware and which are associated with any +part of your Contributions. + +If you are employed, you represent that your employer has consented to or does not +claim ownership of your Contributions, or that you are submitting with your +employer's authorization. + +## 4. No Compensation + +You acknowledge that CodeCoraDev is a community-driven, open-source project +maintained by a solo founder. **All contributions are voluntary and unpaid.** +CodeCoraDev does not offer bounties, payments, equity, or other compensation for +contributions unless explicitly stated in a separate written agreement. + +Nothing in this Agreement creates an employment, agency, partnership, or joint +venture relationship between You and CodeCoraDev. You acknowledge that +CodeCoraDev may commercially exploit the Project (including through proprietary +or cloud-based products) without any obligation of accounting, profit-sharing, +or additional compensation to You. + +## 5. Moral Rights + +You retain all moral rights in your Contributions. However, you waive any moral +rights to the extent necessary to enable CodeCoraDev to exercise the licenses +granted in Section 1, including the right to make derivative works and to +distribute Contributions under proprietary or commercial licenses, and you agree +not to assert moral rights against CodeCoraDev or its licensees. + +## 6. No Obligation + +CodeCoraDev is not obligated to accept, use, or maintain any Contribution. +CodeCoraDev reserves the right to remove, modify, or relicense Contributions at +its discretion. + +## 7. Disclaimer + +Except for the express warranties in Sections 3 and 4, you provide your +Contributions on an **"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND**, either express or implied, including, without limitation, any warranties +or conditions of title, non-infringement, merchantability, or fitness for a +particular purpose. + +In no event shall CodeCoraDev be liable for any direct, indirect, incidental, +special, exemplary, or consequential damages arising out of or relating to this +Agreement or the use of your Contributions, even if CodeCoraDev has been advised +of the possibility of such damages. + +## 8. Governing Law and Dispute Resolution + +(a) This Agreement shall be governed by and construed in accordance with the laws +of the **Republic of Indonesia**, without regard to its conflict of laws provisions. + +(b) Any dispute, controversy, or claim arising out of or relating to this +Agreement, including the breach, termination, or validity thereof, shall be +finally resolved by arbitration administered by the **Singapore International +Arbitration Centre (SIAC)** in accordance with the SIAC Rules of Arbitration in +force at the time of the commencement of the arbitration. The seat of arbitration +shall be Singapore. The number of arbitrators shall be one. The language of the +arbitration shall be English. + +(c) Notwithstanding the foregoing, CodeCoraDev may seek interim or injunctive +relief in any court of competent jurisdiction to protect its intellectual property +rights. + +(d) Judgment upon the award rendered by the arbitrator(s) may be entered in any +court having jurisdiction thereof. + +--- + +## Signing + +By submitting a pull request, issue, code contribution, or other material to any +CodeCoraDev repository, **and including a `Signed-off-by:` line in your commit +message**, you agree to the terms of this agreement. The `Signed-off-by:` line +shall be in the format: `Signed-off-by: Your Name ` and +constitutes your electronic signature. + +If a Contributor License Agreement bot (e.g., CLAassistant) is configured on the +repository, you may be asked to sign this agreement electronically through that +system. + +--- + +## Miscellaneous + +This Agreement constitutes the entire agreement between the parties regarding its +subject matter. If any provision is held unenforceable, the remainder shall remain +in effect. CodeCoraDev may amend this Agreement; amended terms apply prospectively +to new Contributions. This Agreement may be assigned by CodeCoraDev to any +successor or affiliate. Grants made prior to termination survive in perpetuity. +You may terminate this Agreement with 30 days written notice; existing grants +survive termination. + +--- + +*Version 1.1 — August 2026* diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 37b2658..0297831 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,6 +4,14 @@ Cora is a solo-maintained project with a strong product direction. Contributions This document helps you decide *whether* and *how* to contribute in a way that's likely to get merged, so neither of us wastes time. +> ### 📋 Contribution Terms +> +> By submitting a contribution, you agree to the terms in [CLA_INDIVIDUAL.md](CLA_INDIVIDUAL.md) (for individuals) or [CLA_CORPORATE.md](CLA_CORPORATE.md) (for employees contributing on behalf of their employer). +> +> **TL;DR:** You retain copyright. You grant CodeCoraDev a license to use your contribution — including in commercial products. Contributions are voluntary and unpaid. If you prefer not to sign, that's okay — but your PR cannot be merged. +> +> All commits must include `Signed-off-by: Your Name ` (same format as `git commit -s`). + ## How this project is run - Cora has one active maintainer ([@ajianaz](https://github.com/ajianaz)). @@ -278,6 +286,32 @@ Don't file them as public issues. See [SECURITY.md](SECURITY.md). See [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md). +## Contribution Terms + +CodeCoraDev projects are open-source and community-driven. By submitting a +contribution (pull request, issue report, documentation, or any other creative +work), you agree that: + +1. **No Compensation:** Contributions are voluntary and unpaid. CodeCoraDev + does not offer bounties, payments, or equity for contributions unless + explicitly stated in a separate written agreement. + +2. **License Grant:** You grant CodeCoraDev a perpetual, worldwide, + non-exclusive, royalty-free license to use, modify, and distribute your + contribution under the project's open-source license and any future license + that CodeCoraDev may adopt (including proprietary/commercial licenses). + +3. **Original Work:** Your contribution is your original work or properly + attributed third-party work under a compatible license. + +4. **No Obligation:** CodeCoraDev is not obligated to accept, use, or maintain + any contribution. + +A Contributor License Agreement (CLA) is required for contributions to be +merged. See [CLA_INDIVIDUAL.md](CLA_INDIVIDUAL.md) or +[CLA_CORPORATE.md](CLA_CORPORATE.md) for details. + ## License -By contributing you agree your work is licensed under [MIT](LICENSE). No CLA required. +By contributing you agree your work is licensed under [Apache-2.0](LICENSE). +A CLA is required — see [CLA_INDIVIDUAL.md](CLA_INDIVIDUAL.md). diff --git a/Cargo.toml b/Cargo.toml index be4b952..b5dfb2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "cora-code" version = "0.13.0" edition = "2024" description = "CLI-first AI code review — BYOK, diff/scan/branch, pre-commit hooks" -license = "MIT" +license = "Apache-2.0" repository = "https://github.com/codecoradev/cora-code" readme = "README.md" keywords = ["cli", "code-review", "ai", "git", "pre-commit"] diff --git a/LICENSE b/LICENSE index 488fbb0..5fad465 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,191 @@ -MIT License - -Copyright (c) 2026 Anaz S Aji - -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. + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to the Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by the Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding any notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Copyright 2026 ajianaz + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md index 2187692..f0445a5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![GitHub stars](https://img.shields.io/github/stars/codecoradev/cora-code?style=social)](https://github.com/codecoradev/cora-code/stargazers) [![CI](https://github.com/codecoradev/cora-code/actions/workflows/ci.yml/badge.svg)](https://github.com/codecoradev/cora-code/actions/workflows/ci.yml) [![Crates.io](https://img.shields.io/crates/v/cora-code.svg)](https://crates.io/crates/cora-code) -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Rust](https://img.shields.io/badge/Rust-1.85+-orange.svg)](https://www.rust-lang.org/)