Summary
Standardize the project license to Apache-2.0 across the entire repository. There are currently inconsistent license declarations (some files say MIT, some say Apache-2.0, and some are missing entirely).
Changes needed
Create
Fix incorrect references (MIT -> Apache-2.0)
Add missing license fields
Update
Notes
- The root
Cargo.toml workspace already declares license = "Apache-2.0" and 5 crates inherit it correctly (edgezero-core, edgezero-macros, edgezero-adapter-cloudflare, edgezero-adapter-fastly, edgezero-adapter-axum)
- Example crates use
publish = false so the license field isn't required for crates.io, but should be set for consistency
Summary
Standardize the project license to Apache-2.0 across the entire repository. There are currently inconsistent license declarations (some files say MIT, some say Apache-2.0, and some are missing entirely).
Changes needed
Create
LICENSEfile with the full Apache License 2.0 text (Copyright 2025-present Stackpop)Fix incorrect references (MIT -> Apache-2.0)
README.md— license section says "MIT"docs/.vitepress/config.mts— footer says "Released under the MIT License."docs/package.json—"license": "MIT"Add missing license fields
crates/edgezero-cli/Cargo.toml— no license fieldcrates/edgezero-adapter/Cargo.toml— no license fieldexamples/app-demo/Cargo.toml— no[workspace.package] licenseexamples/app-demo/crates/app-demo-core/Cargo.toml— no license fieldexamples/app-demo/crates/app-demo-adapter-axum/Cargo.toml— no license fieldexamples/app-demo/crates/app-demo-adapter-cloudflare/Cargo.toml— no license fieldexamples/app-demo/crates/app-demo-adapter-fastly/Cargo.toml— no license fieldUpdate
TODO.md— mark the "License and contribution guidelines" open design question as resolvedNotes
Cargo.tomlworkspace already declareslicense = "Apache-2.0"and 5 crates inherit it correctly (edgezero-core,edgezero-macros,edgezero-adapter-cloudflare,edgezero-adapter-fastly,edgezero-adapter-axum)publish = falseso the license field isn't required for crates.io, but should be set for consistency