Skip to content

Commit

Permalink
fix: exclude generator-related files from the crate packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Aug 14, 2023
1 parent 442db17 commit 7714abc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ README.md
generator/*
generator_conf.yaml
.gitignore
update_openapi.sh
update_openapi.sh
Cargo.toml
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ authors = ["Nitrokey <[email protected]>"]
description = "All endpoints expect exactly the specified JSON. Additional properties will cause a Bad Request Error (400). All HTTP errors contain a JSON structure with an explanation of type string. All [base64](https://tools.ietf.org/html/rfc4648#section-4) encoded values are Big Endian. "
license = "MIT"
edition = "2018"
exclude = [
"generator/*",
"docs/*",
".openapi-generator/*",
".openapi-generator-ignore",
"generator_conf.yaml",
"update_openapi.sh",
]

[dependencies]
serde = "^1.0"
Expand Down

0 comments on commit 7714abc

Please sign in to comment.