Skip to content

Set project license to Apache-2.0 and fix all references #149

@aram356

Description

@aram356

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

  • Add LICENSE file 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 field
  • crates/edgezero-adapter/Cargo.toml — no license field
  • examples/app-demo/Cargo.toml — no [workspace.package] license
  • examples/app-demo/crates/app-demo-core/Cargo.toml — no license field
  • examples/app-demo/crates/app-demo-adapter-axum/Cargo.toml — no license field
  • examples/app-demo/crates/app-demo-adapter-cloudflare/Cargo.toml — no license field
  • examples/app-demo/crates/app-demo-adapter-fastly/Cargo.toml — no license field

Update

  • TODO.md — mark the "License and contribution guidelines" open design question as resolved

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions