From 9ac32ad51145a34200b2da316875f8a5e2c2e253 Mon Sep 17 00:00:00 2001 From: Nelson Spence Date: Mon, 25 May 2026 14:04:41 -0500 Subject: [PATCH] docs: add a root LICENSE pointing to the dual MIT/Apache files License-file auto-detectors (OpenSSF Best Practices license_location, GitHub's licensee, etc.) look for a single LICENSE/COPYING at the repo root and do not recognize the hyphenated Rust dual-license naming (LICENSE-MIT + LICENSE-APACHE), so they reported no license file despite both texts being present. Add a root LICENSE stating the MIT OR Apache-2.0 dual license and pointing to both files. No change to the actual terms: Cargo.toml license = "MIT OR Apache-2.0" is unchanged, and LICENSE-MIT / LICENSE-APACHE remain the authoritative texts. --- LICENSE | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..5effe81c --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2026 Nelson Spence + +ordvec is dual-licensed under either of: + + * Apache License, Version 2.0 + (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0) + * MIT license + (LICENSE-MIT or https://opensource.org/licenses/MIT) + +at your option. + +SPDX-License-Identifier: MIT OR Apache-2.0 + +The complete text of each license is provided in LICENSE-APACHE and +LICENSE-MIT in the root of this repository. + +Unless you explicitly state otherwise, any contribution intentionally +submitted for inclusion in this project by you, as defined in the +Apache-2.0 license, shall be dual licensed as above, without any +additional terms or conditions.