Re: [PATCH 17/18] rust: syn: add `README.md`

From: Alice Ryhl
Date: Mon Nov 10 2025 - 06:47:55 EST


On Mon, Nov 10, 2025 at 10:50:22AM +0100, Miguel Ojeda wrote:
> Originally, when the Rust upstream `alloc` standard library crate was
> vendored in commit 057b8d257107 ("rust: adapt `alloc` crate to the
> kernel"), a `README.md` file was added to explain the provenance and
> licensing of the source files.
>
> Thus do the same for the `syn` crate.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> ---
> rust/syn/README.md | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> create mode 100644 rust/syn/README.md
>
> diff --git a/rust/syn/README.md b/rust/syn/README.md
> new file mode 100644
> index 000000000000..d3e3981da2fe
> --- /dev/null
> +++ b/rust/syn/README.md
> @@ -0,0 +1,13 @@
> +# `syn`
> +
> +These source files come from the Rust `syn` crate, version 2.0.106
> +(released 2025-08-16), hosted in the <https://github.com/dtolnay/syn>
> +repository, licensed under "Apache-2.0 OR MIT" and only modified to add
> +the SPDX license identifiers and to remove the `unicode-ident`
> +dependency.
> +
> +For copyright details, please see:
> +
> + https://github.com/dtolnay/syn/blob/2.0.106/README.md#license
> + https://github.com/dtolnay/syn/blob/2.0.106/LICENSE-APACHE
> + https://github.com/dtolnay/syn/blob/2.0.106/LICENSE-MIT
> --
> 2.51.2
>

Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>