Skip to content

Commit c0960f6

Browse files
committed
Make bundled sqlite an optional dependency
1 parent 0f3d7be commit c0960f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ license.workspace = true
2121
name = "angryoxide"
2222
path = "src/main.rs"
2323

24+
[features]
25+
default = ["bundled"]
26+
bundled = ["rusqlite/bundled"]
27+
2428
[dependencies]
2529
libwifi = { version = "0.3.1", path = "libs/libwifi" }
2630
pcap-file = { version = "2.0.0", path = "libs/pcap-file" }
@@ -56,7 +60,7 @@ derive_setters = "0.1.6"
5660
gpsd_proto = "1.0.0"
5761
itertools = "0.12.0"
5862
geographiclib-rs = "0.2.3"
59-
rusqlite = { version = "0.30.0", features = ["bundled"] }
63+
rusqlite = "0.30.0"
6064
uuid = { version = "1.6.1", features = ["v4"] }
6165
crc32fast = "1.3.2"
6266
flate2 = { version = "1.0.28", features = ["zlib"] }

0 commit comments

Comments
 (0)