Skip to content

Commit

Permalink
Exclude tests, examples, and benchmarks from the crates.io package. (#…
Browse files Browse the repository at this point in the history
…377)

* Exclude tests, examples, and benchmarks from the crates.io package.

This shrinks the generated package size from 296K to 260K.

* Fix glob syntax for top-level markdown files.
  • Loading branch information
sunfishcode committed Jul 13, 2022
1 parent 2c6db2e commit abd7471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/bytecodealliance/rustix"
edition = "2018"
keywords = ["api", "file", "network", "safe", "syscall"]
categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
exclude = ["/.*", "test-crates"]
include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"]

[build-dependencies]
cc = { version = "1.0.68", optional = true }
Expand Down

0 comments on commit abd7471

Please sign in to comment.