From 83a76d2d7980c158f954d51d0d8382eb6b7b145b Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Wed, 8 Apr 2026 22:24:54 +0100 Subject: [PATCH] Ship license file with Rust crates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Needed by license term for distribution in e.g. Fedora ``` 📦[michel@fedora-packaging rust]$ for c in *; do pushd $c >/dev/null; echo $c; cargo package --allow-dirty --list | grep LICENSE; echo; popd >/dev/null; done flatbuffers LICENSE flexbuffers LICENSE reflection warning: manifest has no description, documentation, homepage or repository | = note: see https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info LICENSE ``` Signed-off-by: Michel Lind --- rust/flatbuffers/LICENSE | 1 + rust/flexbuffers/LICENSE | 1 + rust/reflection/Cargo.toml | 1 + rust/reflection/LICENSE | 1 + 4 files changed, 4 insertions(+) create mode 120000 rust/flatbuffers/LICENSE create mode 120000 rust/flexbuffers/LICENSE create mode 120000 rust/reflection/LICENSE diff --git a/rust/flatbuffers/LICENSE b/rust/flatbuffers/LICENSE new file mode 120000 index 0000000000..30cff7403d --- /dev/null +++ b/rust/flatbuffers/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file diff --git a/rust/flexbuffers/LICENSE b/rust/flexbuffers/LICENSE new file mode 120000 index 0000000000..30cff7403d --- /dev/null +++ b/rust/flexbuffers/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file diff --git a/rust/reflection/Cargo.toml b/rust/reflection/Cargo.toml index 804fb68127..85a513d6a7 100644 --- a/rust/reflection/Cargo.toml +++ b/rust/reflection/Cargo.toml @@ -2,6 +2,7 @@ name = "flatbuffers-reflection" version = "0.1.0" edition = "2021" +license = "Apache-2.0" [dependencies] flatbuffers = { path = "../flatbuffers"} diff --git a/rust/reflection/LICENSE b/rust/reflection/LICENSE new file mode 120000 index 0000000000..30cff7403d --- /dev/null +++ b/rust/reflection/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file