mirror of
https://github.com/ankitects/anki.git
synced 2025-12-08 04:16:56 -05:00
We can't provide ARM64 wheels to users yet due to #4079, but we can at least speed up the build. The rustls -> native-tls change on Windows is because ring requires clang to compile for ARM64, and I figured it's best to keep our Windows deps consistent. We already built the wheels with native-tls.
32 lines
783 B
TOML
32 lines
783 B
TOML
[package]
|
|
name = "ninja_gen"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anki_io.workspace = true
|
|
anyhow.workspace = true
|
|
camino.workspace = true
|
|
dunce.workspace = true
|
|
globset.workspace = true
|
|
itertools.workspace = true
|
|
maplit.workspace = true
|
|
num_cpus.workspace = true
|
|
regex.workspace = true
|
|
serde_json.workspace = true
|
|
walkdir.workspace = true
|
|
which.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
reqwest = { workspace = true, features = ["blocking", "json", "native-tls"] }
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
reqwest = { workspace = true, features = ["blocking", "json", "rustls-tls"] }
|
|
|
|
[[bin]]
|
|
name = "update_uv"
|
|
path = "src/bin/update_uv.rs"
|