rust: syn: add README.md

Originally, when the Rust upstream `alloc` standard library crate was
vendored in commit 057b8d2571 ("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.

Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Tested-by: Gary Guo <[email protected]>
Tested-by: Jesung Yang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
This commit is contained in:
Miguel Ojeda
2025-11-24 17:15:47 +01:00
parent a3ee13024c
commit 1112ba8655
+13
View File
@@ -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