You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust library references schema files using filepaths. This only really works if ~/.cargo/cache sticks around. On the other hand, it is quite neat for local development because it means schemas can be edited without having to recompile the Rust part.
It's also been brought up in the past that it would be cool if sentry-kafka-schemas would cache compiled schemas in memory. Maybe both problems can be fixed at once.
The tricky bit with this bug is that IMO the most straightforward solution would involve proc-macros, but those are compile-time heavy. Perhaps it is time to reconsider generating code before cargo publish?
The text was updated successfully, but these errors were encountered:
The Rust library references schema files using filepaths. This only really works if
~/.cargo/cache
sticks around. On the other hand, it is quite neat for local development because it means schemas can be edited without having to recompile the Rust part.It's also been brought up in the past that it would be cool if sentry-kafka-schemas would cache compiled schemas in memory. Maybe both problems can be fixed at once.
The tricky bit with this bug is that IMO the most straightforward solution would involve proc-macros, but those are compile-time heavy. Perhaps it is time to reconsider generating code before
cargo publish
?The text was updated successfully, but these errors were encountered: