Skip to content

Commit 993f7d4

Browse files
authoredJan 13, 2025··
Exclude snapshots from published packages (#1283)
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
1 parent 16892bb commit 993f7d4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

‎utoipa-gen/Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ keywords = ["openapi", "codegen", "proc-macro", "documentation", "compile-time"]
99
repository = "https://github.com/juhaku/utoipa"
1010
authors = ["Juha Kukkonen <juha7kukkonen@gmail.com>"]
1111
rust-version.workspace = true
12+
include = [
13+
"README.md",
14+
"src/**/*.rs",
15+
"LICENSE-APACHE",
16+
"LICENSE-MIT",
17+
"CHANGELOG.md",
18+
"Cargo.toml",
19+
]
1220

1321
[lib]
1422
proc-macro = true

‎utoipa/Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ repository = "https://github.com/juhaku/utoipa"
1818
categories = ["web-programming"]
1919
authors = ["Juha Kukkonen <juha7kukkonen@gmail.com>"]
2020
rust-version.workspace = true
21+
include = [
22+
"README.md",
23+
"src/**/*.rs",
24+
"LICENSE-APACHE",
25+
"LICENSE-MIT",
26+
"CHANGELOG.md",
27+
"Cargo.toml",
28+
]
2129

2230
[features]
2331
# See README.md for list and explanations of features

0 commit comments

Comments
 (0)
Please sign in to comment.