Skip to content

Commit

Permalink
Being explicit about what to include in cargo package
Browse files Browse the repository at this point in the history
  • Loading branch information
Anatoliy Samara committed Oct 1, 2023
1 parent e1f845c commit 37984c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repository = "https://github.com/anatols/serde_hooks"
homepage = "https://github.com/anatols/serde_hooks"
rust-version = "1.68"
readme = "README.md"
include = ["docs", "examples", "src", "tests", "LICENSE*", "README.md"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -32,7 +33,12 @@ ron = "0.8"
bincode = "1.3"

[package.metadata.docs.rs]
cargo-args = ["--lib", "--no-deps", "-Zunstable-options", "-Zrustdoc-scrape-examples"]
cargo-args = [
"--lib",
"--no-deps",
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]

[[example]]
name = "ser"
Expand Down

0 comments on commit 37984c9

Please sign in to comment.