generated from al8n/template-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (55 loc) · 1.96 KB
/
Cargo.toml
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
[package]
name = "aol"
version = "0.3.2"
edition = "2021"
repository = "https://github.com/al8n/aol"
homepage = "https://github.com/al8n/aol"
documentation = "https://docs.rs/aol"
description = "Generic purpose append only log implementation."
license = "MIT OR Apache-2.0"
categories = ["data-structures", "database-implementations", "development-tools", "filesystem"]
keywords = ["log", "append-only", "append-only-log", "database", "manifest"]
rust-version = "1.81.0"
[workspace]
exclude = ["integration"]
[features]
default = ["std", "either/default", "among/default"]
alloc = ["dbutils/alloc"]
std = ["thiserror", "memmap2", "dbutils/default", "either/use_std", "among/std"]
filelock = ["std", "fs4"]
xxhash64 = ["dbutils/xxhash64"]
xxhash3 = ["dbutils/xxhash3"]
[dependencies]
among = { version = "^0.1.5", default-features = false, features = ["either"] }
bitflags = "2"
crc32fast = "1"
dbutils = { version = "0.9", default-features = false, features = ["crc32fast"] }
either = { version = "1", default-features = false }
paste = "1"
fs4 = { version = "0.10", optional = true }
memmap2 = { version = "0.9", optional = true }
serde = { version = "1", optional = true, features = ["derive"] }
smallvec-wrapper = { version = "0.1", optional = true, default-features = false, features = ["std"] }
smallvec = { version = "1", optional = true }
thiserror = { version = "1", optional = true }
viewit = "0.1.5"
tracing = { version = "0.1", optional = true }
[[test]]
name = "aol"
path = "tests/aol.rs"
required-features = ["std", "tracing", "smallvec-wrapper"]
[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = ["std", "tracing", "smallvec-wrapper"]
[[example]]
name = "bitcask_manifest"
path = "examples/bitcask_manifest.rs"
required-features = ["std", "tracing", "smallvec-wrapper"]
[dev-dependencies]
tempfile = "3"
derive_more = { version = "1", features = ["full"] }
smol_str = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]