comply with manylinux wheel requirements, and vendor sqlite on Windows

This commit is contained in:
Damien Elmes 2020-02-05 15:01:40 +10:00
parent 98279add15
commit 0fb70dab0f

View file

@ -19,8 +19,6 @@ htmlescape = "0.3.1"
sha1 = "0.6.0"
unicode-normalization = "0.1.12"
tempfile = "3.1.0"
rusqlite = { version = "0.21.0", features = ["trace"] }
reqwest = { version = "0.10.1", features = ["json"] }
serde = "1.0.104"
serde_json = "1.0.45"
tokio = "0.2.11"
@ -31,6 +29,18 @@ log = "0.4.8"
serde_tuple = "0.4.0"
trash = "1.0.0"
[target.'cfg(target_vendor="apple")'.dependencies]
rusqlite = { version = "0.21.0", features = ["trace"] }
[target.'cfg(not(target_vendor="apple"))'.dependencies]
rusqlite = { version = "0.21.0", features = ["trace", "bundled"] }
[target.'cfg(linux)'.dependencies]
reqwest = { version = "0.10.1", features = ["json", "native-tls-vendored"] }
[target.'cfg(not(linux))'.dependencies]
reqwest = { version = "0.10.1", features = ["json"] }
[build-dependencies]
prost-build = "0.5.0"