-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
97 lines (89 loc) · 4.65 KB
/
Copy pathCargo.toml
File metadata and controls
97 lines (89 loc) · 4.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[workspace]
members = ["codegen", "dsl", "examples", "performance_measurement", "performance_measurement/codegen"]
[package]
name = "worktable"
version = "1.0.0-beta.19"
edition = "2024"
authors = ["Handy-caT"]
license = "MIT"
repository = "https://github.com/pathscale/WorkTable"
description = "Extreme low latency, embedded-friendly table storage for Rust with an ORM-like interface: macros that smell like SQL, typed rows, real indexes, generated queries, and near-Vec performance."
homepage = "https://github.com/pathscale/WorkTable"
documentation = "https://docs.rs/worktable"
keywords = ["database", "embedded", "in-memory", "index", "storage"]
categories = ["database-implementations", "data-structures", "caching"]
[features]
default = ["wti-predictable-search"]
perf_measurements = ["dep:performance_measurement", "dep:performance_measurement_codegen"]
s3-support = ["dep:rusty-s3", "dep:url", "dep:reqwest", "dep:walkdir", "worktable_codegen/s3-support"]
# Moves unique WorkTablesIndex structural CDC work out of the table mutation
# path and into the background persistence worker. The persisted page format
# is unchanged, so stores remain readable with or without this feature.
logical-index-persistence = ["worktable_codegen/logical-index-persistence"]
wti-hybrid-search = ["indexset/wt-slice-binary-search"]
wti-predictable-search = ["indexset/custom-binary-search"]
wti-std-search = ["indexset/std-binary-search"]
wti-superslice-search = ["indexset/superslice-binary-search"]
# Compatibility no-op: immutable row publication is mandatory for the safe
# generated API, including `default-features = false` builds.
versioned-row-publication = ["worktable_codegen/versioned-row-publication"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Read-mostly snapshots own page Arcs while the fixed directory supplies a
# pointer-only fast path. Publication is append-only and asserted at each swap.
arc-swap = "1"
async-trait = "0.1"
arctic = { package = "arctic-wt", version = "^0.1, >=0.1.9", default-features = false, features = ["smr-ps-reclaim"] }
congee = { package = "congee-wt", version = "^0.4, >=0.4.4" }
convert_case = "0.6"
crc32fast = "1"
data_bucket = { version = "^0.5, >=0.5.7" }
derive_more = { version = "2", features = ["from", "error", "display", "debug", "into"] }
eyre = "0.6"
fastrand = "2"
futures = "0.3"
indexset = { package = "WorkTablesIndex", version = "^0.0, >=0.0.12", default-features = false, features = ["concurrent", "cdc", "multimap"] }
vanilla_indexset = { package = "indexset", version = "0.15", features = ["concurrent", "cdc", "multimap"] }
# indexset = { path = "../indexset", version = "0.15.0", features = ["concurrent", "cdc", "multimap"] }
# indexset = { package = "wt-indexset", version = "^0.12", features = ["concurrent", "cdc", "multimap"] }
log = "0.4"
ordered-float = "5"
parking_lot = "0.12"
performance_measurement = { path = "performance_measurement", version = "^0.1", optional = true }
performance_measurement_codegen = { path = "performance_measurement/codegen", version = "^0.1", optional = true }
prettytable-rs = "0.10"
psc-nanoid = { version = "3", features = ["rkyv", "packed"] }
rkyv = { version = "0.8", features = ["uuid-1"] }
reqwest = { version = "0.12", optional = true, default-features = false, features = ["rustls-tls-webpki-roots", "charset", "http2"] }
ps-reclaim = { version = "^0.1, >=0.1.3" }
rustc-hash = "2"
rusty-s3 = { version = "0.10", optional = true }
smart-default = "0.7"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
url = { version = "2", optional = true }
uuid = { version = "1", features = ["v4", "v7"] }
walkdir = { version = "2", optional = true }
# These pre-release workspace crates move as one train. The explicit caret
# keeps the dependency policy consistent while the local path selects this
# checkout during validation.
worktable_codegen = { path = "codegen", version = "^1.0.0-beta.19" }
# Re-exported below. Each generated table carries its declaration as a const
# whose documentation says to read it with `worktable_dsl::Schema::parse`; that
# instruction is only true if a plain `worktable` dependency can reach the
# crate.
worktable_dsl = { path = "dsl", version = "^1.0.0-beta.18.1" }
[dev-dependencies]
chrono = "0.4"
criterion = { version = "0.5", features = ["async_tokio"] }
rand = "0.9"
tracing-subscriber = "0.3"
# Only under `--cfg loom`, so a normal build and a normal `cargo test` never
# resolve it. See src/partition/loom_tests.rs for how to run the models.
[target.'cfg(wt_loom)'.dev-dependencies]
loom = "0.7"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wt_loom)'] }
[[bench]]
name = "worktable_benchmarks"
harness = false