Skip to content
zoujiaqingPublic

About

MsgTrans for rust, support multiple protocol create server and client, protocol support Tcp / WebSocket / QUIC.

Topics

Resources

Contributing

Stars

63 stars

Watchers

4 watching

Forks

Repository files navigation

MsgTrans

License Crates.io Docs.rs

A multi-protocol communication framework for Rust: one interface over TCP, WebSocket and QUIC, with bindings for Kotlin and Swift.

🌐 English | 简体中文

Repository layout

This repository is a Cargo workspace.

Path Contents
crates/msgtrans The library, published as msgtrans. Its README is the full guide.
crates/msgtrans-ffi Kotlin (Android, JVM, KMP) and Swift (iOS, macOS) bindings for the msgtrans client, built with UniFFI. Shipped as libraries, not on crates.io.
docs/ Architecture, the frozen 2.0 API, migrating from 1.x, and the wire format.

Getting started

[dependencies]
msgtrans = "2.0.0-beta.3"

The crate README covers servers, clients and protocol configuration. The library builds on Rust 1.88 or newer.

Development

The workspace is pinned to Rust 1.99.0 (rust-toolchain.toml); the library alone builds on 1.88.

cargo test --workspace

See CONTRIBUTING.md for the CI gates every change passes.

License

Apache-2.0 — see LICENSE.

About

MsgTrans for rust, support multiple protocol create server and client, protocol support Tcp / WebSocket / QUIC.

Topics

Resources

Contributing

Stars

63 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages