diff --git a/Cargo.lock b/Cargo.lock index 9ed004920a3..ddacae03364 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -727,6 +727,17 @@ dependencies = [ "unicode-width 0.1.11", ] +[[package]] +name = "codespan-reporting" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" +dependencies = [ + "serde", + "termcolor", + "unicode-width 0.1.11", +] + [[package]] name = "console" version = "0.15.5" @@ -954,7 +965,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da6383f459341ea689374bf0a42979739dc421874f112ff26f829b8040b8e613" dependencies = [ "cc", - "codespan-reporting", + "codespan-reporting 0.11.1", "once_cell", "proc-macro2", "quote", @@ -4559,6 +4570,12 @@ dependencies = [ "url", ] +[[package]] +name = "target-lexicon" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" + [[package]] name = "tempfile" version = "3.4.0" @@ -4999,8 +5016,7 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" [[package]] name = "uniffi" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edf78ecfb9bb8d7c4f8da11e8eb2ab6304e8ec0adb3ab32d8fc77c21a5bb0b86" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "camino", @@ -5028,8 +5044,7 @@ dependencies = [ [[package]] name = "uniffi_bindgen" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdea7c4574723928bef87dfc04b203d96321d0bf34ab295a56379e633be579f3" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "askama 0.16.1", @@ -5047,6 +5062,7 @@ dependencies = [ "toml 0.9.6", "uniffi_internal_macros", "uniffi_meta", + "uniffi_parse_rs", "uniffi_pipeline", "uniffi_udl", ] @@ -5054,8 +5070,7 @@ dependencies = [ [[package]] name = "uniffi_build" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfe2d9769b6c0c15d7c7832d53eaa595c683bb80a30512614a67268ce16132f9" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "camino", @@ -5065,10 +5080,10 @@ dependencies = [ [[package]] name = "uniffi_core" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b1c62ee415b805f063c82e8ef6bbcaa1b87f8eed360cf217537b7724e05601" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", + "async-trait", "bytes", "once_cell", "static_assertions", @@ -5077,8 +5092,7 @@ dependencies = [ [[package]] name = "uniffi_internal_macros" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c79d4a3129d6c2c15e367d3954886a0533dd3e85d445ce4d93379f62c6949d7b" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "indexmap 2.5.0", @@ -5090,8 +5104,7 @@ dependencies = [ [[package]] name = "uniffi_macros" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6a9826a83f1140b2ec67c7944f562e1ef616e6eaf40e76247adccbd5b8a091" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "camino", "fs-err", @@ -5107,8 +5120,7 @@ dependencies = [ [[package]] name = "uniffi_meta" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf233eb014b595e8997c98df4ac6863b486a4ac6d54bd00230c7700753d7ef13" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "siphasher", @@ -5116,11 +5128,28 @@ dependencies = [ "uniffi_pipeline", ] +[[package]] +name = "uniffi_parse_rs" +version = "0.32.1" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" +dependencies = [ + "anyhow", + "camino", + "codespan-reporting 0.13.1", + "proc-macro2", + "quote", + "serde", + "syn 2.0.106", + "target-lexicon", + "thiserror 2.0.20", + "toml 0.9.6", + "uniffi_meta", +] + [[package]] name = "uniffi_pipeline" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55179706fbb6e7a23e729780d2c6165e6afe1ce725fa63754bcf217b440afc04" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "heck", @@ -5132,8 +5161,7 @@ dependencies = [ [[package]] name = "uniffi_udl" version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "421a9add7a19c5a264a2aba760514125ef3840a8b246ec88237fc91e3f2f79b1" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "anyhow", "textwrap", @@ -5505,8 +5533,7 @@ dependencies = [ [[package]] name = "weedle2" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "998d2c24ec099a87daf9467808859f9d82b61f1d9c9701251aea037f514eae0e" +source = "git+https://github.com/bendk/uniffi-rs.git?rev=02c3a018d33f87c08ea8b901ba55e01ffb441601#02c3a018d33f87c08ea8b901ba55e01ffb441601" dependencies = [ "nom", ] diff --git a/Cargo.toml b/Cargo.toml index e3e27dca1bd..cc1dd167e54 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -166,3 +166,7 @@ mozilla-central-workspace-hack = { path = "monorepo-hacks/workspace-hack" } mozbuild = { path = "monorepo-hacks/mozbuild" } # temporary ohttp override enabling the above hacks while we wait for a new version. ohttp = { git = "https://github.com/martinthomson/ohttp", rev = "324f876e79394c9b815dcacda3fd4f48f105fdf2" } +uniffi = { git = "https://github.com/bendk/uniffi-rs.git", rev = "02c3a018d33f87c08ea8b901ba55e01ffb441601" } +uniffi_bindgen = { git = "https://github.com/bendk/uniffi-rs.git", rev = "02c3a018d33f87c08ea8b901ba55e01ffb441601" } +uniffi_pipeline = { git = "https://github.com/bendk/uniffi-rs.git", rev = "02c3a018d33f87c08ea8b901ba55e01ffb441601" } +uniffi_internal_macros = { git = "https://github.com/bendk/uniffi-rs.git", rev = "02c3a018d33f87c08ea8b901ba55e01ffb441601" } diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index 0721cc4df48..445734ee0f1 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -6,7 +6,7 @@ the details of which are reproduced below. * [Mozilla Public License 2.0](#mozilla-public-license-20) * [Apache License 2.0](#apache-license-20) -* [MIT License: aho-corasick, byteorder, memchr](#mit-license-aho-corasick-byteorder-memchr) +* [MIT License: aho-corasick, byteorder, memchr, termcolor](#mit-license-aho-corasick-byteorder-memchr-termcolor) * [MIT License: bincode](#mit-license-bincode) * [MIT License: bytes](#mit-license-bytes) * [MIT License: cargo_metadata, winnow](#mit-license-cargo_metadata-winnow) @@ -48,6 +48,7 @@ the details of which are reproduced below. * [Unicode-3.0 License: icu_casemap, icu_casemap_data, icu_collections, icu_locale, icu_locale_core, icu_locale_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_segmenter, icu_segmenter_data, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive](#unicode-30-license-icu_casemap-icu_casemap_data-icu_collections-icu_locale-icu_locale_core-icu_locale_data-icu_normalizer-icu_normalizer_data-icu_properties-icu_properties_data-icu_provider-icu_segmenter-icu_segmenter_data-litemap-potential_utf-tinystr-writeable-yoke-yoke-derive-zerofrom-zerofrom-derive-zerotrie-zerovec-zerovec-derive) * [OpenSSL License](#openssl-license) * [Optional Notice: SQLite](#optional-notice-sqlite) +* [Apache-2.0 WITH LLVM-exception License: target-lexicon](#apache-20-with-llvm-exception-license-target-lexicon) * [(MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident](#(mit-or-apache-20)-and-unicode-30-license-unicode-ident) ------------- ## Mozilla Public License 2.0 @@ -68,6 +69,7 @@ The following text applies to code linked from these dependencies: [uniffi_internal_macros](https://github.com/mozilla/uniffi-rs), [uniffi_macros](https://github.com/mozilla/uniffi-rs), [uniffi_meta](https://github.com/mozilla/uniffi-rs), +[uniffi_parse_rs](https://github.com/mozilla/uniffi-rs), [uniffi_pipeline](https://github.com/mozilla/uniffi-rs), [uniffi_udl](https://github.com/mozilla/uniffi-rs) @@ -472,6 +474,7 @@ The following text applies to code linked from these dependencies: [cfg-if](https://github.com/alexcrichton/cfg-if), [chrono](https://github.com/chronotope/chrono), [clang-sys](https://github.com/KyleMayes/clang-sys), +[codespan-reporting](https://github.com/brendanzab/codespan), [core-foundation-sys](https://github.com/servo/core-foundation-rs), [core-foundation](https://github.com/servo/core-foundation-rs), [cpufeatures](https://github.com/RustCrypto/utils), @@ -582,6 +585,7 @@ The following text applies to code linked from these dependencies: [toml_parser](https://github.com/toml-rs/toml), [toml_writer](https://github.com/toml-rs/toml), [typenum](https://github.com/paholg/typenum), +[unicode-width](https://github.com/unicode-rs/unicode-width), [url](https://github.com/servo/rust-url), [utf8_iter](https://github.com/hsivonen/utf8_iter), [uuid](https://github.com/uuid-rs/uuid), @@ -802,12 +806,13 @@ limitations under the License. ``` ------------- -## MIT License: aho-corasick, byteorder, memchr +## MIT License: aho-corasick, byteorder, memchr, termcolor The following text applies to code linked from these dependencies: [aho-corasick](https://github.com/BurntSushi/aho-corasick), [byteorder](https://github.com/BurntSushi/byteorder), -[memchr](https://github.com/BurntSushi/memchr) +[memchr](https://github.com/BurntSushi/memchr), +[termcolor](https://github.com/BurntSushi/termcolor) ``` The MIT License (MIT) @@ -2376,6 +2381,235 @@ The following text applies to code linked from these dependencies: ``` This software makes use of the 'SQLite' database engine, and we are very grateful to D. Richard Hipp and team for producing it. +``` +------------- +## Apache-2.0 WITH LLVM-exception License: target-lexicon + +The following text applies to code linked from these dependencies: +[target-lexicon](https://github.com/bytecodealliance/target-lexicon) + +``` + + 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 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 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 those 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 + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + ``` ------------- ## (MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident diff --git a/megazords/full/DEPENDENCIES.md b/megazords/full/DEPENDENCIES.md index dc5bdcb805b..288878b7d1e 100644 --- a/megazords/full/DEPENDENCIES.md +++ b/megazords/full/DEPENDENCIES.md @@ -6,7 +6,7 @@ the details of which are reproduced below. * [Mozilla Public License 2.0](#mozilla-public-license-20) * [Apache License 2.0](#apache-license-20) -* [MIT License: aho-corasick, byteorder, memchr](#mit-license-aho-corasick-byteorder-memchr) +* [MIT License: aho-corasick, byteorder, memchr, termcolor](#mit-license-aho-corasick-byteorder-memchr-termcolor) * [MIT License: bincode](#mit-license-bincode) * [MIT License: bytes](#mit-license-bytes) * [MIT License: cargo_metadata, winnow](#mit-license-cargo_metadata-winnow) @@ -35,6 +35,7 @@ the details of which are reproduced below. * [Zlib License: foldhash](#zlib-license-foldhash) * [Unicode-3.0 License: icu_casemap, icu_casemap_data, icu_collections, icu_locale, icu_locale_core, icu_locale_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_segmenter, icu_segmenter_data, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive](#unicode-30-license-icu_casemap-icu_casemap_data-icu_collections-icu_locale-icu_locale_core-icu_locale_data-icu_normalizer-icu_normalizer_data-icu_properties-icu_properties_data-icu_provider-icu_segmenter-icu_segmenter_data-litemap-potential_utf-tinystr-writeable-yoke-yoke-derive-zerofrom-zerofrom-derive-zerotrie-zerovec-zerovec-derive) * [Optional Notice: SQLite](#optional-notice-sqlite) +* [Apache-2.0 WITH LLVM-exception License: target-lexicon](#apache-20-with-llvm-exception-license-target-lexicon) * [(MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident](#(mit-or-apache-20)-and-unicode-30-license-unicode-ident) ------------- ## Mozilla Public License 2.0 @@ -55,6 +56,7 @@ The following text applies to code linked from these dependencies: [uniffi_internal_macros](https://github.com/mozilla/uniffi-rs), [uniffi_macros](https://github.com/mozilla/uniffi-rs), [uniffi_meta](https://github.com/mozilla/uniffi-rs), +[uniffi_parse_rs](https://github.com/mozilla/uniffi-rs), [uniffi_pipeline](https://github.com/mozilla/uniffi-rs), [uniffi_udl](https://github.com/mozilla/uniffi-rs) @@ -459,6 +461,7 @@ The following text applies to code linked from these dependencies: [cfg-if](https://github.com/alexcrichton/cfg-if), [chrono](https://github.com/chronotope/chrono), [clang-sys](https://github.com/KyleMayes/clang-sys), +[codespan-reporting](https://github.com/brendanzab/codespan), [core-foundation-sys](https://github.com/servo/core-foundation-rs), [cpufeatures](https://github.com/RustCrypto/utils), [crypto-common](https://github.com/RustCrypto/traits), @@ -547,6 +550,7 @@ The following text applies to code linked from these dependencies: [toml_parser](https://github.com/toml-rs/toml), [toml_writer](https://github.com/toml-rs/toml), [typenum](https://github.com/paholg/typenum), +[unicode-width](https://github.com/unicode-rs/unicode-width), [url](https://github.com/servo/rust-url), [utf8_iter](https://github.com/hsivonen/utf8_iter), [uuid](https://github.com/uuid-rs/uuid), @@ -765,12 +769,13 @@ limitations under the License. ``` ------------- -## MIT License: aho-corasick, byteorder, memchr +## MIT License: aho-corasick, byteorder, memchr, termcolor The following text applies to code linked from these dependencies: [aho-corasick](https://github.com/BurntSushi/aho-corasick), [byteorder](https://github.com/BurntSushi/byteorder), -[memchr](https://github.com/BurntSushi/memchr) +[memchr](https://github.com/BurntSushi/memchr), +[termcolor](https://github.com/BurntSushi/termcolor) ``` The MIT License (MIT) @@ -1839,6 +1844,235 @@ The following text applies to code linked from these dependencies: ``` This software makes use of the 'SQLite' database engine, and we are very grateful to D. Richard Hipp and team for producing it. +``` +------------- +## Apache-2.0 WITH LLVM-exception License: target-lexicon + +The following text applies to code linked from these dependencies: +[target-lexicon](https://github.com/bytecodealliance/target-lexicon) + +``` + + 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 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 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 those 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 + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + ``` ------------- ## (MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident diff --git a/megazords/full/android/dependency-licenses.xml b/megazords/full/android/dependency-licenses.xml index 3607f428b1c..17c83a0403d 100644 --- a/megazords/full/android/dependency-licenses.xml +++ b/megazords/full/android/dependency-licenses.xml @@ -64,6 +64,10 @@ the details of which are reproduced below. Mozilla Public License 2.0: uniffi_meta https://github.com/mozilla/uniffi-rs/blob/main/LICENSE + + Mozilla Public License 2.0: uniffi_parse_rs + https://github.com/mozilla/uniffi-rs/blob/main/LICENSE + Mozilla Public License 2.0: uniffi_pipeline https://github.com/mozilla/uniffi-rs/blob/main/LICENSE @@ -156,6 +160,10 @@ the details of which are reproduced below. Apache License 2.0: clang-sys https://github.com/KyleMayes/clang-sys/blob/master/LICENSE.txt + + Apache License 2.0: codespan-reporting + https://github.com/brendanzab/codespan/blob/master/LICENSE + Apache License 2.0: core-foundation-sys https://github.com/servo/core-foundation-rs/blob/main/LICENSE-APACHE @@ -508,6 +516,10 @@ the details of which are reproduced below. Apache License 2.0: typenum https://github.com/paholg/typenum/blob/main/LICENSE-APACHE + + Apache License 2.0: unicode-width + https://github.com/unicode-rs/unicode-width/blob/master/LICENSE-APACHE + Apache License 2.0: url https://github.com/servo/rust-url/blob/main/LICENSE-APACHE @@ -568,6 +580,10 @@ the details of which are reproduced below. MIT License: memchr https://github.com/BurntSushi/memchr/blob/master/LICENSE-MIT + + MIT License: termcolor + https://github.com/BurntSushi/termcolor/blob/master/LICENSE-MIT + MIT License: bincode https://git.sr.ht/~stygianentity/bincode/blob/trunk/LICENSE.md @@ -792,6 +808,10 @@ the details of which are reproduced below. Optional Notice: SQLite https://sqlite.org/copyright.html + + Apache-2.0 WITH LLVM-exception License: target-lexicon + https://github.com/bytecodealliance/target-lexicon/blob/main/LICENSE + (MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident https://github.com/dtolnay/unicode-ident/LICENSE-APACHE diff --git a/megazords/ios-rust/DEPENDENCIES.md b/megazords/ios-rust/DEPENDENCIES.md index d6e3d3f30d8..2a017ce3fa6 100644 --- a/megazords/ios-rust/DEPENDENCIES.md +++ b/megazords/ios-rust/DEPENDENCIES.md @@ -6,7 +6,7 @@ the details of which are reproduced below. * [Mozilla Public License 2.0](#mozilla-public-license-20) * [Apache License 2.0](#apache-license-20) -* [MIT License: aho-corasick, byteorder, memchr](#mit-license-aho-corasick-byteorder-memchr) +* [MIT License: aho-corasick, byteorder, memchr, termcolor](#mit-license-aho-corasick-byteorder-memchr-termcolor) * [MIT License: bincode](#mit-license-bincode) * [MIT License: bytes](#mit-license-bytes) * [MIT License: cargo_metadata, winnow](#mit-license-cargo_metadata-winnow) @@ -44,6 +44,7 @@ the details of which are reproduced below. * [Zlib License: foldhash](#zlib-license-foldhash) * [Unicode-3.0 License: icu_casemap, icu_casemap_data, icu_collections, icu_locale, icu_locale_core, icu_locale_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_segmenter, icu_segmenter_data, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive](#unicode-30-license-icu_casemap-icu_casemap_data-icu_collections-icu_locale-icu_locale_core-icu_locale_data-icu_normalizer-icu_normalizer_data-icu_properties-icu_properties_data-icu_provider-icu_segmenter-icu_segmenter_data-litemap-potential_utf-tinystr-writeable-yoke-yoke-derive-zerofrom-zerofrom-derive-zerotrie-zerovec-zerovec-derive) * [Optional Notice: SQLite](#optional-notice-sqlite) +* [Apache-2.0 WITH LLVM-exception License: target-lexicon](#apache-20-with-llvm-exception-license-target-lexicon) * [(MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident](#(mit-or-apache-20)-and-unicode-30-license-unicode-ident) ------------- ## Mozilla Public License 2.0 @@ -64,6 +65,7 @@ The following text applies to code linked from these dependencies: [uniffi_internal_macros](https://github.com/mozilla/uniffi-rs), [uniffi_macros](https://github.com/mozilla/uniffi-rs), [uniffi_meta](https://github.com/mozilla/uniffi-rs), +[uniffi_parse_rs](https://github.com/mozilla/uniffi-rs), [uniffi_pipeline](https://github.com/mozilla/uniffi-rs), [uniffi_udl](https://github.com/mozilla/uniffi-rs) @@ -466,6 +468,7 @@ The following text applies to code linked from these dependencies: [cfg-if](https://github.com/alexcrichton/cfg-if), [chrono](https://github.com/chronotope/chrono), [clang-sys](https://github.com/KyleMayes/clang-sys), +[codespan-reporting](https://github.com/brendanzab/codespan), [core-foundation-sys](https://github.com/servo/core-foundation-rs), [core-foundation](https://github.com/servo/core-foundation-rs), [cpufeatures](https://github.com/RustCrypto/utils), @@ -568,6 +571,7 @@ The following text applies to code linked from these dependencies: [toml_parser](https://github.com/toml-rs/toml), [toml_writer](https://github.com/toml-rs/toml), [typenum](https://github.com/paholg/typenum), +[unicode-width](https://github.com/unicode-rs/unicode-width), [url](https://github.com/servo/rust-url), [utf8_iter](https://github.com/hsivonen/utf8_iter), [uuid](https://github.com/uuid-rs/uuid), @@ -781,12 +785,13 @@ limitations under the License. ``` ------------- -## MIT License: aho-corasick, byteorder, memchr +## MIT License: aho-corasick, byteorder, memchr, termcolor The following text applies to code linked from these dependencies: [aho-corasick](https://github.com/BurntSushi/aho-corasick), [byteorder](https://github.com/BurntSushi/byteorder), -[memchr](https://github.com/BurntSushi/memchr) +[memchr](https://github.com/BurntSushi/memchr), +[termcolor](https://github.com/BurntSushi/termcolor) ``` The MIT License (MIT) @@ -2130,6 +2135,235 @@ The following text applies to code linked from these dependencies: ``` This software makes use of the 'SQLite' database engine, and we are very grateful to D. Richard Hipp and team for producing it. +``` +------------- +## Apache-2.0 WITH LLVM-exception License: target-lexicon + +The following text applies to code linked from these dependencies: +[target-lexicon](https://github.com/bytecodealliance/target-lexicon) + +``` + + 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 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 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 those 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 + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + ``` ------------- ## (MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident diff --git a/megazords/ios-rust/focus/DEPENDENCIES.md b/megazords/ios-rust/focus/DEPENDENCIES.md index 481a0018af4..66e7e7ec961 100644 --- a/megazords/ios-rust/focus/DEPENDENCIES.md +++ b/megazords/ios-rust/focus/DEPENDENCIES.md @@ -6,7 +6,7 @@ the details of which are reproduced below. * [Mozilla Public License 2.0](#mozilla-public-license-20) * [Apache License 2.0](#apache-license-20) -* [MIT License: aho-corasick, byteorder, memchr](#mit-license-aho-corasick-byteorder-memchr) +* [MIT License: aho-corasick, byteorder, memchr, termcolor](#mit-license-aho-corasick-byteorder-memchr-termcolor) * [MIT License: bincode](#mit-license-bincode) * [MIT License: bytes](#mit-license-bytes) * [MIT License: cargo_metadata, winnow](#mit-license-cargo_metadata-winnow) @@ -40,6 +40,7 @@ the details of which are reproduced below. * [Zlib License: foldhash](#zlib-license-foldhash) * [Unicode-3.0 License: icu_collections, icu_locale, icu_locale_core, icu_locale_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_segmenter, icu_segmenter_data, litemap, potential_utf, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerotrie, zerovec, zerovec-derive](#unicode-30-license-icu_collections-icu_locale-icu_locale_core-icu_locale_data-icu_normalizer-icu_normalizer_data-icu_properties-icu_properties_data-icu_provider-icu_segmenter-icu_segmenter_data-litemap-potential_utf-tinystr-writeable-yoke-yoke-derive-zerofrom-zerofrom-derive-zerotrie-zerovec-zerovec-derive) * [Optional Notice: SQLite](#optional-notice-sqlite) +* [Apache-2.0 WITH LLVM-exception License: target-lexicon](#apache-20-with-llvm-exception-license-target-lexicon) * [(MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident](#(mit-or-apache-20)-and-unicode-30-license-unicode-ident) ------------- ## Mozilla Public License 2.0 @@ -54,6 +55,7 @@ The following text applies to code linked from these dependencies: [uniffi_internal_macros](https://github.com/mozilla/uniffi-rs), [uniffi_macros](https://github.com/mozilla/uniffi-rs), [uniffi_meta](https://github.com/mozilla/uniffi-rs), +[uniffi_parse_rs](https://github.com/mozilla/uniffi-rs), [uniffi_pipeline](https://github.com/mozilla/uniffi-rs), [uniffi_udl](https://github.com/mozilla/uniffi-rs) @@ -455,6 +457,7 @@ The following text applies to code linked from these dependencies: [cfg-if](https://github.com/alexcrichton/cfg-if), [chrono](https://github.com/chronotope/chrono), [clang-sys](https://github.com/KyleMayes/clang-sys), +[codespan-reporting](https://github.com/brendanzab/codespan), [core-foundation-sys](https://github.com/servo/core-foundation-rs), [core-foundation](https://github.com/servo/core-foundation-rs), [cpufeatures](https://github.com/RustCrypto/utils), @@ -550,6 +553,7 @@ The following text applies to code linked from these dependencies: [toml_parser](https://github.com/toml-rs/toml), [toml_writer](https://github.com/toml-rs/toml), [typenum](https://github.com/paholg/typenum), +[unicode-width](https://github.com/unicode-rs/unicode-width), [url](https://github.com/servo/rust-url), [utf8_iter](https://github.com/hsivonen/utf8_iter), [uuid](https://github.com/uuid-rs/uuid), @@ -761,12 +765,13 @@ limitations under the License. ``` ------------- -## MIT License: aho-corasick, byteorder, memchr +## MIT License: aho-corasick, byteorder, memchr, termcolor The following text applies to code linked from these dependencies: [aho-corasick](https://github.com/BurntSushi/aho-corasick), [byteorder](https://github.com/BurntSushi/byteorder), -[memchr](https://github.com/BurntSushi/memchr) +[memchr](https://github.com/BurntSushi/memchr), +[termcolor](https://github.com/BurntSushi/termcolor) ``` The MIT License (MIT) @@ -1816,6 +1821,235 @@ The following text applies to code linked from these dependencies: ``` This software makes use of the 'SQLite' database engine, and we are very grateful to D. Richard Hipp and team for producing it. +``` +------------- +## Apache-2.0 WITH LLVM-exception License: target-lexicon + +The following text applies to code linked from these dependencies: +[target-lexicon](https://github.com/bytecodealliance/target-lexicon) + +``` + + 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 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 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 those 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 + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. + + +--- LLVM Exceptions to the Apache 2.0 License ---- + +As an exception, if, as a result of your compiling your source code, portions +of this Software are embedded into an Object form of such source code, you +may redistribute such embedded portions in such Object form without complying +with the conditions of Sections 4(a), 4(b) and 4(d) of the License. + +In addition, if you combine or link compiled forms of this Software with +software that is licensed under the GPLv2 ("Combined Software") and if a +court of competent jurisdiction determines that the patent provision (Section +3), the indemnity provision (Section 9) or other Section of the License +conflicts with the conditions of the GPLv2, you may retroactively and +prospectively choose to deem waived or otherwise exclude such Section(s) of +the License, but only in their entirety and only with respect to the Combined +Software. + + ``` ------------- ## (MIT OR Apache-2.0) AND Unicode-3.0 License: unicode-ident diff --git a/tools/dependency_summary.py b/tools/dependency_summary.py index 039499065c7..151a3453cc8 100755 --- a/tools/dependency_summary.py +++ b/tools/dependency_summary.py @@ -808,6 +808,16 @@ "fixup": "https://raw.githubusercontent.com/mozilla/uniffi-rs/main/LICENSE", }, }, + "uniffi_parse_rs": { + "license_url": { + "check": None, + "fixup": "https://github.com/mozilla/uniffi-rs/blob/main/LICENSE", + }, + "license_file": { + "check": None, + "fixup": "https://raw.githubusercontent.com/mozilla/uniffi-rs/main/LICENSE", + }, + }, "uniffi_pipeline": { "license_url": { "check": None, @@ -1230,6 +1240,9 @@ def pick_most_acceptable_license(self, id, licenseId): # `unicode-ident` if licenseId == "(MIT OR Apache-2.0) AND Unicode-3.0": return licenseId + # target-lexicon + if licenseId == 'Apache-2.0 WITH LLVM-exception': + return licenseId # Split "A/B" and "A OR B" into individual license names. licenses = set(l.strip() for l in re.split(r"\s*(?:/|\sOR\s)\s*", licenseId)) diff --git a/tools/embedded-uniffi-bindgen/src/uniffi_bindgen.rs b/tools/embedded-uniffi-bindgen/src/uniffi_bindgen.rs index 04c07f6c68e..fd5947221ef 100644 --- a/tools/embedded-uniffi-bindgen/src/uniffi_bindgen.rs +++ b/tools/embedded-uniffi-bindgen/src/uniffi_bindgen.rs @@ -177,6 +177,7 @@ pub fn run_main() -> anyhow::Result<()> { crate_filter: crate_name, metadata_no_deps, format: !no_format, + ..GenerateOptions::default() }, paths, )?; diff --git a/tools/uniffi-bindgen-library-mode/src/main.rs b/tools/uniffi-bindgen-library-mode/src/main.rs index 706a275ece0..8e2a3bc5b64 100644 --- a/tools/uniffi-bindgen-library-mode/src/main.rs +++ b/tools/uniffi-bindgen-library-mode/src/main.rs @@ -130,6 +130,7 @@ fn run_uniffi_bindgen(cli: Cli) -> Result<()> { format: false, crate_filter: None, metadata_no_deps: false, + ..GenerateOptions::default() })?; } _ => {