Getting started

MSRV

Minimum supported Rust version and how it is checked.

socketio-next needs Rust 1.85 (edition 2024) with every feature (rustls, native-tls, blocking).

The number assumes the MSRV-aware resolver picks your dependency versions: Cargo 1.84+ does that by default for packages with resolver = "3" / edition 2024; otherwise set it once:

CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo update

With newest-version resolution some dependencies may need a newer compiler.

tauri-plugin-socketio has the same rust-version; the resolver then picks a tauri 2.x release that supports it (tauri 2.12 itself needs 1.90).

just msrv (run in CI) builds the crate (and the plugin with rustls) on 1.85 in a throwaway project whose lockfile is resolved for 1.85, as a downstream project would, once with rustls and once with native-tls + blocking + cookies + platform-verifier.