Rust

Dependencies

What utopia_cache depends on, read from its Cargo.toml with versions from the workspace's Cargo.lock, and what depends on it across the Utopia ecosystem.

Used by#

3 Rust crates and Appwrite depend on utopia_cache.

Utopia crates#

Other libraries of this repository it builds on.

PHP engine semantics (the value model, juggling and comparison, string, number, JSON, serialize, igbinary, sorting, filter and URL functions) for crates that must behave exactly like PHP.

Circuit breakerutopia-circuit-breaker
no default features

Circuit breakers judged on a rolling failure rate, with half-open probes, state shared through Redis or an in-process table, and telemetry.

Poolsutopia-pools

Fixed-capacity pools of lazily created resources (connections), with bounded waits, recovery, upkeep, groups and telemetry.

Telemetryutopia-telemetry
no default features

Metrics instruments (counters, histograms, gauges, observable gauges) over pluggable backends: none, in memory, and OpenTelemetry (OTLP over HTTP).

Third-party crates#

Crates from crates.io, each with the version it asks for and the features it turns on.

1locked at 1.12.1
1locked at 1.5.2
1locked at 1.1.10
0.4locked at 0.4.3
2locked at 2.14.2
1locked at 1.1.3no default featuresuse-std

Compact serde binary format for cache entries only Rust reads (utopia-cache's Native codec); pure Rust, maintained, with a stable documented wire format. Chosen on numbers over bitcode (slower through serde, and its derive cannot encode recursive types such as JSON trees) and rkyv (as fast to decode once entries are copied into an aligned buffer, but larger and needs its own derives).

0.32locked at 0.32.7optional · redisno default featurestokio-compaioconnection-managerscript
1locked at 1.1.5no default featuresstdfssystem
1locked at 1.0.229derive
0.10locked at 0.10.7
2locked at 2.0.21
1locked at 1.53.2rt-multi-threadmacrosnettimesyncsignalrt
0.1locked at 0.1.44

Build and dev

1 dev

Build dependencies compile the crate itself; dev dependencies only run its tests, examples and benchmarks. Neither is linked into a program that uses the crate.

1locked at 1.53.2rt-multi-threadmacrosnettimesyncsignalrtio-util