Repository navigation
ADR 0014 dual mit apache licence
fiscalclock is licensed under either the MIT licence or the Apache License 2.0, at the user's option, so that closed products can embed it.
Last reviewed: 31 Oct 2026
Accepted on 31 Oct 2026. Decided by the research documents: the research proposal ("Adoption and positioning"). Applied in 0.1.0.
The proposal wants fiscalclock to become the default fiscal calendar engine, including inside commercial reporting tools and BI products. It describes dual MIT / Apache-2.0 as "the Rust norm"; the research documents give no source for that claim, so it is unverified. It contrasts this with GPL alternatives such as retailcalendar, listed as GPL-3.0 on PyPI, which it says cannot be embedded in closed products the same way.
- Allow embedding in closed-source products.
- Familiar terms for Rust, Python and JavaScript users.
- Allow contributions under clear terms.
Pros:
- Short and widely understood.
Cons:
- No patent grant: the text of
LICENSE-MITdoes not mention patents.
Pros:
- An explicit patent grant (section 3 of
LICENSE-APACHE).
Cons:
- Users who want MIT's shorter terms have no choice. The research documents do not compare the two licences further.
Pros:
- Users pick the terms that suit them, including the Apache-2.0 patent grant when they want it.
Cons:
- Two licence files to keep in every package.
Pros:
- Keeps derivative work open.
Cons:
- Blocks or complicates embedding in closed products, against the adoption goal.
Option 3. As applied in 0.1.0:
-
LICENSE-MITandLICENSE-APACHEat the root, with copies in each package. - Every manifest declares
MIT OR Apache-2.0(crates/core/Cargo.toml,pyproject.toml,package.json). - The CI job
consistencychecks that each package's licence copies match the root files.
Good:
- Closed and open projects can embed the library.
Bad:
- Contributions must be acceptable under both licences. CONTRIBUTING.md states that a contribution is dual-licensed under both, as described in section 5 of the Apache-2.0 licence.
- Changing the licence later needs an ADR, and may need contributors' agreement; the research documents do not analyse this.
- PDR
- README, Licence section
- Related: ADR-0015
fiscalclock is licensed under MIT OR Apache-2.0 (MIT, Apache-2.0). Last reviewed: 31 Oct 2026. Found an error on this page? Report it with the documentation form.