flare-core 0.1.2

A high-performance, reliable long-connection communication toolkit for Rust, supporting WebSocket and QUIC protocols with features like authentication, device management, serialization negotiation, and protocol racing.
1
2
3
4
5
6
7
8
9
10
11
12
//! 序列化模块
//! 
//! 提供可扩展的序列化接口,支持用户自定义序列化格式

pub mod traits;
pub mod formats;
pub mod registry;

pub use traits::Serializer;
pub use formats::{ProtobufSerializer, JsonSerializer};
pub use registry::{SerializationRegistry, SerializationUtil};