Skip to main content

max / quasi

1.1 KB · 33 lines History Blame Raw
1 [package]
2 name = "quasi-store"
3 version = "0.1.0"
4 description = "The embedded store's migration runner: SQL files embedded at build time, applied once, recorded in a ledger"
5 edition.workspace = true
6 rust-version.workspace = true
7 authors.workspace = true
8 repository.workspace = true
9 license.workspace = true
10 publish = false
11
12 [lints]
13 workspace = true
14
15 [dependencies]
16 rusqlite = { version = "0.40.0", optional = true }
17 sha2 = { version = "0.10.9", optional = true }
18 thiserror = { version = "2.0.17", optional = true }
19 tracing = { version = "0.1.41", optional = true }
20
21 [features]
22 default = ["runtime"]
23 # The runner. What an app links.
24 runtime = ["dep:rusqlite", "dep:sha2", "dep:thiserror", "dep:tracing"]
25 # The embedder. What an app's `build.rs` links, and it deliberately shares no
26 # dependency with `runtime`: feature unification does not cross the
27 # build-dependency line under resolver 2, so a build script asking for this
28 # does not drag `libsqlite3-sys` into a second compile for the host.
29 build = []
30
31 [dev-dependencies]
32 rusqlite = { version = "0.40.0", features = ["bundled"] }
33