跳到主要内容
版本:dev

Rust Setup

Fory Rust is published on crates.io. The workspace minimum supported Rust version is 1.70 and uses the Rust 2021 edition. Use one compatible Fory release across every peer in an application.

Verify the Toolchain

rustc --version
cargo --version

Choose a Capability

CapabilityCrate or toolContinue with
Object SerializationforyRust object serialization, then choose xlang or native
Standard Row FormatforyRust Row Format
Schema and generated modelsfory-compilerFory IDL and Compiler
Fory gRPCgenerated companions plus tonic and bytesRust gRPC

Each capability guide owns its exact dependency declaration and first runnable example.