Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude files from Cargo package #489

Merged
merged 2 commits into from Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions Cargo.toml
Expand Up @@ -11,6 +11,7 @@ keywords = ["xml", "serde", "parser", "writer", "html"]
categories = ["asynchronous", "encoding", "parsing", "parser-implementations"]
license = "MIT"
rust-version = "1.46"
include = ["src/*", "LICENSE-MIT.md", "README.md"]

[dependencies]
document-features = { version = "0.2", optional = true }
Expand All @@ -34,10 +35,12 @@ bench = false
[[bench]]
name = "microbenches"
harness = false
path = "benches/microbenches.rs"

[[bench]]
name = "macrobenches"
harness = false
path = "benches/macrobenches.rs"

[features]
default = []
Expand Down Expand Up @@ -174,27 +177,34 @@ rustdoc-args = ["--cfg", "docs_rs"]
[[test]]
name = "encodings"
required-features = ["encoding"]
path = "tests/encodings.rs"

[[test]]
name = "serde_attrs"
required-features = ["serialize"]
path = "tests/serde_attrs.rs"

[[test]]
name = "serde_roundtrip"
required-features = ["serialize"]
path = "tests/serde_roundtrip.rs"

[[test]]
name = "serde-de"
required-features = ["serialize"]
path = "tests/serde-de.rs"

[[test]]
name = "serde-se"
required-features = ["serialize"]
path = "tests/serde-se.rs"

[[test]]
name = "serde-migrated"
required-features = ["serialize"]
path = "tests/serde-migrated.rs"

[[test]]
name = "async-tokio"
required-features = ["async-tokio"]
path = "tests/async-tokio.rs"