Cargo Features
spacetimedb-sats has no features set by default.
[dependencies]
spacetimedb-sats = { version = "1.0.0-rc2", features = ["serde", "proptest", "test", "blake3", "bytestring", "metrics_impls"] }
- serde
-
Enables serde
Affects
de::serde
,ser::serde
… - proptest test?
-
Allows using
Arbitrary
impls defined in this crate.Enables proptest and proptest-derive ^0.4
proptest:
For the 'proptest' feature.
- test = proptest
-
Allows using additional test-only methods defined in this crate.
- blake3
-
Impls
Serialize
andDeserialize
forblake3::Hash
. Used byspacetimedb_table
, which serializes and deserializes Blake3 hashes during snapshotting.Enables blake3
For the
blake3
feature. - bytestring
-
Impls
Serialize
,Deserialize
andSpacetimeType
forByteString
. Used byspacetimedb_client_api_messages
, which encodes rows and reducer arguments asByteString
s containing JSON. Feature-gated becausebytestring
depends onserde
, which we don't want inspacetimedb_bindings
.Enables bytestring
- metrics_impls
-
Enables spacetimedb-metrics