Repository navigation
chore(core): drop unused tokio + rusqlite dependencies - #46
Merged
Merged
Conversation
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.
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Oct 7, 2026
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes
tokio(full) andrusqlite(bundled) fromtole-core's dependencies — both were declared but never imported. The core is synchronous by design (thread-drain subprocess helper, syncureq, 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.