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
The four upstream additions (personal virtual payment, CP customer-service knowledge, passenger invoices, and the independent wx-rust-store module) are described in the integration and migration guide.
1.1 What is WxRust?
WxRust is a Rust workspace providing a full-stack SDK for WeChat backend development, covering Official Accounts (MP), Mini Programs, WeChat Pay, WeChat Work (CP), Open Platform, Channels/Shop, and AI Speech.
It is a semantic port of WxJava (v4.8.4.B), aiming for 100% functional behavior parity while adopting idiomatic Rust patterns.
Dimension
Value
Version
0.1.5
MSRV / Edition
1.89 / 2024
unsafe policy
#![forbid(unsafe_code)]
Async runtime
tokio
HTTP client
reqwest (rustls)
License
Apache-2.0
1.2 What WxRust is NOT
Not a binary-compatible drop-in for WxJava; API names are preserved but signatures use Rust idioms (Result, Option, async fn).
Not a thin FFI wrapper; it is a pure Rust reimplementation.
Not production-ready yet; the project is in experimental/migration phase.
1.3 Status Evidence
Claim
Value
Evidence
Workspace compiles
Pass
cargo check --workspace
Tests
All green, 0 failures
cargo test --workspace
Coverage (line)
39.81%
cargo llvm-cov --workspace
Java objects mapped
3287 / 3287 (0 MISSING)
docs/migration/README.md
Rust source files
3406
find crates -name '*.rs'
2. Module Map
Java Module
Rust Crate
Objects
Scope
weixin-java-common
wx-rust-common
174
Error model, token engine, HTTP, session, dedup
weixin-java-mp
wx-rust-mp
428
Official Accounts API, message router, XML crypto
weixin-java-miniapp
wx-rust-miniapp
611
Mini Program code2Session, 50+ sub-services
weixin-java-pay
wx-rust-pay
570
WeChat Pay v2/v3, certs, signatures, XML
weixin-java-cp
wx-rust-cp
594
WeChat Work, session archive, OA
weixin-java-open
wx-rust-open
240
Third-party platform, proxy mp/ma
weixin-java-channel
wx-rust-channel
618
Channels / WeChat Shop e-commerce
weixin-java-store
wx-rust-store
—
Independent WeChat Store SDK; no Channel dependency
Coverage is a signal for gap detection, not a completion authority. Completion authority is the per-module object ledger + semantic table + name consistency check.