Skip to content

Commit

Permalink
build: use include instead of exclude for package files
Browse files Browse the repository at this point in the history
Switch from blacklist to whitelist approach for package contents to ensure
only essential files are included in the published crate.
  • Loading branch information
roderickvd committed Dec 23, 2024
1 parent 8cfbf19 commit b73415c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
- [gateway] Check for Free accounts and prevent connecting due to audio ads limitation

### Changed
- [build] Switch from exclude to include for more precise package contents
- [gateway] More descriptive error messages for subscription-related issues
- [protocol] Add `ads_audio` field to user options structure

Expand Down
10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ readme = "README.md"
repository = "https://github.com/roderickvd/pleezer/"
categories = ["multimedia::audio"]
keywords = ["audio", "deezer", "player"]
exclude = ["secrets.toml"]
documentation = "https://docs.rs/pleezer"
include = [
"src/**/*",
"build.rs",
"Cargo.lock",
"Cargo.toml",
"LICENSE.md",
"README.md",
"secrets.toml.example",
]

[badges]
maintenance = { status = "actively-developed" }
Expand Down

0 comments on commit b73415c

Please sign in to comment.