Dependencies
utopia_database 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_database.
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.
Key-value caching with expiring entries over memory, files, Redis, Redis Cluster, Memcached and Hazelcast, with sharding, pooling, circuit breaking and purge-safe leases.
MongoDB client: commands, CRUD, indexes, sessions and transactions with causal consistency, on the official driver.
Fixed-capacity pools of lazily created resources (connections), with bounded waits, recovery, upkeep, groups and telemetry.
Request parameter validators with their user-facing messages.
Third-party crates#
Crates from crates.io, each with the version it asks for and the features it turns on.
0.1locked at 0.1.92Object-safe async traits (utopia-storage's Device, which decorators and cross-device copies hold as dyn Device); already in the tree.
1locked at 1.12.10.2locked at 0.2.0optional · postgres0.3locked at 0.3.34no default featuresstdasync-await-macro0.3locked at 0.3.40.4locked at 0.4.30.10locked at 0.10.60.37locked at 0.37.1optional · mariadbno default featuresminimal-rustThe MariaDB/MySQL client protocol (utopia-database's MariaDB and MySQL adapters: text queries as PDO sends them with emulated prepares, multi results, server status and errors); pure Rust (no TLS, flate2's Rust backend).
0.6locked at 0.6.12optional · postgresThe PostgreSQL wire protocol and SCRAM (utopia-database's Postgres adapter, which speaks libpq's simple query protocol itself to send statements as the bytes PHP's PDO sends and read the transaction status); already in the tree through tokio-postgres, as is fallible-iterator, which its parsers return.
0.32locked at 0.32.7optional · redisno default featurestokio-compaioconnection-managerscript0.40locked at 0.40.2optional · sqlitebundledfunctionsSQLite (utopia-database's SQLite adapter), with the SQLite library built in at the version PHP's pdo_sqlite links (3.53); .cargo/config.toml builds it with the compile options of the dev image's SQLite.
1locked at 1.0.151raw_valuepreserve_orderfloat_roundtrip1locked at 1.53.2rt-multi-threadmacrosnettimesyncsignalrtio-util0.1locked at 0.1.44Build 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-threadmacrosnettimesyncsignalrt