Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: Optimize all external host dependencies for faster rebuilds #1365

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

svix-jplatte
Copy link
Member

@svix-jplatte svix-jplatte commented Jul 10, 2024

Optimize all host dependencies (proc-macros, build scripts), not just quote. Slows down clean builds (such as after cargo clean, a toolchain upgrade) and some rebuilds (after a host dependency upgrades), but speeds up recompilation in other more common cases where only runtime dependencies changed (if any).

Reduces re-check times when svix-server/lib.rs is touched by about 10% locally.

@svix-jplatte svix-jplatte marked this pull request as ready for review July 12, 2024 11:22
@svix-jplatte svix-jplatte requested a review from a team as a code owner July 12, 2024 11:22
@svix-jplatte svix-jplatte merged commit f7dd123 into main Jul 12, 2024
6 checks passed
@svix-jplatte svix-jplatte deleted the jplatte/incr-build-time branch July 12, 2024 12:02
svix-lucho added a commit that referenced this pull request Jul 31, 2024
## What's Changed
* Bridge: add `/events` poller by @svix-onelson in
#1363
* server: Optimize all external host dependencies for faster rebuilds by
@svix-jplatte in #1365
* Bridge: log svix client errors as error, not trace by @svix-onelson in
#1368
* Bump Cargo lockfiles by @svix-jplatte in
#1370
* server: add configuration to for changing service name on
OpenTelemetry by @LeoZ100 in
#1371
* build(deps): bump openssl from 0.10.64 to 0.10.66 in /bridge by
@dependabot in #1372
* bridge: Require type field for kafka input, output by @svix-jplatte in
#1374
* Bump OpenAPI spec and regenerate libs by @svix-lucho in
#1375

## New Contributors
* @LeoZ100 made their first contribution in
#1371

**Full Changelog**:
v1.25.0...v1.26.0
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