Files
SpacetimeDB/crates/table/Cargo.toml
Mazdak Farrokhzad ed2a18cff7 Bump hashbrown, foldhash; Fix some compile errors in master (#3722)
# Description of Changes

There were mentions of `hashbrown` in the repo that did not go through
`spacetimedb_data_structures::map`.
This caused compile errors on master when running certain tests locally.
These have been replaced with the proper imports.

The PR also bump hashbrown to 0.16.1 and foldhash to 0.2.0.

# API and ABI breaking changes

None

# Expected complexity level and risk

2

# Testing

Covered by existing tests.
2025-11-25 12:17:24 +00:00

65 lines
1.7 KiB
TOML

[package]
name = "spacetimedb-table"
version.workspace = true
edition.workspace = true
license-file = "LICENSE"
description = "A database Table implementation and friends"
rust-version.workspace = true
[[bench]]
name = "pointer_map"
harness = false
[[bench]]
name = "page"
harness = false
[[bench]]
name = "var_len_visitor"
harness = false
[[bench]]
name = "page_manager"
harness = false
[features]
# Allows using `Arbitrary` impls defined in this crate.
proptest = ["dep:proptest", "dep:proptest-derive", "spacetimedb-sats/proptest"]
# Needed for miri
blake3_pure = ["blake3/pure"]
[dependencies]
spacetimedb-data-structures = { workspace = true, features = ["memory-usage"] }
spacetimedb-memory-usage = { workspace = true, features = ["hash_map", "ethnum", "smallvec"] }
spacetimedb-primitives.workspace = true
spacetimedb-sats = { workspace = true, features = ["blake3"] }
spacetimedb-lib = { workspace = true, features = ["memory-usage"] }
spacetimedb-schema.workspace = true
ahash.workspace = true
blake3.workspace = true
bytemuck = { workspace = true, features = ["derive"] }
decorum.workspace = true
derive_more.workspace = true
enum-as-inner.workspace = true
itertools.workspace = true
smallvec.workspace = true
thiserror.workspace = true
crossbeam-queue.workspace = true
# For the 'proptest' feature.
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
[dev-dependencies]
spacetimedb-schema = { path = "../schema", features = ["test"] }
spacetimedb-sats = { path = "../sats", features = ["proptest"] }
criterion.workspace = true
proptest.workspace = true
proptest-derive.workspace = true
rand.workspace = true
[lints]
workspace = true