Skip to content

Commit 1002916

Browse files
committed
update dependencies and features for aimdb-core; add heapless and thiserror, and update thiserror version in workspace
1 parent 1b6f395 commit 1002916

3 files changed

Lines changed: 103 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = [
44
"aimdb-connectors",
55
"aimdb-adapters",
66
"tools/aimdb-cli",
7-
"examples"
7+
"examples",
88
]
99
resolver = "2"
1010

@@ -27,7 +27,7 @@ tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
2727
serde = { version = "1.0", features = ["derive"] }
2828

2929
# Error handling
30-
thiserror = "1.0"
30+
thiserror = "2.0.16"
3131

3232
# Basic observability
3333
tracing = "0.1"
@@ -43,4 +43,4 @@ tokio-test = "0.4"
4343

4444
[workspace.metadata.docs.rs]
4545
all-features = true
46-
rustdoc-args = ["--cfg", "docsrs"]
46+
rustdoc-args = ["--cfg", "docsrs"]

aimdb-core/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@ edition.workspace = true
55
license.workspace = true
66
description = "Core database engine for AimDB - async in-memory storage with real-time synchronization"
77

8+
[features]
9+
default = ["std"]
10+
std = ["thiserror"]
11+
812
[dependencies]
13+
# Error handling - only for std environments
14+
thiserror = { workspace = true, optional = true }
15+
16+
[dev-dependencies]
17+
# For no_std testing
18+
heapless = "0.9.1"

0 commit comments

Comments
 (0)