Skip to content

Commit ae9fca6

Browse files
committed
Add link to issue that when resolved may allow us to not exclude tests & examples & benches
1 parent 0534c87 commit ae9fca6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ keywords = ["xml", "serde", "parser", "writer", "html"]
1111
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
1212
license = "MIT"
1313
rust-version = "1.56"
14+
# We exclude tests & examples & benches to reduce the size of a package.
15+
# Unfortunately, this is source of warnings in latest cargo when packaging:
16+
# > warning: ignoring {context} `{name}` as `{path}` is not included in the published package
17+
# That may become unnecessary once https://github.com/rust-lang/cargo/issues/13491
18+
# will be resolved
1419
include = ["src/*", "LICENSE-MIT.md", "README.md"]
1520

1621
[dependencies]
@@ -188,6 +193,8 @@ all-features = true
188193

189194
# Tests, benchmarks and examples doesn't included in package on crates.io,
190195
# so we need to specify a path, otherwise `cargo package` complains
196+
# That may become unnecessary once https://github.com/rust-lang/cargo/issues/13491
197+
# will be resolved
191198

192199
[[test]]
193200
name = "encodings"

0 commit comments

Comments
 (0)