chore: add dual MIT/Apache-2.0 license, update Cargo.toml and README
Some checks failed
Public Repo Readiness / Check Public Repo Readiness (push) Failing after 4s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Joseph O'Brien
2026-03-31 22:00:10 -04:00
parent dcc3cf968c
commit 0ff89234e8
9 changed files with 72 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
[workspace.package]
license = "MIT OR Apache-2.0"
[workspace] [workspace]
members = [ members = [
"crates/notcore", "crates/notcore",

32
LICENSE-APACHE Normal file
View File

@@ -0,0 +1,32 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
... (171 more lines, 11323 bytes total)

19
LICENSE-MIT Normal file
View File

@@ -0,0 +1,19 @@
Copyright 2026 Joe O'Brien
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -242,3 +242,16 @@ cargo test -p notfiles # test one crate
cargo clippy --workspace # lint everything cargo clippy --workspace # lint everything
cargo fmt --check # format check cargo fmt --check # format check
``` ```
---
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

View File

@@ -2,6 +2,7 @@
name = "notcore" name = "notcore"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license.workspace = true
[dependencies] [dependencies]
serde = { workspace = true } serde = { workspace = true }

View File

@@ -2,6 +2,7 @@
name = "notfiles" name = "notfiles"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license.workspace = true
description = "A modern dotfiles manager — pure Rust alternative to GNU Stow" description = "A modern dotfiles manager — pure Rust alternative to GNU Stow"
[[bin]] [[bin]]

View File

@@ -2,6 +2,7 @@
name = "nothooks" name = "nothooks"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license.workspace = true
[[bin]] [[bin]]
name = "nothooks" name = "nothooks"

View File

@@ -2,6 +2,7 @@
name = "notsecrets" name = "notsecrets"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license.workspace = true
[dependencies] [dependencies]
notcore = { workspace = true } notcore = { workspace = true }

View File

@@ -2,6 +2,7 @@
name = "notstrap" name = "notstrap"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
license.workspace = true
description = "New-machine bootstrap orchestrator" description = "New-machine bootstrap orchestrator"
[[bin]] [[bin]]