Skip to content

chore(core): drop unused tokio + rusqlite dependencies - #46

Merged
ajianaz merged 1 commit into
developfrom
chore/mobile-audit-deps
Aug 28, 2026
Merged

ajianaz merged 1 commit into
developfrom
chore/mobile-audit-deps

Conversation

@ajianaz

@ajianaz ajianaz commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

What

Removes tokio (full) and rusqlite (bundled) from tole-core's dependencies — both were declared but never imported. The core is synchronous by design (thread-drain subprocess helper, sync ureq, blocking JSONL IO) and storage is file-based JSONL, not SQLite.

Why

Found during the uteke-mobile integration audit: for any embedder — notably flutter_rust_bridge/mobile targets — every dependency is a cross-compile liability, and unused ones are pure cost. Also removes the phantom "SQLite storage" signal from the dep list; Cargo.toml now tells the truth about the crate.

Testing

Workspace builds, 138/138 tests, clippy clean — the removals are provably inert.

Found during the uteke-mobile integration audit: tole-core declared
tokio (full) and rusqlite (bundled) but imports neither — the core is
synchronous by design (thread-drain subprocess helper, sync ureq,
blocking JSONL IO) and storage is file-based JSONL, not SQLite.

Two benefits: smaller compile graph for any embedder (notably
flutter_rust_bridge/mobile targets where every C-linked dep is a
cross-compile liability), and no phantom 'SQLite storage' signal in
the dep list — Cargo.toml now tells the truth about the crate.

Verified: workspace builds, 138/138 tests, clippy clean.
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant