Rust + SQLite - Configure rusqlite to use a local copy of SQLite

⚓ Rust    📅 2026-03-29    👤 surdeus    👁️ 8      

surdeus

I am using rusqlite as a dependency in my toml file. It appears to make the associated folder size of a Rust program very large. Is it possible to have rusqlite utilize the local copy of SQLite on my Mac which I keep updated via Home Brew? If so, how do I connect it to my Rust program? If I just remove "bundled" from rusqlite will that do it? Any assistance will be appreciated.

[dependencies]
iced = { version = "0.14.0", features = ["advanced", "tokio"] }
rusqlite = { version = "0.38.0", features = ["bundled"] }
chrono = "0.4.44"
tokio = { version = "1.28.0", features = ["full"] }

4 posts - 3 participants

Read full topic

🏷️ Rust_feed