Make rusqlite-macros optional

This commit is contained in:
gwenn
2023-06-10 12:05:55 +02:00
parent f0670ccadd
commit 7594711721
4 changed files with 9 additions and 12 deletions

View File

@@ -122,6 +122,7 @@ fallible-iterator = "0.2"
fallible-streaming-iterator = "0.1"
uuid = { version = "1.0", optional = true }
smallvec = "1.6.1"
rusqlite-macros = { path = "rusqlite-macros", version = "0.1.0", optional = true }
[dev-dependencies]
doc-comment = "0.3"
@@ -133,16 +134,12 @@ unicase = "2.6.0"
# Use `bencher` over criterion because it builds much faster and we don't have
# many benchmarks
bencher = "0.1"
rusqlite-macros = { path = "rusqlite-macros", version = "0.1.0" }
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
version = "0.26.0"
# FIXME optional
[dependencies.rusqlite-macros]
path = "rusqlite-macros"
version = "0.1.0"
[[test]]
name = "config_log"
harness = false