-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (48 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
56 lines (48 loc) · 1.4 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
[package]
name = "redb"
description = "Rust Embedded DataBase"
readme = "README.md"
version = "4.1.0"
exclude = ["fuzz/"]
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
authors.workspace = true
[workspace]
members = [".", "crates/redb-bench", "crates/redb-derive", "crates/redb-python"]
default-members = [".", "crates/redb-derive", "crates/redb-python"]
[workspace.package]
edition = "2024"
rust-version = "1.89"
license = "MIT OR Apache-2.0"
homepage = "https://www.redb.org"
repository = "https://github.com/cberner/redb"
authors = ["Christopher Berner <me@cberner.com>"]
[dependencies]
log = { version = "0.4.17", optional = true }
chrono_v0_4 = { package = "chrono", version= "0.4.41", optional = true }
uuid = { version= "1.17.0", optional = true }
[target.'cfg(target_os = "wasi")'.dependencies]
libc = "0.2.174"
# Common test/bench dependencies
[dev-dependencies]
rand = "0.10.1"
tempfile = "3.5.0"
# for backwards compatibility testing - pin at 2.6.0
redb2_6 = { version = "=2.6.0", package = "redb" }
bincode = "2.0.1"
uuid = { version= "1.17.0", features = ["v4"] }
redb-derive = { path = "./crates/redb-derive" }
[features]
# Enables log messages
logging = ["dep:log"]
# Enable cache hit metrics
cache_metrics = []
[profile.bench]
debug = true
[lints.clippy]
big_endian_bytes = "deny"
dbg_macro = "deny"
host_endian_bytes = "deny"