Skip to content

Conversation

@samueltardieu
Copy link
Contributor

Without the vendored feature, utoipa-swagger-ui build script retrieves the swagger-ui files at build time. This requires network access when building rtz, even when Rust dependencies have been vendored.

Without the `vendored` feature, `utoipa-swagger-ui` build script
retrieves the swagger-ui files at build time. This requires network
access when building rtz, even when Rust dependencies have been
vendored.
@samueltardieu
Copy link
Contributor Author

This prevents, for example, NixOS packages from being built without hardcoding the swagger-ui files, as NixOS builders don't have access to the network by default to ensure reproducible builds.

If you merge this, could you please release rtz 0.7.1 so that we can update the NixOS build?

@samueltardieu
Copy link
Contributor Author

Ping @twitchax?

@twitchax
Copy link
Owner

Hey, sorry. I missed this somehow. Taking a look now.

@twitchax twitchax merged commit 45942b9 into twitchax:main Sep 19, 2024
@samueltardieu
Copy link
Contributor Author

No problem. Do you plan to cut a patch release soon so that we can update the NixOS package?

@twitchax
Copy link
Owner

Plan is "in a few moments!" :)

@twitchax
Copy link
Owner

The crate is published. GH to be updated soon.

@samueltardieu
Copy link
Contributor Author

Thanks! The nixpkgs update is in NixOS/nixpkgs#343066.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants