mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 23:42:23 -04:00
comply with manylinux wheel requirements, and vendor sqlite on Windows
This commit is contained in:
parent
98279add15
commit
0fb70dab0f
1 changed files with 12 additions and 2 deletions
|
@ -19,8 +19,6 @@ htmlescape = "0.3.1"
|
||||||
sha1 = "0.6.0"
|
sha1 = "0.6.0"
|
||||||
unicode-normalization = "0.1.12"
|
unicode-normalization = "0.1.12"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
rusqlite = { version = "0.21.0", features = ["trace"] }
|
|
||||||
reqwest = { version = "0.10.1", features = ["json"] }
|
|
||||||
serde = "1.0.104"
|
serde = "1.0.104"
|
||||||
serde_json = "1.0.45"
|
serde_json = "1.0.45"
|
||||||
tokio = "0.2.11"
|
tokio = "0.2.11"
|
||||||
|
@ -31,6 +29,18 @@ log = "0.4.8"
|
||||||
serde_tuple = "0.4.0"
|
serde_tuple = "0.4.0"
|
||||||
trash = "1.0.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]
|
[build-dependencies]
|
||||||
prost-build = "0.5.0"
|
prost-build = "0.5.0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue