Skip to content

Commit

Permalink
Exclude snapshots from published packages (#1283)
Browse files Browse the repository at this point in the history
This commit excludes insta snapshot files from the published packages.
I've chosen to go with an explicit list of included files instead of an
exclude list as this also excludes other possibly files present by
accident at the publish time.

Fixes #1281
  • Loading branch information
weiznich authored Jan 13, 2025
1 parent 16892bb commit 993f7d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions utoipa-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ keywords = ["openapi", "codegen", "proc-macro", "documentation", "compile-time"]
repository = "https://github.com/juhaku/utoipa"
authors = ["Juha Kukkonen <juha7kukkonen@gmail.com>"]
rust-version.workspace = true
include = [
"README.md",
"src/**/*.rs",
"LICENSE-APACHE",
"LICENSE-MIT",
"CHANGELOG.md",
"Cargo.toml",
]

[lib]
proc-macro = true
Expand Down
8 changes: 8 additions & 0 deletions utoipa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ repository = "https://github.com/juhaku/utoipa"
categories = ["web-programming"]
authors = ["Juha Kukkonen <juha7kukkonen@gmail.com>"]
rust-version.workspace = true
include = [
"README.md",
"src/**/*.rs",
"LICENSE-APACHE",
"LICENSE-MIT",
"CHANGELOG.md",
"Cargo.toml",
]

[features]
# See README.md for list and explanations of features
Expand Down

0 comments on commit 993f7d4

Please sign in to comment.