mars-shard
MARS-S prototype affinity, topology, shadow copies, resolution, and cross-shard coordination.
Prototype / draft — separate from production registry operations.
MARS-S prototype affinity, topology, shadow copies, resolution, and cross-shard coordination.
This crate is experimental. Its integration is feature-gated by mars-server/sharding and is separate from the PostgreSQL production reference.
Package contract
Workspace version: 0.1.0. Rust edition 2021, minimum declared toolchain 1.81, Apache-2.0 license. Protocol wire version stays 1.0.0.
Use the source checkout as the installation authority; package registry publication is not verified by this documentation build. In a consumer Cargo manifest, use an explicit path dependency to your checked-out crate.
[dependencies]
mars-shard = { path = "../mars/mars-shard" }Feature flags
| Feature | Enables |
|---|
No crate-specific feature flags are declared.
Public root modules
affinity, cross_shard, error, gal, lifecycle, resolution, shadow, topology. Conditional availability follows the source attributes.
Public module reference
| Module | Source |
|---|---|
| crate | mars-shard/src/lib.rs |
| affinity | mars-shard/src/affinity.rs |
| cross_shard | mars-shard/src/cross_shard.rs |
| error | mars-shard/src/error.rs |
| gal | mars-shard/src/gal.rs |
| lifecycle | mars-shard/src/lifecycle.rs |
| resolution | mars-shard/src/resolution.rs |
| shadow | mars-shard/src/shadow.rs |
| topology | mars-shard/src/topology.rs |
API documentation boundary
The linked pages contain syntax-derived public declarations, method signatures, and documentation comments. They omit function bodies and constant values, and skip test-only modules. Compiler-resolved re-exports, trait resolution, and target availability require Rustdoc with the selected feature profile; no backend build or conformance tests ran here.