Skip to content

Commit

Permalink
Add link to issue that when resolved may allow us to not exclude test…
Browse files Browse the repository at this point in the history
…s & examples & benches
  • Loading branch information
Mingun committed Jun 29, 2024
1 parent 0534c87 commit ae9fca6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@ keywords = ["xml", "serde", "parser", "writer", "html"]
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
license = "MIT"
rust-version = "1.56"
# We exclude tests & examples & benches to reduce the size of a package.
# Unfortunately, this is source of warnings in latest cargo when packaging:
# > warning: ignoring {context} `{name}` as `{path}` is not included in the published package
# That may become unnecessary once https://github.com/rust-lang/cargo/issues/13491
# will be resolved
include = ["src/*", "LICENSE-MIT.md", "README.md"]

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

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

[[test]]
name = "encodings"

0 comments on commit ae9fca6

Please sign in to comment.