Skip to content

Commit

Permalink
Add path argument to an example otherwise cargo package complains
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Mar 13, 2023
1 parent 1a967a6 commit 1ec074d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ all-features = true
# See https://stackoverflow.com/questions/61417452
rustdoc-args = ["--cfg", "docs_rs"]

# Tests, benchmarks and examples doesn't included in package on crates.io,
# so we need to specify a path, otherwise `cargo package` complains

[[test]]
name = "encodings"
required-features = ["encoding"]
Expand Down Expand Up @@ -228,3 +231,4 @@ path = "tests/async-tokio.rs"
[[example]]
name = "read_nodes_serde"
required-features = ["serialize"]
path = "examples/read_nodes_serde.rs"

0 comments on commit 1ec074d

Please sign in to comment.