Exclude tests / examples / benches from the published packages (#589)

The package published to crates.io should not include tests / examples /
benches. Previously we ran into issues with having a too large package
from example data, but we avoided this by making the examples smaller. A
better way to avoid this is to not include them at all.

- [x] no changelog update needed
This commit is contained in:
Corwin 2024-06-13 22:48:00 +01:00 committed by GitHub
commit bc63776b9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@ edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
description = "A simple no_std hashmap implementation intended for use in the `agb` library" description = "A simple no_std hashmap implementation intended for use in the `agb` library"
repository = "https://github.com/agbrs/agb" repository = "https://github.com/agbrs/agb"
exclude = ["/benches"]
[features] [features]
allocator_api = [] allocator_api = []

View file

@ -7,6 +7,7 @@ description = "Library for Game Boy Advance Development"
license = "MPL-2.0" license = "MPL-2.0"
repository = "https://github.com/agbrs/agb" repository = "https://github.com/agbrs/agb"
homepage = "https://agbrs.dev" homepage = "https://agbrs.dev"
exclude = ["/tests", "/examples"]
[features] [features]
default = ["backtrace", "testing"] default = ["backtrace", "testing"]

View file

@ -6,6 +6,7 @@ edition = "2021"
license = "MPL-2.0" license = "MPL-2.0"
description = "Library for playing tracker music. Designed for use with the agb library for the Game Boy Advance." description = "Library for playing tracker music. Designed for use with the agb library for the Game Boy Advance."
repository = "https://github.com/agbrs/agb" repository = "https://github.com/agbrs/agb"
exclude = ["/examples"]
[features] [features]
default = ["xm", "midi"] default = ["xm", "midi"]