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
BREAKING: Default codec changed from JSON to Postbag for improved efficiency and
full Rust type system fidelity while maintaining forward and backward compatibility
between data structures.
Users needing to interact with previous remoc versions should specify the default-codec-json feature in their Cargo.toml dependency:
[dependencies]
remoc = { version = "0.18", no-default-features = true, features = ["full", "default-codec-json"] }
This change does not affect users already using specific default-codec-... features.
rtc: allow limiting the generated server variants by using #[rtc::remote(server(...))]
Changed
rtc: use Rust built-in support for async trait methods by default. If dyn-capable traits are required, specify #[rtc::remote(async_trait)] to use the async-trait attribute macro as before.