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 and Deserialize for blake3::Hash. Used by spacetimedb_table, which serializes and deserializes Blake3 hashes during snapshotting.

Enables blake3

For the blake3 feature.

bytestring

Impls Serialize, Deserialize and SpacetimeType for ByteString. Used by spacetimedb_client_api_messages, which encodes rows and reducer arguments as ByteStrings containing JSON. Feature-gated because bytestring depends on serde, which we don't want in spacetimedb_bindings.

Enables bytestring

metrics_impls

Enables spacetimedb-metrics