Skip to content

Commit

Permalink
lib: Include license files when packaging
Browse files Browse the repository at this point in the history
While we're not shipping this on crates.io and probably won't soon,
it's useful to be able to run a `cargo package` just in case.  The
Fedora rust2rpm tool wants license files in the crate tarball.
  • Loading branch information
cgwalters committed Oct 11, 2023
1 parent 5f8e9dc commit 0c4e555
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ repository = "https://github.com/cgwalters/bootc"
version = "0.1.0"
rust-version = "1.64.0"

include = ["/src", "LICENSE-APACHE", "LICENSE-MIT"]

[dependencies]
anyhow = "1.0"
camino = { version = "1.0.4", features = ["serde1"] }
Expand Down
1 change: 1 addition & 0 deletions lib/LICENSE-APACHE
1 change: 1 addition & 0 deletions lib/LICENSE-MIT

0 comments on commit 0c4e555

Please sign in to comment.