[package] name = "quasi-store" version = "0.1.0" description = "The embedded store's migration runner: SQL files embedded at build time, applied once, recorded in a ledger" edition.workspace = true rust-version.workspace = true authors.workspace = true repository.workspace = true license.workspace = true publish = false [lints] workspace = true [dependencies] rusqlite = { version = "0.40.0", optional = true } sha2 = { version = "0.10.9", optional = true } thiserror = { version = "2.0.17", optional = true } tracing = { version = "0.1.41", optional = true } [features] default = ["runtime"] # The runner. What an app links. runtime = ["dep:rusqlite", "dep:sha2", "dep:thiserror", "dep:tracing"] # The embedder. What an app's `build.rs` links, and it deliberately shares no # dependency with `runtime`: feature unification does not cross the # build-dependency line under resolver 2, so a build script asking for this # does not drag `libsqlite3-sys` into a second compile for the host. build = [] [dev-dependencies] rusqlite = { version = "0.40.0", features = ["bundled"] }