Cargo Features
spacetimedb-sats has no features set by default.
[dependencies]
spacetimedb-sats = { version = "1.7.0", features = ["serde", "proptest", "test", "blake3", "bytestring", "metrics_impls", "memory-usage"] }
- serde
-
Enables serde
- proptest test?
-
Allows using
Arbitraryimpls defined in this crate.Enables proptest and proptest-derive ^0.5
proptest:
For the 'proptest' feature.
- test = proptest
-
Allows using additional test-only methods defined in this crate.
- blake3
-
Impls
SerializeandDeserializeforblake3::Hash. Used byspacetimedb_table, which serializes and deserializes Blake3 hashes during snapshotting.Enables blake3
For the
blake3feature. - bytestring
-
Impls
Serialize,DeserializeandSpacetimeTypeforByteString. Used byspacetimedb_client_api_messages, which encodes rows and reducer arguments asByteStrings containing JSON. Feature-gated becausebytestringdepends onserde, which we don't want inspacetimedb_bindings.Enables bytestring
- metrics_impls
-
Enables spacetimedb-metrics
- memory-usage
-
Gated to avoid including this in
spacetimedb_bindings.Enables spacetimedb-memory-usage, memory-usage of spacetimedb-primitives