-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (57 loc) · 2.16 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (57 loc) · 2.16 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
[package]
name = "duroxide"
version = "0.1.20"
edition = "2024"
description = "Durable code execution framework for Rust"
license = "MIT"
repository = "https://github.com/microsoft/duroxide"
homepage = "https://github.com/microsoft/duroxide"
documentation = "https://docs.rs/duroxide"
readme = "README.md"
keywords = ["durable", "workflow", "orchestration", "async", "tasks"]
categories = ["asynchronous", "concurrency"]
[features]
default = []
sqlite = ["sqlx", "libsqlite3-sys"] # SQLite provider (bundled, no system deps)
provider-test = ["sqlite"] # Enable all provider testing infrastructure (requires sqlite)
test = ["provider-test", "test-hooks"] # Auto-enable provider-test and test-hooks for tests
test-hooks = [] # Enable test hooks for fault injection in integration tests
replay-version-test = ["test"] # Zero-cost: only gates test code for replay engine extensibility verification
[dependencies]
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7" # For CancellationToken
futures = "0.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "0.1"
tracing = { version = "0.1", features = ["std"] }
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter", "json"] }
semver = "1"
# Metrics facade (always on, zero-cost if no recorder installed)
metrics = "0.24"
# SQLite support (optional, bundled)
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "sqlite", "macros", "migrate", "chrono"], optional = true }
libsqlite3-sys = { version = "0.28", features = ["bundled"], optional = true }
[dev-dependencies]
# Used in tests/examples
tempfile = "3"
proptest = "1.4"
# Metrics test utilities (DebuggingRecorder for snapshot assertions)
metrics-util = "0.19"
# Enable sqlite and test-hooks features for integration tests
duroxide = { path = ".", features = ["sqlite", "test-hooks"] }
[workspace]
members = [
".",
"sqlite-stress",
]
# Clippy lints for better code quality
[lints.clippy]
# Correctness (warn for now, can upgrade to deny after fixing)
unwrap_used = "warn"
expect_used = "warn"
# Performance
clone_on_ref_ptr = "warn"
large_enum_variant = "warn"
# Style and maintainability
missing_errors_doc = "warn"