From 43adf4144a38df3dfa9aafa0eff1aa3fd93f8053 Mon Sep 17 00:00:00 2001 From: tanglearncode Date: Wed, 16 Sep 2026 10:45:34 +0800 Subject: [PATCH] Relicense shimforge under MIT Replace the PolyForm Small Business / Noncommercial dual license with MIT, and drop the commercial licensing page it existed for. --- COMMERCIAL.md | 62 ------------ Cargo.toml | 4 +- LICENSE | 40 ++++---- LICENSE-POLYFORM-NONCOMMERCIAL | 133 ------------------------- LICENSE-POLYFORM-SMALL-BUSINESS | 123 ----------------------- README.md | 28 +----- macros/Cargo.toml | 2 +- macros/LICENSE | 40 ++++---- macros/LICENSE-POLYFORM-NONCOMMERCIAL | 133 ------------------------- macros/LICENSE-POLYFORM-SMALL-BUSINESS | 123 ----------------------- 10 files changed, 42 insertions(+), 646 deletions(-) delete mode 100644 COMMERCIAL.md delete mode 100644 LICENSE-POLYFORM-NONCOMMERCIAL delete mode 100644 LICENSE-POLYFORM-SMALL-BUSINESS delete mode 100644 macros/LICENSE-POLYFORM-NONCOMMERCIAL delete mode 100644 macros/LICENSE-POLYFORM-SMALL-BUSINESS diff --git a/COMMERCIAL.md b/COMMERCIAL.md deleted file mode 100644 index aa3e02e..0000000 --- a/COMMERCIAL.md +++ /dev/null @@ -1,62 +0,0 @@ -# Commercial licensing - -shimforge is released under two licenses, and you may choose either one. Between -them they already cover most users at no cost. This page explains when they do -not, and how to buy a license for those cases. - -## When the free licenses are enough - -You may use, modify, and distribute shimforge at no cost under whichever of these -fits you. You only need to satisfy one. - -**[PolyForm Small Business 1.0.0](LICENSE-POLYFORM-SMALL-BUSINESS)** covers use -for the benefit of a company that has **both**: - -- fewer than 100 people working as employees and independent contractors, and -- less than 1,000,000 USD (2019 dollars, adjusted for inflation) in total - revenue in the prior tax year. - -Control counts: parent companies, subsidiaries, and entities under common -control are measured together. - -**[PolyForm Noncommercial 1.0.0](LICENSE-POLYFORM-NONCOMMERCIAL)** covers any -noncommercial purpose. That includes personal study, hobby projects, amateur -work, and research with no anticipated commercial application. It also covers -charitable organizations, educational institutions, public research -organizations, public safety and health organizations, environmental protection -organizations, and government institutions, whatever their size or funding. - -No registration, no key, and no notification is required. Add shimforge to your -`[dev-dependencies]` and keep the license text with any copy you pass on. - -## When you need a commercial license - -Buy a commercial license if neither of the above fits, which in practice means a -company above the Small Business thresholds using shimforge commercially. Also -buy one if you need terms the PolyForm licenses do not give you, such as: - -- sublicensing, or redistribution under your own terms -- a warranty, an indemnity, or a negotiated liability cap -- bundling shimforge inside a product you license to your own customers -- procurement, security, or legal review that requires a signed agreement - -## How to buy - -Commercial licenses are sold by XT SOFTWARE LABS LLC, which holds the copyright -in shimforge. Write to **shimforge@xtsoftwarelabs.com** with: - -- your company name and website -- roughly how many developers will use shimforge -- anything your legal or procurement team requires - -You will get a quote and a license agreement. A license covers every version -released while it is active. - -## Questions - -If you are not sure which side of the threshold you fall on, or whether your -intended use is covered, ask at **shimforge@xtsoftwarelabs.com** before you rely on -it. Asking is free and we would rather answer early than argue later. - -This page is a summary for convenience. Where it and the license texts disagree, -the license texts control. diff --git a/Cargo.toml b/Cargo.toml index 9e73cef..da2e09c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,12 +4,12 @@ version = "0.1.1" edition = "2024" rust-version = "1.85" description = "Test Rust code without test-only traits or changes to production code." -license = "PolyForm-Small-Business-1.0.0 OR PolyForm-Noncommercial-1.0.0" +license = "MIT" repository = "https://github.com/XTSoftwareLabs/shimforge" readme = "README.md" keywords = ["mock", "testing", "detour"] categories = ["development-tools::testing"] -include = ["src/**", "tests/**", "examples/**", "Cargo.toml", "COMMERCIAL.md", "LICENSE*", "README.md"] +include = ["src/**", "tests/**", "examples/**", "Cargo.toml", "LICENSE*", "README.md"] [workspace] members = ["macros"] diff --git a/LICENSE b/LICENSE index 2592250..fa5845e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,27 +1,21 @@ -shimforge is available under either of the following licenses, at your option. -You need to satisfy only one of them. +MIT License - PolyForm Small Business License 1.0.0 - See LICENSE-POLYFORM-SMALL-BUSINESS - https://polyformproject.org/licenses/small-business/1.0.0 +Copyright (c) 2026 XT SOFTWARE LABS LLC - Covers use for the benefit of a company with fewer than 100 people and - less than 1,000,000 USD (2019, adjusted for inflation) of revenue in the - prior tax year. +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: - PolyForm Noncommercial License 1.0.0 - See LICENSE-POLYFORM-NONCOMMERCIAL - https://polyformproject.org/licenses/noncommercial/1.0.0 +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - Covers any noncommercial purpose, including personal study, hobby - projects and research, and covers charitable organizations, educational - institutions, public research organizations and government institutions - regardless of their size. - -Commercial use by a company that exceeds the Small Business thresholds is not -covered by either license. See COMMERCIAL.md or write to -shimforge@xtsoftwarelabs.com to buy a commercial license. - -Neither license is approved by the Open Source Initiative. - -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) +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/LICENSE-POLYFORM-NONCOMMERCIAL b/LICENSE-POLYFORM-NONCOMMERCIAL deleted file mode 100644 index 1df7d5f..0000000 --- a/LICENSE-POLYFORM-NONCOMMERCIAL +++ /dev/null @@ -1,133 +0,0 @@ -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) - -# PolyForm Noncommercial License 1.0.0 - - - -## Acceptance - -In order to get any license under these terms, you must agree -to them as both strict obligations and conditions to all -your licenses. - -## Copyright License - -The licensor grants you a copyright license for the -software to do everything you might do with the software -that would otherwise infringe the licensor's copyright -in it for any permitted purpose. However, you may -only distribute the software according to [Distribution -License](#distribution-license) and make changes or new works -based on the software according to [Changes and New Works -License](#changes-and-new-works-license). - -## Distribution License - -The licensor grants you an additional copyright license -to distribute copies of the software. Your license -to distribute covers distributing the software with -changes and new works permitted by [Changes and New Works -License](#changes-and-new-works-license). - -## Notices - -You must ensure that anyone who gets a copy of any part of -the software from you also gets a copy of these terms or the -URL for them above, as well as copies of any plain-text lines -beginning with `Required Notice:` that the licensor provided -with the software. For example: - -> Required Notice: Copyright Yoyodyne, Inc. (http://example.com) - -## Changes and New Works License - -The licensor grants you an additional copyright license to -make changes and new works based on the software for any -permitted purpose. - -## Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able -to license, that you would infringe by using the software. - -## Noncommercial Purposes - -Any noncommercial purpose is a permitted purpose. - -## Personal Uses - -Personal use for research, experiment, and testing for -the benefit of public knowledge, personal study, private -entertainment, hobby projects, amateur pursuits, or religious -observance, without any anticipated commercial application, -is use for a permitted purpose. - -## Noncommercial Organizations - -Use by any charitable organization, educational institution, -public research organization, public safety or health -organization, environmental protection organization, -or government institution is use for a permitted purpose -regardless of the source of funding or obligations resulting -from the funding. - -## Fair Use - -You may have "fair use" rights for the software under the -law. These terms do not limit them. - -## No Other Rights - -These terms do not allow you to sublicense or transfer any of -your licenses to anyone else, or prevent the licensor from -granting licenses to anyone else. These terms do not imply -any other licenses. - -## Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If -your company makes such a claim, your patent license ends -immediately for work on behalf of your company. - -## Violations - -The first time you are notified in writing that you have -violated any of these terms, or done anything with the software -not covered by your licenses, your licenses can nonetheless -continue if you come into full compliance with these terms, -and take practical steps to correct past violations, within -32 days of receiving notice. Otherwise, all your licenses -end immediately. - -## No Liability - -***As far as the law allows, the software comes as is, without -any warranty or condition, and the licensor will not be liable -to you for any damages arising out of these terms or the use -or nature of the software, under any kind of legal claim.*** - -## Definitions - -The **licensor** is the individual or entity offering these -terms, and the **software** is the software the licensor makes -available under these terms. - -**You** refers to the individual or entity agreeing to these -terms. - -**Your company** is any legal entity, sole proprietorship, -or other kind of organization that you work for, plus all -organizations that have control over, are under the control of, -or are under common control with that organization. **Control** -means ownership of substantially all the assets of an entity, -or the power to direct its management and policies by vote, -contract, or otherwise. Control can be direct or indirect. - -**Your licenses** are all the licenses granted to you for the -software under these terms. - -**Use** means anything you do with the software requiring one -of your licenses. diff --git a/LICENSE-POLYFORM-SMALL-BUSINESS b/LICENSE-POLYFORM-SMALL-BUSINESS deleted file mode 100644 index 44a087d..0000000 --- a/LICENSE-POLYFORM-SMALL-BUSINESS +++ /dev/null @@ -1,123 +0,0 @@ -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) - -# PolyForm Small Business License 1.0.0 - - - -## Acceptance - -In order to get any license under these terms, you must agree -to them as both strict obligations and conditions to all -your licenses. - -## Copyright License - -The licensor grants you a copyright license for the -software to do everything you might do with the software -that would otherwise infringe the licensor's copyright -in it for any permitted purpose. However, you may -only distribute the software according to [Distribution -License](#distribution-license) and make changes or new works -based on the software according to [Changes and New Works -License](#changes-and-new-works-license). - -## Distribution License - -The licensor grants you an additional copyright license -to distribute copies of the software. Your license -to distribute covers distributing the software with -changes and new works permitted by [Changes and New Works -License](#changes-and-new-works-license). - -## Notices - -You must ensure that anyone who gets a copy of any part of -the software from you also gets a copy of these terms or the -URL for them above, as well as copies of any plain-text lines -beginning with `Required Notice:` that the licensor provided -with the software. For example: - -> Required Notice: Copyright Yoyodyne, Inc. (http://example.com) - -## Changes and New Works License - -The licensor grants you an additional copyright license to -make changes and new works based on the software for any -permitted purpose. - -## Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able -to license, that you would infringe by using the software. - -## Fair Use - -You may have "fair use" rights for the software under the -law. These terms do not limit them. - -## Small Business - -Use of the software for the benefit of your company is use for -a permitted purpose if your company has fewer than 100 total -individuals working as employees and independent contractors, -and less than 1,000,000 USD (2019) total revenue in the prior -tax year. Adjust this revenue threshold for inflation according -to the United States Bureau of Labor Statistics' consumer price -index for all urban consumers, U.S. city average, for all items, -not seasonally adjusted, with 1982–1984=100 reference base. - -## No Other Rights - -These terms do not allow you to sublicense or transfer any of -your licenses to anyone else, or prevent the licensor from -granting licenses to anyone else. These terms do not imply -any other licenses. - -## Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If -your company makes such a claim, your patent license ends -immediately for work on behalf of your company. - -## Violations - -The first time you are notified in writing that you have -violated any of these terms, or done anything with the software -not covered by your licenses, your licenses can nonetheless -continue if you come into full compliance with these terms, -and take practical steps to correct past violations, within -32 days of receiving notice. Otherwise, all your licenses -end immediately. - -## No Liability - -***As far as the law allows, the software comes as is, without -any warranty or condition, and the licensor will not be liable -to you for any damages arising out of these terms or the use -or nature of the software, under any kind of legal claim.*** - -## Definitions - -The **licensor** is the individual or entity offering these -terms, and the **software** is the software the licensor makes -available under these terms. - -**You** refers to the individual or entity agreeing to these -terms. - -**Your company** is any legal entity, sole proprietorship, -or other kind of organization that you work for, plus all -organizations that have control over, are under the control of, -or are under common control with that organization. **Control** -means ownership of substantially all the assets of an entity, -or the power to direct its management and policies by vote, -contract, or otherwise. Control can be direct or indirect. - -**Your licenses** are all the licenses granted to you for the -software under these terms. - -**Use** means anything you do with the software requiring one -of your licenses. diff --git a/README.md b/README.md index dc3bddb..7fb4a81 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI](https://github.com/XTSoftwareLabs/shimforge/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/XTSoftwareLabs/shimforge/actions/workflows/ci.yml) [![crates.io](https://img.shields.io/crates/v/shimforge.svg)](https://crates.io/crates/shimforge) [![docs.rs](https://img.shields.io/docsrs/shimforge)](https://docs.rs/shimforge) -[![License: PolyForm](https://img.shields.io/badge/license-PolyForm-blue.svg)](#licensing) +[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](#licensing) [![Rust 1.85+](https://img.shields.io/badge/rust-1.85%2B-orange.svg)](https://github.com/XTSoftwareLabs/shimforge/blob/main/Cargo.toml) Test Rust code without test-only traits or changes to production code. @@ -689,25 +689,7 @@ and [`tests/io.rs`](tests/io.rs). Imported OS and C runtime calls are covered by ## Licensing -shimforge is copyright XT SOFTWARE LABS LLC and source-available under either of -two licenses, at your option. You need to satisfy only one of them. - -- [PolyForm Small Business 1.0.0](LICENSE-POLYFORM-SMALL-BUSINESS), for a company - with fewer than 100 people and less than 1,000,000 USD (2019, inflation - adjusted) of revenue in the prior tax year. Parent companies, subsidiaries, and - entities under common control count together. -- [PolyForm Noncommercial 1.0.0](LICENSE-POLYFORM-NONCOMMERCIAL), for any - noncommercial purpose. This covers personal study, hobby projects, and - research, and it covers charitable organizations, educational institutions, - public research organizations, and government institutions whatever their size. - -Under either one, use, modification, and redistribution are free of charge. Keep -the license text with any copy you pass on. - -Commercial use by a company above the Small Business thresholds is not covered by -either license. See [COMMERCIAL.md](COMMERCIAL.md) or write to -shimforge@xtsoftwarelabs.com. - -Neither license is approved by the Open Source Initiative. If your dependency -policy allows only OSI licenses, treat shimforge as commercial software and ask -for a license rather than assuming it is blocked. +shimforge is copyright XT SOFTWARE LABS LLC and released under the +[MIT License](LICENSE). Use, modification, and redistribution are free of +charge, for any purpose, commercial or not. Keep the copyright notice and the +license text with any copy you pass on. diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 1f785cd..2c7bfa0 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.1" edition = "2024" rust-version = "1.85" description = "Typed mock generation for shimforge" -license = "PolyForm-Small-Business-1.0.0 OR PolyForm-Noncommercial-1.0.0" +license = "MIT" repository = "https://github.com/XTSoftwareLabs/shimforge" [lib] diff --git a/macros/LICENSE b/macros/LICENSE index 2592250..fa5845e 100644 --- a/macros/LICENSE +++ b/macros/LICENSE @@ -1,27 +1,21 @@ -shimforge is available under either of the following licenses, at your option. -You need to satisfy only one of them. +MIT License - PolyForm Small Business License 1.0.0 - See LICENSE-POLYFORM-SMALL-BUSINESS - https://polyformproject.org/licenses/small-business/1.0.0 +Copyright (c) 2026 XT SOFTWARE LABS LLC - Covers use for the benefit of a company with fewer than 100 people and - less than 1,000,000 USD (2019, adjusted for inflation) of revenue in the - prior tax year. +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: - PolyForm Noncommercial License 1.0.0 - See LICENSE-POLYFORM-NONCOMMERCIAL - https://polyformproject.org/licenses/noncommercial/1.0.0 +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - Covers any noncommercial purpose, including personal study, hobby - projects and research, and covers charitable organizations, educational - institutions, public research organizations and government institutions - regardless of their size. - -Commercial use by a company that exceeds the Small Business thresholds is not -covered by either license. See COMMERCIAL.md or write to -shimforge@xtsoftwarelabs.com to buy a commercial license. - -Neither license is approved by the Open Source Initiative. - -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) +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/macros/LICENSE-POLYFORM-NONCOMMERCIAL b/macros/LICENSE-POLYFORM-NONCOMMERCIAL deleted file mode 100644 index 1df7d5f..0000000 --- a/macros/LICENSE-POLYFORM-NONCOMMERCIAL +++ /dev/null @@ -1,133 +0,0 @@ -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) - -# PolyForm Noncommercial License 1.0.0 - - - -## Acceptance - -In order to get any license under these terms, you must agree -to them as both strict obligations and conditions to all -your licenses. - -## Copyright License - -The licensor grants you a copyright license for the -software to do everything you might do with the software -that would otherwise infringe the licensor's copyright -in it for any permitted purpose. However, you may -only distribute the software according to [Distribution -License](#distribution-license) and make changes or new works -based on the software according to [Changes and New Works -License](#changes-and-new-works-license). - -## Distribution License - -The licensor grants you an additional copyright license -to distribute copies of the software. Your license -to distribute covers distributing the software with -changes and new works permitted by [Changes and New Works -License](#changes-and-new-works-license). - -## Notices - -You must ensure that anyone who gets a copy of any part of -the software from you also gets a copy of these terms or the -URL for them above, as well as copies of any plain-text lines -beginning with `Required Notice:` that the licensor provided -with the software. For example: - -> Required Notice: Copyright Yoyodyne, Inc. (http://example.com) - -## Changes and New Works License - -The licensor grants you an additional copyright license to -make changes and new works based on the software for any -permitted purpose. - -## Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able -to license, that you would infringe by using the software. - -## Noncommercial Purposes - -Any noncommercial purpose is a permitted purpose. - -## Personal Uses - -Personal use for research, experiment, and testing for -the benefit of public knowledge, personal study, private -entertainment, hobby projects, amateur pursuits, or religious -observance, without any anticipated commercial application, -is use for a permitted purpose. - -## Noncommercial Organizations - -Use by any charitable organization, educational institution, -public research organization, public safety or health -organization, environmental protection organization, -or government institution is use for a permitted purpose -regardless of the source of funding or obligations resulting -from the funding. - -## Fair Use - -You may have "fair use" rights for the software under the -law. These terms do not limit them. - -## No Other Rights - -These terms do not allow you to sublicense or transfer any of -your licenses to anyone else, or prevent the licensor from -granting licenses to anyone else. These terms do not imply -any other licenses. - -## Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If -your company makes such a claim, your patent license ends -immediately for work on behalf of your company. - -## Violations - -The first time you are notified in writing that you have -violated any of these terms, or done anything with the software -not covered by your licenses, your licenses can nonetheless -continue if you come into full compliance with these terms, -and take practical steps to correct past violations, within -32 days of receiving notice. Otherwise, all your licenses -end immediately. - -## No Liability - -***As far as the law allows, the software comes as is, without -any warranty or condition, and the licensor will not be liable -to you for any damages arising out of these terms or the use -or nature of the software, under any kind of legal claim.*** - -## Definitions - -The **licensor** is the individual or entity offering these -terms, and the **software** is the software the licensor makes -available under these terms. - -**You** refers to the individual or entity agreeing to these -terms. - -**Your company** is any legal entity, sole proprietorship, -or other kind of organization that you work for, plus all -organizations that have control over, are under the control of, -or are under common control with that organization. **Control** -means ownership of substantially all the assets of an entity, -or the power to direct its management and policies by vote, -contract, or otherwise. Control can be direct or indirect. - -**Your licenses** are all the licenses granted to you for the -software under these terms. - -**Use** means anything you do with the software requiring one -of your licenses. diff --git a/macros/LICENSE-POLYFORM-SMALL-BUSINESS b/macros/LICENSE-POLYFORM-SMALL-BUSINESS deleted file mode 100644 index 44a087d..0000000 --- a/macros/LICENSE-POLYFORM-SMALL-BUSINESS +++ /dev/null @@ -1,123 +0,0 @@ -Required Notice: Copyright XT SOFTWARE LABS LLC (https://github.com/XTSoftwareLabs/shimforge) - -# PolyForm Small Business License 1.0.0 - - - -## Acceptance - -In order to get any license under these terms, you must agree -to them as both strict obligations and conditions to all -your licenses. - -## Copyright License - -The licensor grants you a copyright license for the -software to do everything you might do with the software -that would otherwise infringe the licensor's copyright -in it for any permitted purpose. However, you may -only distribute the software according to [Distribution -License](#distribution-license) and make changes or new works -based on the software according to [Changes and New Works -License](#changes-and-new-works-license). - -## Distribution License - -The licensor grants you an additional copyright license -to distribute copies of the software. Your license -to distribute covers distributing the software with -changes and new works permitted by [Changes and New Works -License](#changes-and-new-works-license). - -## Notices - -You must ensure that anyone who gets a copy of any part of -the software from you also gets a copy of these terms or the -URL for them above, as well as copies of any plain-text lines -beginning with `Required Notice:` that the licensor provided -with the software. For example: - -> Required Notice: Copyright Yoyodyne, Inc. (http://example.com) - -## Changes and New Works License - -The licensor grants you an additional copyright license to -make changes and new works based on the software for any -permitted purpose. - -## Patent License - -The licensor grants you a patent license for the software that -covers patent claims the licensor can license, or becomes able -to license, that you would infringe by using the software. - -## Fair Use - -You may have "fair use" rights for the software under the -law. These terms do not limit them. - -## Small Business - -Use of the software for the benefit of your company is use for -a permitted purpose if your company has fewer than 100 total -individuals working as employees and independent contractors, -and less than 1,000,000 USD (2019) total revenue in the prior -tax year. Adjust this revenue threshold for inflation according -to the United States Bureau of Labor Statistics' consumer price -index for all urban consumers, U.S. city average, for all items, -not seasonally adjusted, with 1982–1984=100 reference base. - -## No Other Rights - -These terms do not allow you to sublicense or transfer any of -your licenses to anyone else, or prevent the licensor from -granting licenses to anyone else. These terms do not imply -any other licenses. - -## Patent Defense - -If you make any written claim that the software infringes or -contributes to infringement of any patent, your patent license -for the software granted under these terms ends immediately. If -your company makes such a claim, your patent license ends -immediately for work on behalf of your company. - -## Violations - -The first time you are notified in writing that you have -violated any of these terms, or done anything with the software -not covered by your licenses, your licenses can nonetheless -continue if you come into full compliance with these terms, -and take practical steps to correct past violations, within -32 days of receiving notice. Otherwise, all your licenses -end immediately. - -## No Liability - -***As far as the law allows, the software comes as is, without -any warranty or condition, and the licensor will not be liable -to you for any damages arising out of these terms or the use -or nature of the software, under any kind of legal claim.*** - -## Definitions - -The **licensor** is the individual or entity offering these -terms, and the **software** is the software the licensor makes -available under these terms. - -**You** refers to the individual or entity agreeing to these -terms. - -**Your company** is any legal entity, sole proprietorship, -or other kind of organization that you work for, plus all -organizations that have control over, are under the control of, -or are under common control with that organization. **Control** -means ownership of substantially all the assets of an entity, -or the power to direct its management and policies by vote, -contract, or otherwise. Control can be direct or indirect. - -**Your licenses** are all the licenses granted to you for the -software under these terms. - -**Use** means anything you do with the software requiring one -of your licenses.