Skip to content

Commit

Permalink
rust: Only include required files in crate tarballs
Browse files Browse the repository at this point in the history
… that are uploaded to crates.io.

cargo-diet output for this change:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Removed File                                                   β”‚ Size (Byte) β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ tests/it/utils/mod.rs                                          β”‚          21 β”‚
β”‚ .rustfmt.toml                                                  β”‚          51 β”‚
β”‚ tests/it/main.rs                                               β”‚          53 β”‚
β”‚ .gitignore                                                     β”‚          53 β”‚
β”‚ templates/api_summary.rs.jinja                                 β”‚         593 β”‚
β”‚ templates/component_type.rs.jinja                              β”‚         602 β”‚
β”‚ templates/api_extra/application_create.rs                      β”‚         619 β”‚
β”‚ templates/types/integer_enum.rs.jinja                          β”‚         667 β”‚
β”‚ templates/types/string_enum.rs.jinja                           β”‚         786 β”‚
β”‚ tests/it/mode_serialization.rs                                 β”‚        1018 β”‚
β”‚ templates/api_extra/message.rs                                 β”‚        1097 β”‚
β”‚ .openapi-generator-ignore                                      β”‚        1150 β”‚
β”‚ templates/types/struct_enum.rs.jinja                           β”‚        1303 β”‚
β”‚ tests/it/utils/test_client.rs                                  β”‚        1327 β”‚
β”‚ templates/api_extra/message_attempt_list_attempted_messages.rs β”‚        1338 β”‚
β”‚ templates/types/struct.rs.jinja                                β”‚        1561 β”‚
β”‚ templates/api_extra/message_expunge_content.rs                 β”‚        1658 β”‚
β”‚ templates/types/struct_fields.rs.jinja                         β”‚        1748 β”‚
β”‚ templates/api_resource.rs.jinja                                β”‚        5101 β”‚
β”‚ tests/it/kitchen_sink.rs                                       β”‚        6546 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Saved 13% or 27.3 KB in 20 files (of 211.1 KB and 120 files in entire crate)
  • Loading branch information
svix-jplatte committed Feb 28, 2025
1 parent a3afaba commit a669661
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ readme = "../README.md"
license = "MIT"
keywords = ["svix", "webhooks", "diahook"]
categories = ["development-tools", "asynchronous", "network-programming", "web-programming"]
include = ["src/**/*", "README.md"]

[features]
# openssl-sys keeps showing up in the CLI dep graph, breaking the build, even when
Expand Down

0 comments on commit a669661

Please sign in to comment.