Merge branch 'master' of https://github.com/ankitects/anki into norm-search
This commit is contained in:
commit
6ee9e4f58c
9
.bazelrc
9
.bazelrc
@ -1,8 +1,9 @@
|
||||
common --enable_platform_specific_config
|
||||
common --experimental_repository_cache_hardlinks
|
||||
|
||||
# specify python path on Windows for pyo3 compile
|
||||
# specify python path for pyo3 compile
|
||||
build:windows --action_env="PYTHON_SYS_EXECUTABLE=c:\\python\\python.exe"
|
||||
#build:linux --action_env="PYTHON_SYS_EXECUTABLE=/usr/local/bin/python3.8"
|
||||
|
||||
# runfiles are off by default on Windows, and we need them
|
||||
build --enable_runfiles
|
||||
@ -27,4 +28,10 @@ build --incompatible_default_to_explicit_init_py
|
||||
|
||||
build:ci --show_timestamps --isatty=0 --color=yes --show_progress_rate_limit=5
|
||||
|
||||
# the typescript generation hack in rules_svelte is not hermetic, and
|
||||
# converts declared types in props to 'any' if it's not run locally.
|
||||
# Fixing it properly will probably require moving the Svelte rules to
|
||||
# ts_project()
|
||||
build:ci --strategy Svelte=local
|
||||
|
||||
try-import %workspace%/user.bazelrc
|
||||
|
@ -18,6 +18,9 @@ $BAZEL build $BUILDARGS ...
|
||||
echo "+++ Running tests"
|
||||
$BAZEL test $BUILDARGS ...
|
||||
|
||||
echo "--- Building wheels"
|
||||
$BAZEL build dist
|
||||
|
||||
echo "--- Cleanup"
|
||||
# if tests succeed, back up node_modules folder
|
||||
mv ts/node_modules /state/
|
||||
|
@ -66,10 +66,12 @@ David Allison <davidallisongithub@gmail.com>
|
||||
Tsung-Han Yu <johan456789@gmail.com>
|
||||
Piotr Kubowicz <piotr.kubowicz@gmail.com>
|
||||
RumovZ <gp5glkw78@relay.firefox.com>
|
||||
Cecini <github.com/cecini>
|
||||
Cecini <github.com/cecini>
|
||||
Krish Shah <github.com/k12ish>
|
||||
ianki <iankigit@gmail.com>
|
||||
|
||||
rye761 <ryebread761@gmail.com>
|
||||
Guillem Palau Salvà <guillempalausalva@gmail.com>
|
||||
Meredith Derecho <meredithderecho@gmail.com>
|
||||
********************
|
||||
|
||||
The text of the 3 clause BSD license follows:
|
||||
|
141
Cargo.lock
generated
141
Cargo.lock
generated
@ -90,9 +90,9 @@ version = "0.0.0"
|
||||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.35"
|
||||
version = "1.0.37"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2c0df63cb2955042487fad3aefd2c6e3ae7389ac5dc1beb28921de0b69f779d4"
|
||||
checksum = "ee67c11feeac938fae061b232e38e0b6d94f97a9df10e6271319325ac4c56a86"
|
||||
|
||||
[[package]]
|
||||
name = "arc-swap"
|
||||
@ -169,15 +169,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "async-compression"
|
||||
version = "0.3.6"
|
||||
version = "0.3.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fb1ff21a63d3262af46b9f33a826a8d134e2d0d9b2179c86034948b732ea8b2a"
|
||||
checksum = "b72c1f1154e234325b50864a349b9c8e56939e266a4c307c0f159812df2f9537"
|
||||
dependencies = [
|
||||
"bytes 0.5.6",
|
||||
"flate2",
|
||||
"futures-core",
|
||||
"memchr",
|
||||
"pin-project-lite 0.1.11",
|
||||
"pin-project-lite 0.2.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@ -295,6 +295,12 @@ version = "0.5.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38"
|
||||
|
||||
[[package]]
|
||||
name = "bytes"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72"
|
||||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.0.66"
|
||||
@ -413,9 +419,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ctor"
|
||||
version = "0.1.16"
|
||||
version = "0.1.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484"
|
||||
checksum = "373c88d9506e2e9230f6107701b7d8425f4cb3f6df108ec3042a26e936666da5"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"syn",
|
||||
@ -464,9 +470,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "dtoa"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b"
|
||||
checksum = "88d7ed2934d741c6b37e33e3832298e8850b53fd2d2bea03873375596c7cea4e"
|
||||
|
||||
[[package]]
|
||||
name = "either"
|
||||
@ -637,9 +643,9 @@ checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
||||
|
||||
[[package]]
|
||||
name = "funty"
|
||||
version = "1.0.1"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ba62103ce691c2fd80fbae2213dfdda9ce60804973ac6b6e97de818ea7f52c8"
|
||||
checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
|
||||
|
||||
[[package]]
|
||||
name = "futures"
|
||||
@ -823,9 +829,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "heck"
|
||||
version = "0.3.1"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
|
||||
checksum = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac"
|
||||
dependencies = [
|
||||
"unicode-segmentation",
|
||||
]
|
||||
@ -1067,9 +1073,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
|
||||
checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
@ -1227,9 +1233,9 @@ checksum = "1255076139a83bb467426e7f8d0134968a8118844faa755985e077cf31850333"
|
||||
|
||||
[[package]]
|
||||
name = "native-tls"
|
||||
version = "0.2.6"
|
||||
version = "0.2.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6fcc7939b5edc4e4f86b1b4a04bb1498afaaf871b1a6691838ed06fcb48d3a3f"
|
||||
checksum = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4"
|
||||
dependencies = [
|
||||
"lazy_static",
|
||||
"libc",
|
||||
@ -1347,9 +1353,9 @@ checksum = "13bd41f508810a131401606d54ac32a467c97172d74ba7662562ebba5ad07fa0"
|
||||
|
||||
[[package]]
|
||||
name = "openssl"
|
||||
version = "0.10.31"
|
||||
version = "0.10.32"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8d008f51b1acffa0d3450a68606e6a51c123012edaacb0f4e1426bd978869187"
|
||||
checksum = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cfg-if 1.0.0",
|
||||
@ -1367,9 +1373,9 @@ checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
||||
|
||||
[[package]]
|
||||
name = "openssl-sys"
|
||||
version = "0.9.59"
|
||||
version = "0.9.60"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "de52d8eabd217311538a39bba130d7dea1f1e118010fee7a033d966845e7d5fe"
|
||||
checksum = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"cc",
|
||||
@ -1391,9 +1397,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "parking_lot_core"
|
||||
version = "0.8.1"
|
||||
version = "0.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7c6d9b8427445284a09c55be860a15855ab580a417ccad9da88f5a06787ced0"
|
||||
checksum = "9ccb628cad4f84851442432c60ad8e1f607e29752d0bf072cbd0baf28aa34272"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"instant",
|
||||
@ -1533,19 +1539,21 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "prost"
|
||||
version = "0.6.1"
|
||||
source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2"
|
||||
dependencies = [
|
||||
"bytes 0.5.6",
|
||||
"bytes 1.0.0",
|
||||
"prost-derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "prost-build"
|
||||
version = "0.6.1"
|
||||
source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3"
|
||||
dependencies = [
|
||||
"bytes 0.5.6",
|
||||
"bytes 1.0.0",
|
||||
"heck",
|
||||
"itertools",
|
||||
"log",
|
||||
@ -1559,8 +1567,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "prost-derive"
|
||||
version = "0.6.1"
|
||||
source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"itertools",
|
||||
@ -1571,17 +1580,19 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "prost-types"
|
||||
version = "0.6.1"
|
||||
source = "git+https://github.com/danburkert/prost.git?rev=4ded4a98ef339da0b7babd4efee3fbe8adaf746b#4ded4a98ef339da0b7babd4efee3fbe8adaf746b"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb"
|
||||
dependencies = [
|
||||
"bytes 0.5.6",
|
||||
"bytes 1.0.0",
|
||||
"prost",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3"
|
||||
version = "0.12.4"
|
||||
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106"
|
||||
version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5cdd01a4c2719dd1f3ceab0875fa1a2c2cd3c619477349d78f43cd716b345436"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"ctor",
|
||||
@ -1590,35 +1601,37 @@ dependencies = [
|
||||
"libc",
|
||||
"parking_lot",
|
||||
"paste",
|
||||
"pyo3cls",
|
||||
"pyo3-macros",
|
||||
"unindent",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3-derive-backend"
|
||||
version = "0.12.4"
|
||||
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106"
|
||||
name = "pyo3-macros"
|
||||
version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7f8218769d13e354f841d559a19b0cf22cfd55959c7046ef594e5f34dbe46d16"
|
||||
dependencies = [
|
||||
"pyo3-macros-backend",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3-macros-backend"
|
||||
version = "0.13.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc4da0bfdf76f0a5971c698f2cb6b3f832a6f80f16dedeeb3f123eb0431ecce2"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pyo3cls"
|
||||
version = "0.12.4"
|
||||
source = "git+https://github.com/PyO3/pyo3.git?rev=92b7a9736c9585883df5ec5bc01004caa7f65106#92b7a9736c9585883df5ec5bc01004caa7f65106"
|
||||
dependencies = [
|
||||
"pyo3-derive-backend",
|
||||
"quote",
|
||||
"syn",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.7"
|
||||
version = "1.0.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
|
||||
checksum = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
@ -1934,9 +1947,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "serde_json"
|
||||
version = "1.0.60"
|
||||
version = "1.0.61"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1500e84d27fe482ed1dc791a56eddc2f230046a040fa908c08bda1d9fb615779"
|
||||
checksum = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"ryu",
|
||||
@ -2075,9 +2088,9 @@ checksum = "ae524f056d7d770e174287294f562e95044c68e88dec909a00d2094805db9d75"
|
||||
|
||||
[[package]]
|
||||
name = "socket2"
|
||||
version = "0.3.18"
|
||||
version = "0.3.19"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "97e0e9fd577458a4f61fb91fcb559ea2afecc54c934119421f9f5d3d5b1a1057"
|
||||
checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e"
|
||||
dependencies = [
|
||||
"cfg-if 1.0.0",
|
||||
"libc",
|
||||
@ -2110,9 +2123,9 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.54"
|
||||
version = "1.0.56"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9a2af957a63d6bd42255c359c93d9bfdb97076bd3b820897ce55ffbfbf107f44"
|
||||
checksum = "a9802ddde94170d186eeee5005b798d9c159fa970403f1be19976d0cfb939b72"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -2178,18 +2191,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "thiserror"
|
||||
version = "1.0.22"
|
||||
version = "1.0.23"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e"
|
||||
checksum = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146"
|
||||
dependencies = [
|
||||
"thiserror-impl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thiserror-impl"
|
||||
version = "1.0.22"
|
||||
version = "1.0.23"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56"
|
||||
checksum = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@ -2315,9 +2328,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.5.7"
|
||||
version = "0.5.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645"
|
||||
checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
@ -25,6 +25,7 @@ targets = [
|
||||
"x86_64-pc-windows-msvc",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"aarch64-apple-ios",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
]
|
||||
genmode = "Remote"
|
||||
default_gen_buildrs = true
|
||||
|
@ -57,11 +57,12 @@ rust_library(
|
||||
aliases = selects.with_or({
|
||||
# ring on Linux
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): {},
|
||||
"//conditions:default": {
|
||||
# native-tls
|
||||
"@raze__native_tls__0_2_6//:native_tls": "native_tls_crate",
|
||||
"@raze__native_tls__0_2_7//:native_tls": "native_tls_crate",
|
||||
},
|
||||
}),
|
||||
crate_features = [
|
||||
@ -74,6 +75,7 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# ring on Linux
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"__rustls",
|
||||
@ -111,13 +113,14 @@ rust_library(
|
||||
"@raze__hyper_timeout__0_3_1//:hyper_timeout",
|
||||
"@raze__mime_guess__2_0_3//:mime_guess",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__serde_json__1_0_60//:serde_json",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
"@raze__serde_urlencoded__0_6_1//:serde_urlencoded",
|
||||
"@raze__url__2_2_0//:url",
|
||||
] + selects.with_or({
|
||||
# cfg(not(target_arch = "wasm32"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
@ -151,6 +154,7 @@ rust_library(
|
||||
# ring on Linux
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__hyper_rustls__0_21_0//:hyper_rustls",
|
||||
"@raze__rustls__0_18_1//:rustls",
|
||||
@ -160,7 +164,7 @@ rust_library(
|
||||
# native-tls on other platforms
|
||||
"//conditions:default": [
|
||||
"@raze__hyper_tls__0_4_3//:hyper_tls",
|
||||
"@raze__native_tls__0_2_6//:native_tls",
|
||||
"@raze__native_tls__0_2_7//:native_tls",
|
||||
"@raze__tokio_tls__0_3_1//:tokio_tls",
|
||||
],
|
||||
}),
|
||||
|
324
cargo/crates.bzl
324
cargo/crates.bzl
@ -53,12 +53,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__anyhow__1_0_35",
|
||||
url = "https://crates.io/api/v1/crates/anyhow/1.0.35/download",
|
||||
name = "raze__anyhow__1_0_37",
|
||||
url = "https://crates.io/api/v1/crates/anyhow/1.0.37/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "2c0df63cb2955042487fad3aefd2c6e3ae7389ac5dc1beb28921de0b69f779d4",
|
||||
strip_prefix = "anyhow-1.0.35",
|
||||
build_file = Label("//cargo/remote:BUILD.anyhow-1.0.35.bazel"),
|
||||
sha256 = "ee67c11feeac938fae061b232e38e0b6d94f97a9df10e6271319325ac4c56a86",
|
||||
strip_prefix = "anyhow-1.0.37",
|
||||
build_file = Label("//cargo/remote:BUILD.anyhow-1.0.37.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -143,12 +143,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__async_compression__0_3_6",
|
||||
url = "https://crates.io/api/v1/crates/async-compression/0.3.6/download",
|
||||
name = "raze__async_compression__0_3_7",
|
||||
url = "https://crates.io/api/v1/crates/async-compression/0.3.7/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "fb1ff21a63d3262af46b9f33a826a8d134e2d0d9b2179c86034948b732ea8b2a",
|
||||
strip_prefix = "async-compression-0.3.6",
|
||||
build_file = Label("//cargo/remote:BUILD.async-compression-0.3.6.bazel"),
|
||||
sha256 = "b72c1f1154e234325b50864a349b9c8e56939e266a4c307c0f159812df2f9537",
|
||||
strip_prefix = "async-compression-0.3.7",
|
||||
build_file = Label("//cargo/remote:BUILD.async-compression-0.3.7.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -281,6 +281,16 @@ def raze_fetch_remote_crates():
|
||||
build_file = Label("//cargo/remote:BUILD.bytes-0.5.6.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__bytes__1_0_0",
|
||||
url = "https://crates.io/api/v1/crates/bytes/1.0.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "ad1f8e949d755f9d79112b5bb46938e0ef9d3804a0b16dfab13aafcaa5f0fa72",
|
||||
strip_prefix = "bytes-1.0.0",
|
||||
build_file = Label("//cargo/remote:BUILD.bytes-1.0.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__cc__1_0_66",
|
||||
@ -413,12 +423,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__ctor__0_1_16",
|
||||
url = "https://crates.io/api/v1/crates/ctor/0.1.16/download",
|
||||
name = "raze__ctor__0_1_17",
|
||||
url = "https://crates.io/api/v1/crates/ctor/0.1.17/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "7fbaabec2c953050352311293be5c6aba8e141ba19d6811862b232d6fd020484",
|
||||
strip_prefix = "ctor-0.1.16",
|
||||
build_file = Label("//cargo/remote:BUILD.ctor-0.1.16.bazel"),
|
||||
sha256 = "373c88d9506e2e9230f6107701b7d8425f4cb3f6df108ec3042a26e936666da5",
|
||||
strip_prefix = "ctor-0.1.17",
|
||||
build_file = Label("//cargo/remote:BUILD.ctor-0.1.17.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -463,12 +473,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__dtoa__0_4_6",
|
||||
url = "https://crates.io/api/v1/crates/dtoa/0.4.6/download",
|
||||
name = "raze__dtoa__0_4_7",
|
||||
url = "https://crates.io/api/v1/crates/dtoa/0.4.7/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "134951f4028bdadb9b84baf4232681efbf277da25144b9b0ad65df75946c422b",
|
||||
strip_prefix = "dtoa-0.4.6",
|
||||
build_file = Label("//cargo/remote:BUILD.dtoa-0.4.6.bazel"),
|
||||
sha256 = "88d7ed2934d741c6b37e33e3832298e8850b53fd2d2bea03873375596c7cea4e",
|
||||
strip_prefix = "dtoa-0.4.7",
|
||||
build_file = Label("//cargo/remote:BUILD.dtoa-0.4.7.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -663,12 +673,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__funty__1_0_1",
|
||||
url = "https://crates.io/api/v1/crates/funty/1.0.1/download",
|
||||
name = "raze__funty__1_1_0",
|
||||
url = "https://crates.io/api/v1/crates/funty/1.1.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "0ba62103ce691c2fd80fbae2213dfdda9ce60804973ac6b6e97de818ea7f52c8",
|
||||
strip_prefix = "funty-1.0.1",
|
||||
build_file = Label("//cargo/remote:BUILD.funty-1.0.1.bazel"),
|
||||
sha256 = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7",
|
||||
strip_prefix = "funty-1.1.0",
|
||||
build_file = Label("//cargo/remote:BUILD.funty-1.1.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -843,12 +853,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__heck__0_3_1",
|
||||
url = "https://crates.io/api/v1/crates/heck/0.3.1/download",
|
||||
name = "raze__heck__0_3_2",
|
||||
url = "https://crates.io/api/v1/crates/heck/0.3.2/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205",
|
||||
strip_prefix = "heck-0.3.1",
|
||||
build_file = Label("//cargo/remote:BUILD.heck-0.3.1.bazel"),
|
||||
sha256 = "87cbf45460356b7deeb5e3415b5563308c0a9b057c85e12b06ad551f98d0a6ac",
|
||||
strip_prefix = "heck-0.3.2",
|
||||
build_file = Label("//cargo/remote:BUILD.heck-0.3.2.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1093,12 +1103,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__itoa__0_4_6",
|
||||
url = "https://crates.io/api/v1/crates/itoa/0.4.6/download",
|
||||
name = "raze__itoa__0_4_7",
|
||||
url = "https://crates.io/api/v1/crates/itoa/0.4.7/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6",
|
||||
strip_prefix = "itoa-0.4.6",
|
||||
build_file = Label("//cargo/remote:BUILD.itoa-0.4.6.bazel"),
|
||||
sha256 = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736",
|
||||
strip_prefix = "itoa-0.4.7",
|
||||
build_file = Label("//cargo/remote:BUILD.itoa-0.4.7.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1273,12 +1283,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__native_tls__0_2_6",
|
||||
url = "https://crates.io/api/v1/crates/native-tls/0.2.6/download",
|
||||
name = "raze__native_tls__0_2_7",
|
||||
url = "https://crates.io/api/v1/crates/native-tls/0.2.7/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "6fcc7939b5edc4e4f86b1b4a04bb1498afaaf871b1a6691838ed06fcb48d3a3f",
|
||||
strip_prefix = "native-tls-0.2.6",
|
||||
build_file = Label("//cargo/remote:BUILD.native-tls-0.2.6.bazel"),
|
||||
sha256 = "b8d96b2e1c8da3957d58100b09f102c6d9cfdfced01b7ec5a8974044bb09dbd4",
|
||||
strip_prefix = "native-tls-0.2.7",
|
||||
build_file = Label("//cargo/remote:BUILD.native-tls-0.2.7.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1393,12 +1403,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__openssl__0_10_31",
|
||||
url = "https://crates.io/api/v1/crates/openssl/0.10.31/download",
|
||||
name = "raze__openssl__0_10_32",
|
||||
url = "https://crates.io/api/v1/crates/openssl/0.10.32/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "8d008f51b1acffa0d3450a68606e6a51c123012edaacb0f4e1426bd978869187",
|
||||
strip_prefix = "openssl-0.10.31",
|
||||
build_file = Label("//cargo/remote:BUILD.openssl-0.10.31.bazel"),
|
||||
sha256 = "038d43985d1ddca7a9900630d8cd031b56e4794eecc2e9ea39dd17aa04399a70",
|
||||
strip_prefix = "openssl-0.10.32",
|
||||
build_file = Label("//cargo/remote:BUILD.openssl-0.10.32.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1413,12 +1423,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__openssl_sys__0_9_59",
|
||||
url = "https://crates.io/api/v1/crates/openssl-sys/0.9.59/download",
|
||||
name = "raze__openssl_sys__0_9_60",
|
||||
url = "https://crates.io/api/v1/crates/openssl-sys/0.9.60/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "de52d8eabd217311538a39bba130d7dea1f1e118010fee7a033d966845e7d5fe",
|
||||
strip_prefix = "openssl-sys-0.9.59",
|
||||
build_file = Label("//cargo/remote:BUILD.openssl-sys-0.9.59.bazel"),
|
||||
sha256 = "921fc71883267538946025deffb622905ecad223c28efbfdef9bb59a0175f3e6",
|
||||
strip_prefix = "openssl-sys-0.9.60",
|
||||
build_file = Label("//cargo/remote:BUILD.openssl-sys-0.9.60.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1433,12 +1443,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__parking_lot_core__0_8_1",
|
||||
url = "https://crates.io/api/v1/crates/parking_lot_core/0.8.1/download",
|
||||
name = "raze__parking_lot_core__0_8_2",
|
||||
url = "https://crates.io/api/v1/crates/parking_lot_core/0.8.2/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "d7c6d9b8427445284a09c55be860a15855ab580a417ccad9da88f5a06787ced0",
|
||||
strip_prefix = "parking_lot_core-0.8.1",
|
||||
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.8.1.bazel"),
|
||||
sha256 = "9ccb628cad4f84851442432c60ad8e1f607e29752d0bf072cbd0baf28aa34272",
|
||||
strip_prefix = "parking_lot_core-0.8.2",
|
||||
build_file = Label("//cargo/remote:BUILD.parking_lot_core-0.8.2.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1612,83 +1622,83 @@ def raze_fetch_remote_crates():
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__prost__0_6_1",
|
||||
remote = "https://github.com/danburkert/prost.git",
|
||||
shallow_since = "1598739849 -0700",
|
||||
commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-0.6.1.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__prost_build__0_6_1",
|
||||
remote = "https://github.com/danburkert/prost.git",
|
||||
shallow_since = "1598739849 -0700",
|
||||
commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-build-0.6.1.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__prost_derive__0_6_1",
|
||||
remote = "https://github.com/danburkert/prost.git",
|
||||
shallow_since = "1598739849 -0700",
|
||||
commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-derive-0.6.1.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__prost_types__0_6_1",
|
||||
remote = "https://github.com/danburkert/prost.git",
|
||||
shallow_since = "1598739849 -0700",
|
||||
commit = "4ded4a98ef339da0b7babd4efee3fbe8adaf746b",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-types-0.6.1.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__pyo3__0_12_4",
|
||||
remote = "https://github.com/PyO3/pyo3.git",
|
||||
shallow_since = "1606725379 +0000",
|
||||
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3-0.12.4.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__pyo3_derive_backend__0_12_4",
|
||||
remote = "https://github.com/PyO3/pyo3.git",
|
||||
shallow_since = "1606725379 +0000",
|
||||
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3-derive-backend-0.12.4.bazel"),
|
||||
init_submodules = True,
|
||||
)
|
||||
|
||||
maybe(
|
||||
new_git_repository,
|
||||
name = "raze__pyo3cls__0_12_4",
|
||||
remote = "https://github.com/PyO3/pyo3.git",
|
||||
shallow_since = "1606725379 +0000",
|
||||
commit = "92b7a9736c9585883df5ec5bc01004caa7f65106",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3cls-0.12.4.bazel"),
|
||||
init_submodules = True,
|
||||
http_archive,
|
||||
name = "raze__prost__0_7_0",
|
||||
url = "https://crates.io/api/v1/crates/prost/0.7.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2",
|
||||
strip_prefix = "prost-0.7.0",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-0.7.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__quote__1_0_7",
|
||||
url = "https://crates.io/api/v1/crates/quote/1.0.7/download",
|
||||
name = "raze__prost_build__0_7_0",
|
||||
url = "https://crates.io/api/v1/crates/prost-build/0.7.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37",
|
||||
strip_prefix = "quote-1.0.7",
|
||||
build_file = Label("//cargo/remote:BUILD.quote-1.0.7.bazel"),
|
||||
sha256 = "32d3ebd75ac2679c2af3a92246639f9fcc8a442ee420719cc4fe195b98dd5fa3",
|
||||
strip_prefix = "prost-build-0.7.0",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-build-0.7.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__prost_derive__0_7_0",
|
||||
url = "https://crates.io/api/v1/crates/prost-derive/0.7.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "169a15f3008ecb5160cba7d37bcd690a7601b6d30cfb87a117d45e59d52af5d4",
|
||||
strip_prefix = "prost-derive-0.7.0",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-derive-0.7.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__prost_types__0_7_0",
|
||||
url = "https://crates.io/api/v1/crates/prost-types/0.7.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb",
|
||||
strip_prefix = "prost-types-0.7.0",
|
||||
build_file = Label("//cargo/remote:BUILD.prost-types-0.7.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__pyo3__0_13_0",
|
||||
url = "https://crates.io/api/v1/crates/pyo3/0.13.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "5cdd01a4c2719dd1f3ceab0875fa1a2c2cd3c619477349d78f43cd716b345436",
|
||||
strip_prefix = "pyo3-0.13.0",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3-0.13.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__pyo3_macros__0_13_0",
|
||||
url = "https://crates.io/api/v1/crates/pyo3-macros/0.13.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "7f8218769d13e354f841d559a19b0cf22cfd55959c7046ef594e5f34dbe46d16",
|
||||
strip_prefix = "pyo3-macros-0.13.0",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3-macros-0.13.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__pyo3_macros_backend__0_13_0",
|
||||
url = "https://crates.io/api/v1/crates/pyo3-macros-backend/0.13.0/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "fc4da0bfdf76f0a5971c698f2cb6b3f832a6f80f16dedeeb3f123eb0431ecce2",
|
||||
strip_prefix = "pyo3-macros-backend-0.13.0",
|
||||
build_file = Label("//cargo/remote:BUILD.pyo3-macros-backend-0.13.0.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__quote__1_0_8",
|
||||
url = "https://crates.io/api/v1/crates/quote/1.0.8/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "991431c3519a3f36861882da93630ce66b52918dcf1b8e2fd66b397fc96f28df",
|
||||
strip_prefix = "quote-1.0.8",
|
||||
build_file = Label("//cargo/remote:BUILD.quote-1.0.8.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -1963,12 +1973,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__serde_json__1_0_60",
|
||||
url = "https://crates.io/api/v1/crates/serde_json/1.0.60/download",
|
||||
name = "raze__serde_json__1_0_61",
|
||||
url = "https://crates.io/api/v1/crates/serde_json/1.0.61/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "1500e84d27fe482ed1dc791a56eddc2f230046a040fa908c08bda1d9fb615779",
|
||||
strip_prefix = "serde_json-1.0.60",
|
||||
build_file = Label("//cargo/remote:BUILD.serde_json-1.0.60.bazel"),
|
||||
sha256 = "4fceb2595057b6891a4ee808f70054bd2d12f0e97f1cbb78689b59f676df325a",
|
||||
strip_prefix = "serde_json-1.0.61",
|
||||
build_file = Label("//cargo/remote:BUILD.serde_json-1.0.61.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -2103,12 +2113,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__socket2__0_3_18",
|
||||
url = "https://crates.io/api/v1/crates/socket2/0.3.18/download",
|
||||
name = "raze__socket2__0_3_19",
|
||||
url = "https://crates.io/api/v1/crates/socket2/0.3.19/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "97e0e9fd577458a4f61fb91fcb559ea2afecc54c934119421f9f5d3d5b1a1057",
|
||||
strip_prefix = "socket2-0.3.18",
|
||||
build_file = Label("//cargo/remote:BUILD.socket2-0.3.18.bazel"),
|
||||
sha256 = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e",
|
||||
strip_prefix = "socket2-0.3.19",
|
||||
build_file = Label("//cargo/remote:BUILD.socket2-0.3.19.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -2153,12 +2163,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__syn__1_0_54",
|
||||
url = "https://crates.io/api/v1/crates/syn/1.0.54/download",
|
||||
name = "raze__syn__1_0_56",
|
||||
url = "https://crates.io/api/v1/crates/syn/1.0.56/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "9a2af957a63d6bd42255c359c93d9bfdb97076bd3b820897ce55ffbfbf107f44",
|
||||
strip_prefix = "syn-1.0.54",
|
||||
build_file = Label("//cargo/remote:BUILD.syn-1.0.54.bazel"),
|
||||
sha256 = "a9802ddde94170d186eeee5005b798d9c159fa970403f1be19976d0cfb939b72",
|
||||
strip_prefix = "syn-1.0.56",
|
||||
build_file = Label("//cargo/remote:BUILD.syn-1.0.56.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -2223,22 +2233,22 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__thiserror__1_0_22",
|
||||
url = "https://crates.io/api/v1/crates/thiserror/1.0.22/download",
|
||||
name = "raze__thiserror__1_0_23",
|
||||
url = "https://crates.io/api/v1/crates/thiserror/1.0.23/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "0e9ae34b84616eedaaf1e9dd6026dbe00dcafa92aa0c8077cb69df1fcfe5e53e",
|
||||
strip_prefix = "thiserror-1.0.22",
|
||||
build_file = Label("//cargo/remote:BUILD.thiserror-1.0.22.bazel"),
|
||||
sha256 = "76cc616c6abf8c8928e2fdcc0dbfab37175edd8fb49a4641066ad1364fdab146",
|
||||
strip_prefix = "thiserror-1.0.23",
|
||||
build_file = Label("//cargo/remote:BUILD.thiserror-1.0.23.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__thiserror_impl__1_0_22",
|
||||
url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.22/download",
|
||||
name = "raze__thiserror_impl__1_0_23",
|
||||
url = "https://crates.io/api/v1/crates/thiserror-impl/1.0.23/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "9ba20f23e85b10754cd195504aebf6a27e2e6cbe28c17778a0c930724628dd56",
|
||||
strip_prefix = "thiserror-impl-1.0.22",
|
||||
build_file = Label("//cargo/remote:BUILD.thiserror-impl-1.0.22.bazel"),
|
||||
sha256 = "9be73a2caec27583d0046ef3796c3794f868a5bc813db689eed00c7631275cd1",
|
||||
strip_prefix = "thiserror-impl-1.0.23",
|
||||
build_file = Label("//cargo/remote:BUILD.thiserror-impl-1.0.23.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
@ -2353,12 +2363,12 @@ def raze_fetch_remote_crates():
|
||||
|
||||
maybe(
|
||||
http_archive,
|
||||
name = "raze__toml__0_5_7",
|
||||
url = "https://crates.io/api/v1/crates/toml/0.5.7/download",
|
||||
name = "raze__toml__0_5_8",
|
||||
url = "https://crates.io/api/v1/crates/toml/0.5.8/download",
|
||||
type = "tar.gz",
|
||||
sha256 = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645",
|
||||
strip_prefix = "toml-0.5.7",
|
||||
build_file = Label("//cargo/remote:BUILD.toml-0.5.7.bazel"),
|
||||
sha256 = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa",
|
||||
strip_prefix = "toml-0.5.8",
|
||||
build_file = Label("//cargo/remote:BUILD.toml-0.5.8.bazel"),
|
||||
)
|
||||
|
||||
maybe(
|
||||
|
@ -55,7 +55,7 @@
|
||||
},
|
||||
{
|
||||
"name": "anyhow",
|
||||
"version": "1.0.35",
|
||||
"version": "1.0.37",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/anyhow",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -136,7 +136,7 @@
|
||||
},
|
||||
{
|
||||
"name": "async-compression",
|
||||
"version": "0.3.6",
|
||||
"version": "0.3.7",
|
||||
"authors": "Wim Looman <wim@nemo157.com>|Allen Bui <fairingrey@gmail.com>",
|
||||
"repository": "https://github.com/Nemo157/async-compression",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -260,6 +260,15 @@
|
||||
"license_file": null,
|
||||
"description": "Types and traits for working with bytes"
|
||||
},
|
||||
{
|
||||
"name": "bytes",
|
||||
"version": "1.0.0",
|
||||
"authors": "Carl Lerche <me@carllerche.com>|Sean McArthur <sean@seanmonstar.com>",
|
||||
"repository": "https://github.com/tokio-rs/bytes",
|
||||
"license": "MIT",
|
||||
"license_file": null,
|
||||
"description": "Types and traits for working with bytes"
|
||||
},
|
||||
{
|
||||
"name": "cc",
|
||||
"version": "1.0.66",
|
||||
@ -379,7 +388,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ctor",
|
||||
"version": "0.1.16",
|
||||
"version": "0.1.17",
|
||||
"authors": "Matt Mastracci <matthew@mastracci.com>",
|
||||
"repository": "https://github.com/mmastrac/rust-ctor",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -424,7 +433,7 @@
|
||||
},
|
||||
{
|
||||
"name": "dtoa",
|
||||
"version": "0.4.6",
|
||||
"version": "0.4.7",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/dtoa",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -604,7 +613,7 @@
|
||||
},
|
||||
{
|
||||
"name": "funty",
|
||||
"version": "1.0.1",
|
||||
"version": "1.1.0",
|
||||
"authors": "myrrlyn <self@myrrlyn.dev>",
|
||||
"repository": "https://github.com/myrrlyn/funty",
|
||||
"license": "MIT",
|
||||
@ -766,7 +775,7 @@
|
||||
},
|
||||
{
|
||||
"name": "heck",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"authors": "Without Boats <woboats@gmail.com>",
|
||||
"repository": "https://github.com/withoutboats/heck",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -991,7 +1000,7 @@
|
||||
},
|
||||
{
|
||||
"name": "itoa",
|
||||
"version": "0.4.6",
|
||||
"version": "0.4.7",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/itoa",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1153,7 +1162,7 @@
|
||||
},
|
||||
{
|
||||
"name": "native-tls",
|
||||
"version": "0.2.6",
|
||||
"version": "0.2.7",
|
||||
"authors": "Steven Fackler <sfackler@gmail.com>",
|
||||
"repository": "https://github.com/sfackler/rust-native-tls",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1261,7 +1270,7 @@
|
||||
},
|
||||
{
|
||||
"name": "openssl",
|
||||
"version": "0.10.31",
|
||||
"version": "0.10.32",
|
||||
"authors": "Steven Fackler <sfackler@gmail.com>",
|
||||
"repository": "https://github.com/sfackler/rust-openssl",
|
||||
"license": "Apache-2.0",
|
||||
@ -1279,7 +1288,7 @@
|
||||
},
|
||||
{
|
||||
"name": "openssl-sys",
|
||||
"version": "0.9.59",
|
||||
"version": "0.9.60",
|
||||
"authors": "Alex Crichton <alex@alexcrichton.com>|Steven Fackler <sfackler@gmail.com>",
|
||||
"repository": "https://github.com/sfackler/rust-openssl",
|
||||
"license": "MIT",
|
||||
@ -1297,7 +1306,7 @@
|
||||
},
|
||||
{
|
||||
"name": "parking_lot_core",
|
||||
"version": "0.8.1",
|
||||
"version": "0.8.2",
|
||||
"authors": "Amanieu d'Antras <amanieu@gmail.com>",
|
||||
"repository": "https://github.com/Amanieu/parking_lot",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1459,7 +1468,7 @@
|
||||
},
|
||||
{
|
||||
"name": "prost",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"authors": "Dan Burkert <dan@danburkert.com>",
|
||||
"repository": "https://github.com/danburkert/prost",
|
||||
"license": "Apache-2.0",
|
||||
@ -1468,7 +1477,7 @@
|
||||
},
|
||||
{
|
||||
"name": "prost-build",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"authors": "Dan Burkert <dan@danburkert.com>",
|
||||
"repository": "https://github.com/danburkert/prost",
|
||||
"license": "Apache-2.0",
|
||||
@ -1477,7 +1486,7 @@
|
||||
},
|
||||
{
|
||||
"name": "prost-derive",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"authors": "Dan Burkert <dan@danburkert.com>",
|
||||
"repository": "https://github.com/danburkert/prost",
|
||||
"license": "Apache-2.0",
|
||||
@ -1486,7 +1495,7 @@
|
||||
},
|
||||
{
|
||||
"name": "prost-types",
|
||||
"version": "0.6.1",
|
||||
"version": "0.7.0",
|
||||
"authors": "Dan Burkert <dan@danburkert.com>",
|
||||
"repository": "https://github.com/danburkert/prost",
|
||||
"license": "Apache-2.0",
|
||||
@ -1495,7 +1504,7 @@
|
||||
},
|
||||
{
|
||||
"name": "pyo3",
|
||||
"version": "0.12.4",
|
||||
"version": "0.13.0",
|
||||
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
|
||||
"repository": "https://github.com/pyo3/pyo3",
|
||||
"license": "Apache-2.0",
|
||||
@ -1503,26 +1512,26 @@
|
||||
"description": "Bindings to Python interpreter"
|
||||
},
|
||||
{
|
||||
"name": "pyo3-derive-backend",
|
||||
"version": "0.12.4",
|
||||
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
|
||||
"repository": "https://github.com/pyo3/pyo3",
|
||||
"license": "Apache-2.0",
|
||||
"license_file": null,
|
||||
"description": "Code generation for PyO3 package"
|
||||
},
|
||||
{
|
||||
"name": "pyo3cls",
|
||||
"version": "0.12.4",
|
||||
"name": "pyo3-macros",
|
||||
"version": "0.13.0",
|
||||
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
|
||||
"repository": "https://github.com/pyo3/pyo3",
|
||||
"license": "Apache-2.0",
|
||||
"license_file": null,
|
||||
"description": "Proc macros for PyO3 package"
|
||||
},
|
||||
{
|
||||
"name": "pyo3-macros-backend",
|
||||
"version": "0.13.0",
|
||||
"authors": "PyO3 Project and Contributors <https://github.com/PyO3>",
|
||||
"repository": "https://github.com/pyo3/pyo3",
|
||||
"license": "Apache-2.0",
|
||||
"license_file": null,
|
||||
"description": "Code generation for PyO3 package"
|
||||
},
|
||||
{
|
||||
"name": "quote",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/quote",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1783,7 +1792,7 @@
|
||||
},
|
||||
{
|
||||
"name": "serde_json",
|
||||
"version": "1.0.60",
|
||||
"version": "1.0.61",
|
||||
"authors": "Erick Tryzelaar <erick.tryzelaar@gmail.com>|David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/serde-rs/json",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1909,7 +1918,7 @@
|
||||
},
|
||||
{
|
||||
"name": "socket2",
|
||||
"version": "0.3.18",
|
||||
"version": "0.3.19",
|
||||
"authors": "Alex Crichton <alex@alexcrichton.com>",
|
||||
"repository": "https://github.com/alexcrichton/socket2-rs",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -1954,7 +1963,7 @@
|
||||
},
|
||||
{
|
||||
"name": "syn",
|
||||
"version": "1.0.54",
|
||||
"version": "1.0.56",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/syn",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -2017,7 +2026,7 @@
|
||||
},
|
||||
{
|
||||
"name": "thiserror",
|
||||
"version": "1.0.22",
|
||||
"version": "1.0.23",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/thiserror",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -2026,7 +2035,7 @@
|
||||
},
|
||||
{
|
||||
"name": "thiserror-impl",
|
||||
"version": "1.0.22",
|
||||
"version": "1.0.23",
|
||||
"authors": "David Tolnay <dtolnay@gmail.com>",
|
||||
"repository": "https://github.com/dtolnay/thiserror",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
@ -2134,7 +2143,7 @@
|
||||
},
|
||||
{
|
||||
"name": "toml",
|
||||
"version": "0.5.7",
|
||||
"version": "0.5.8",
|
||||
"authors": "Alex Crichton <alex@alexcrichton.com>",
|
||||
"repository": "https://github.com/alexcrichton/toml-rs",
|
||||
"license": "Apache-2.0 OR MIT",
|
||||
|
@ -54,7 +54,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.35",
|
||||
version = "1.0.37",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
],
|
||||
@ -78,7 +78,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.35",
|
||||
version = "1.0.37",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":anyhow_build_script",
|
||||
@ -101,6 +101,8 @@ rust_library(
|
||||
|
||||
# Unsupported target "test_downcast" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_ffi" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_fmt" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_macros" with type "test" omitted
|
@ -51,6 +51,6 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__askama_shared__0_11_1//:askama_shared",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -61,9 +61,9 @@ rust_library(
|
||||
"@raze__num_traits__0_2_14//:num_traits",
|
||||
"@raze__percent_encoding__2_1_0//:percent_encoding",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__toml__0_5_7//:toml",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__toml__0_5_8//:toml",
|
||||
],
|
||||
)
|
||||
|
@ -37,8 +37,11 @@ licenses([
|
||||
rust_library(
|
||||
name = "async_compression",
|
||||
srcs = glob(["**/*.rs"]),
|
||||
aliases = {
|
||||
"@raze__bytes__0_5_6//:bytes": "bytes_05",
|
||||
},
|
||||
crate_features = [
|
||||
"bytes",
|
||||
"bytes-05",
|
||||
"default",
|
||||
"flate2",
|
||||
"gzip",
|
||||
@ -55,14 +58,14 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.3.6",
|
||||
version = "0.3.7",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__flate2__1_0_19//:flate2",
|
||||
"@raze__futures_core__0_3_8//:futures_core",
|
||||
"@raze__memchr__2_3_4//:memchr",
|
||||
"@raze__pin_project_lite__0_1_11//:pin_project_lite",
|
||||
"@raze__pin_project_lite__0_2_0//:pin_project_lite",
|
||||
],
|
||||
)
|
||||
|
@ -57,6 +57,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -57,7 +57,7 @@ rust_library(
|
||||
version = "0.19.4",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__funty__1_0_1//:funty",
|
||||
"@raze__funty__1_1_0//:funty",
|
||||
"@raze__radium__0_5_3//:radium",
|
||||
"@raze__tap__1_0_0//:tap",
|
||||
"@raze__wyz__0_2_0//:wyz",
|
||||
|
81
cargo/remote/BUILD.bytes-1.0.0.bazel
Normal file
81
cargo/remote/BUILD.bytes-1.0.0.bazel
Normal file
@ -0,0 +1,81 @@
|
||||
"""
|
||||
@generated
|
||||
cargo-raze crate build file.
|
||||
|
||||
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||
"""
|
||||
|
||||
# buildifier: disable=load
|
||||
load(
|
||||
"@io_bazel_rules_rust//rust:rust.bzl",
|
||||
"rust_binary",
|
||||
"rust_library",
|
||||
"rust_test",
|
||||
)
|
||||
|
||||
# buildifier: disable=load
|
||||
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||
|
||||
package(default_visibility = [
|
||||
# Public for visibility by "@raze__crate__version//" targets.
|
||||
#
|
||||
# Prefer access through "//cargo", which limits external
|
||||
# visibility to explicit Cargo.toml dependencies.
|
||||
"//visibility:public",
|
||||
])
|
||||
|
||||
licenses([
|
||||
"notice", # MIT from expression "MIT"
|
||||
])
|
||||
|
||||
# Generated Targets
|
||||
|
||||
# Unsupported target "buf" with type "bench" omitted
|
||||
|
||||
# Unsupported target "bytes" with type "bench" omitted
|
||||
|
||||
# Unsupported target "bytes_mut" with type "bench" omitted
|
||||
|
||||
rust_library(
|
||||
name = "bytes",
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "lib",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
tags = [
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
||||
)
|
||||
|
||||
# Unsupported target "test_buf" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_buf_mut" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_bytes" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_bytes_odd_alloc" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_bytes_vec_alloc" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_chain" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_debug" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_iter" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_reader" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_serde" with type "test" omitted
|
||||
|
||||
# Unsupported target "test_take" with type "test" omitted
|
@ -56,6 +56,7 @@ rust_library(
|
||||
# cfg(not(target_os = "wasi"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
|
@ -48,10 +48,10 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.1.16",
|
||||
version = "0.1.17",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
@ -51,8 +51,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -55,6 +55,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -48,7 +48,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.4.6",
|
||||
version = "0.4.7",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -79,8 +79,8 @@ rust_library(
|
||||
deps = [
|
||||
":failure_derive_build_script",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__synstructure__0_12_4//:synstructure",
|
||||
],
|
||||
)
|
||||
|
@ -46,7 +46,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.1",
|
||||
version = "1.1.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -53,7 +53,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -60,6 +60,7 @@ cargo_build_script(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
@ -99,6 +100,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -38,7 +38,7 @@ rust_library(
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "lib",
|
||||
data = [],
|
||||
edition = "2015",
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
],
|
||||
@ -46,7 +46,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.3.1",
|
||||
version = "0.3.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__unicode_segmentation__1_7_1//:unicode_segmentation",
|
@ -59,7 +59,7 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__fnv__1_0_7//:fnv",
|
||||
"@raze__itoa__0_4_6//:itoa",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -104,9 +104,9 @@ rust_library(
|
||||
"@raze__http_body__0_3_1//:http_body",
|
||||
"@raze__httparse__1_3_4//:httparse",
|
||||
"@raze__httpdate__0_3_2//:httpdate",
|
||||
"@raze__itoa__0_4_6//:itoa",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
"@raze__pin_project__1_0_2//:pin_project",
|
||||
"@raze__socket2__0_3_18//:socket2",
|
||||
"@raze__socket2__0_3_19//:socket2",
|
||||
"@raze__tokio__0_2_24//:tokio",
|
||||
"@raze__tower_service__0_3_0//:tower_service",
|
||||
"@raze__tracing__0_1_22//:tracing",
|
||||
@ -114,6 +114,7 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# cfg(any(target_os = "linux", target_os = "macos"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
|
@ -53,7 +53,7 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__hyper__0_13_9//:hyper",
|
||||
"@raze__native_tls__0_2_6//:native_tls",
|
||||
"@raze__native_tls__0_2_7//:native_tls",
|
||||
"@raze__tokio__0_2_24//:tokio",
|
||||
"@raze__tokio_tls__0_3_1//:tokio_tls",
|
||||
],
|
||||
|
@ -70,7 +70,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__ctor__0_1_16//:ctor",
|
||||
"@raze__ctor__0_1_17//:ctor",
|
||||
"@raze__ghost__0_1_2//:ghost",
|
||||
"@raze__inventory_impl__0_1_10//:inventory_impl",
|
||||
],
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -55,6 +55,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -51,7 +51,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.4.6",
|
||||
version = "0.4.7",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -62,6 +62,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -52,7 +52,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.2.6",
|
||||
version = "0.2.7",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
] + selects.with_or({
|
||||
@ -68,9 +68,10 @@ cargo_build_script(
|
||||
}) + selects.with_or({
|
||||
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
||||
"@raze__openssl_sys__0_9_60//:openssl_sys",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}) + selects.with_or({
|
||||
@ -105,7 +106,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.2.6",
|
||||
version = "0.2.7",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":native_tls_build_script",
|
||||
@ -126,12 +127,13 @@ rust_library(
|
||||
}) + selects.with_or({
|
||||
# cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__log__0_4_11//:log",
|
||||
"@raze__openssl__0_10_31//:openssl",
|
||||
"@raze__openssl__0_10_32//:openssl",
|
||||
"@raze__openssl_probe__0_1_2//:openssl_probe",
|
||||
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
||||
"@raze__openssl_sys__0_9_60//:openssl_sys",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
}) + selects.with_or({
|
@ -58,6 +58,7 @@ rust_library(
|
||||
# cfg(any(target_os = "redox", unix, target_os = "wasi"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -54,11 +54,12 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__arrayvec__0_4_12//:arrayvec",
|
||||
"@raze__itoa__0_4_6//:itoa",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -53,7 +53,7 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__proc_macro_crate__0_1_5//:proc_macro_crate",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -52,10 +52,10 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.10.31",
|
||||
version = "0.10.32",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
||||
"@raze__openssl_sys__0_9_60//:openssl_sys",
|
||||
],
|
||||
)
|
||||
|
||||
@ -77,7 +77,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.10.31",
|
||||
version = "0.10.32",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":openssl_build_script",
|
||||
@ -86,6 +86,6 @@ rust_library(
|
||||
"@raze__foreign_types__0_3_2//:foreign_types",
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__libc__0_2_81//:libc",
|
||||
"@raze__openssl_sys__0_9_59//:openssl_sys",
|
||||
"@raze__openssl_sys__0_9_60//:openssl_sys",
|
||||
],
|
||||
)
|
@ -52,7 +52,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.9.59",
|
||||
version = "0.9.60",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"@raze__autocfg__1_0_1//:autocfg",
|
||||
@ -87,7 +87,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.9.59",
|
||||
version = "0.9.60",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":openssl_sys_build_script",
|
@ -52,7 +52,7 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__instant__0_1_9//:instant",
|
||||
"@raze__lock_api__0_4_2//:lock_api",
|
||||
"@raze__parking_lot_core__0_8_1//:parking_lot_core",
|
||||
"@raze__parking_lot_core__0_8_2//:parking_lot_core",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -48,7 +48,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.8.1",
|
||||
version = "0.8.2",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__cfg_if__1_0_0//:cfg_if",
|
||||
@ -58,6 +58,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
@ -79,7 +79,7 @@ rust_library(
|
||||
deps = [
|
||||
":pin_project_internal_build_script",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -49,6 +49,6 @@ rust_library(
|
||||
version = "0.1.5",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__toml__0_5_7//:toml",
|
||||
"@raze__toml__0_5_8//:toml",
|
||||
],
|
||||
)
|
||||
|
@ -45,7 +45,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__prost_derive__0_6_1//:prost_derive",
|
||||
"@raze__prost_derive__0_7_0//:prost_derive",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -54,9 +54,9 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.6.1",
|
||||
version = "0.7.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__bytes__1_0_0//:bytes",
|
||||
],
|
||||
)
|
@ -42,7 +42,7 @@ cargo_build_script(
|
||||
},
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "prost-build/build.rs",
|
||||
crate_root = "build.rs",
|
||||
data = glob(["**"]),
|
||||
edition = "2018",
|
||||
rustc_flags = [
|
||||
@ -52,7 +52,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.6.1",
|
||||
version = "0.7.0",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
"@raze__which__4_0_2//:which",
|
||||
@ -64,7 +64,7 @@ rust_library(
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "prost-build/src/lib.rs",
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "lib",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
@ -75,18 +75,18 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.6.1",
|
||||
version = "0.7.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":prost_build_build_script",
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__heck__0_3_1//:heck",
|
||||
"@raze__bytes__1_0_0//:bytes",
|
||||
"@raze__heck__0_3_2//:heck",
|
||||
"@raze__itertools__0_9_0//:itertools",
|
||||
"@raze__log__0_4_11//:log",
|
||||
"@raze__multimap__0_8_2//:multimap",
|
||||
"@raze__petgraph__0_5_1//:petgraph",
|
||||
"@raze__prost__0_6_1//:prost",
|
||||
"@raze__prost_types__0_6_1//:prost_types",
|
||||
"@raze__prost__0_7_0//:prost",
|
||||
"@raze__prost_types__0_7_0//:prost_types",
|
||||
"@raze__tempfile__3_1_0//:tempfile",
|
||||
],
|
||||
)
|
@ -35,7 +35,7 @@ rust_library(
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "prost-derive/src/lib.rs",
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "proc-macro",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
@ -46,13 +46,13 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.6.1",
|
||||
version = "0.7.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__anyhow__1_0_35//:anyhow",
|
||||
"@raze__anyhow__1_0_37//:anyhow",
|
||||
"@raze__itertools__0_9_0//:itertools",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
@ -35,7 +35,7 @@ rust_library(
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "prost-types/src/lib.rs",
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "lib",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
@ -46,10 +46,10 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.6.1",
|
||||
version = "0.7.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__bytes__0_5_6//:bytes",
|
||||
"@raze__prost__0_6_1//:prost",
|
||||
"@raze__bytes__1_0_0//:bytes",
|
||||
"@raze__prost__0_7_0//:prost",
|
||||
],
|
||||
)
|
@ -49,7 +49,7 @@ cargo_build_script(
|
||||
"inventory",
|
||||
"macros",
|
||||
"paste",
|
||||
"pyo3cls",
|
||||
"pyo3-macros",
|
||||
"unindent",
|
||||
],
|
||||
crate_root = "build.rs",
|
||||
@ -62,7 +62,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.12.4",
|
||||
version = "0.13.0",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
],
|
||||
@ -92,7 +92,7 @@ rust_library(
|
||||
"inventory",
|
||||
"macros",
|
||||
"paste",
|
||||
"pyo3cls",
|
||||
"pyo3-macros",
|
||||
"unindent",
|
||||
],
|
||||
crate_root = "src/lib.rs",
|
||||
@ -101,10 +101,10 @@ rust_library(
|
||||
compile_data = glob(["**/*.md"]),
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__ctor__0_1_16//:ctor",
|
||||
"@raze__ctor__0_1_17//:ctor",
|
||||
"@raze__indoc__1_0_3//:indoc",
|
||||
"@raze__paste__1_0_4//:paste",
|
||||
"@raze__pyo3cls__0_12_4//:pyo3cls",
|
||||
"@raze__pyo3_macros__0_13_0//:pyo3_macros",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -113,7 +113,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.12.4",
|
||||
version = "0.13.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":pyo3_build_script",
|
@ -31,11 +31,11 @@ licenses([
|
||||
# Generated Targets
|
||||
|
||||
rust_library(
|
||||
name = "pyo3cls",
|
||||
name = "pyo3_macros",
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "pyo3cls/src/lib.rs",
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "proc-macro",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
@ -46,11 +46,11 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.12.4",
|
||||
version = "0.13.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__pyo3_derive_backend__0_12_4//:pyo3_derive_backend",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__pyo3_macros_backend__0_13_0//:pyo3_macros_backend",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
@ -31,11 +31,11 @@ licenses([
|
||||
# Generated Targets
|
||||
|
||||
rust_library(
|
||||
name = "pyo3_derive_backend",
|
||||
name = "pyo3_macros_backend",
|
||||
srcs = glob(["**/*.rs"]),
|
||||
crate_features = [
|
||||
],
|
||||
crate_root = "pyo3-derive-backend/src/lib.rs",
|
||||
crate_root = "src/lib.rs",
|
||||
crate_type = "lib",
|
||||
data = [],
|
||||
edition = "2018",
|
||||
@ -46,11 +46,11 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.12.4",
|
||||
version = "0.13.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
@ -48,7 +48,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.7",
|
||||
version = "1.0.8",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
@ -77,6 +77,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -46,7 +46,7 @@ rust_library(
|
||||
name = "reqwest",
|
||||
srcs = glob(["**/*.rs"]),
|
||||
aliases = {
|
||||
"@raze__native_tls__0_2_6//:native_tls": "native_tls_crate",
|
||||
"@raze__native_tls__0_2_7//:native_tls": "native_tls_crate",
|
||||
},
|
||||
crate_features = [
|
||||
"__rustls",
|
||||
@ -87,13 +87,14 @@ rust_library(
|
||||
"@raze__hyper_timeout__0_3_1//:hyper_timeout",
|
||||
"@raze__mime_guess__2_0_3//:mime_guess",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__serde_json__1_0_60//:serde_json",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
"@raze__serde_urlencoded__0_6_1//:serde_urlencoded",
|
||||
"@raze__url__2_2_0//:url",
|
||||
] + selects.with_or({
|
||||
# cfg(not(target_arch = "wasm32"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
@ -111,7 +112,7 @@ rust_library(
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__log__0_4_11//:log",
|
||||
"@raze__mime__0_3_16//:mime",
|
||||
"@raze__native_tls__0_2_6//:native_tls",
|
||||
"@raze__native_tls__0_2_7//:native_tls",
|
||||
"@raze__percent_encoding__2_1_0//:percent_encoding",
|
||||
"@raze__pin_project_lite__0_1_11//:pin_project_lite",
|
||||
"@raze__rustls__0_18_1//:rustls",
|
||||
|
@ -63,6 +63,7 @@ cargo_build_script(
|
||||
] + selects.with_or({
|
||||
# cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux"))))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
@ -73,6 +74,7 @@ cargo_build_script(
|
||||
}) + selects.with_or({
|
||||
# cfg(any(target_os = "android", target_os = "linux"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
],
|
||||
@ -81,6 +83,7 @@ cargo_build_script(
|
||||
# cfg(any(unix, windows))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
@ -129,6 +132,7 @@ rust_library(
|
||||
] + selects.with_or({
|
||||
# cfg(any(target_arch = "x86", target_arch = "x86_64", all(any(target_arch = "aarch64", target_arch = "arm"), any(target_os = "android", target_os = "fuchsia", target_os = "linux"))))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
@ -140,6 +144,7 @@ rust_library(
|
||||
}) + selects.with_or({
|
||||
# cfg(any(target_os = "android", target_os = "linux"))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
"@raze__libc__0_2_81//:libc",
|
||||
@ -150,6 +155,7 @@ rust_library(
|
||||
# cfg(any(unix, windows))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-msvc",
|
||||
|
@ -56,6 +56,6 @@ rust_library(
|
||||
deps = [
|
||||
"@raze__chrono__0_4_19//:chrono",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__serde_json__1_0_60//:serde_json",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
],
|
||||
)
|
||||
|
@ -81,7 +81,7 @@ rust_library(
|
||||
deps = [
|
||||
":serde_derive_build_script",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -54,7 +54,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.60",
|
||||
version = "1.0.61",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
],
|
||||
@ -78,11 +78,11 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.60",
|
||||
version = "1.0.61",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":serde_json_build_script",
|
||||
"@raze__itoa__0_4_6//:itoa",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
"@raze__ryu__1_0_5//:ryu",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
],
|
@ -50,8 +50,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
||||
|
@ -49,8 +49,8 @@ rust_library(
|
||||
version = "0.6.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__dtoa__0_4_6//:dtoa",
|
||||
"@raze__itoa__0_4_6//:itoa",
|
||||
"@raze__dtoa__0_4_7//:dtoa",
|
||||
"@raze__itoa__0_4_7//:itoa",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__url__2_2_0//:url",
|
||||
],
|
||||
|
@ -48,13 +48,14 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.3.18",
|
||||
version = "0.3.19",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
] + selects.with_or({
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
@ -64,7 +64,7 @@ cargo_build_script(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.54",
|
||||
version = "1.0.56",
|
||||
visibility = ["//visibility:private"],
|
||||
deps = [
|
||||
],
|
||||
@ -102,12 +102,12 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.54",
|
||||
version = "1.0.56",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
":syn_build_script",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__unicode_xid__0_2_1//:unicode_xid",
|
||||
],
|
||||
)
|
@ -52,8 +52,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__unicode_xid__0_2_1//:unicode_xid",
|
||||
],
|
||||
)
|
||||
|
@ -58,6 +58,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -40,7 +40,7 @@ rust_library(
|
||||
data = [],
|
||||
edition = "2018",
|
||||
proc_macro_deps = [
|
||||
"@raze__thiserror_impl__1_0_22//:thiserror_impl",
|
||||
"@raze__thiserror_impl__1_0_23//:thiserror_impl",
|
||||
],
|
||||
rustc_flags = [
|
||||
"--cap-lints=allow",
|
||||
@ -49,7 +49,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.22",
|
||||
version = "1.0.23",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
],
|
@ -46,11 +46,11 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "1.0.22",
|
||||
version = "1.0.23",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
],
|
||||
)
|
@ -84,6 +84,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -56,7 +56,7 @@ rust_library(
|
||||
"@raze__bytes__0_4_12//:bytes",
|
||||
"@raze__either__1_6_1//:either",
|
||||
"@raze__futures__0_3_8//:futures",
|
||||
"@raze__thiserror__1_0_22//:thiserror",
|
||||
"@raze__thiserror__1_0_23//:thiserror",
|
||||
"@raze__tokio__0_2_24//:tokio",
|
||||
],
|
||||
)
|
||||
|
@ -55,11 +55,12 @@ rust_library(
|
||||
version = "0.3.1",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__native_tls__0_2_6//:native_tls",
|
||||
"@raze__native_tls__0_2_7//:native_tls",
|
||||
"@raze__tokio__0_2_24//:tokio",
|
||||
] + selects.with_or({
|
||||
# cfg(all(not(target_os = "macos"), not(windows), not(target_os = "ios")))
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
): [
|
||||
],
|
||||
|
@ -53,7 +53,7 @@ rust_library(
|
||||
"cargo-raze",
|
||||
"manual",
|
||||
],
|
||||
version = "0.5.7",
|
||||
version = "0.5.8",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__serde__1_0_118//:serde",
|
@ -52,8 +52,8 @@ rust_library(
|
||||
version = "0.9.0",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__unic_langid_impl__0_9_0//:unic_langid_impl",
|
||||
],
|
||||
)
|
||||
|
@ -55,6 +55,7 @@ rust_library(
|
||||
# cfg(unix)
|
||||
(
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
|
||||
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
|
||||
|
@ -95,7 +95,7 @@ rust_library(
|
||||
":wasm_bindgen_build_script",
|
||||
"@raze__cfg_if__1_0_0//:cfg_if",
|
||||
"@raze__serde__1_0_118//:serde",
|
||||
"@raze__serde_json__1_0_60//:serde_json",
|
||||
"@raze__serde_json__1_0_61//:serde_json",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -54,8 +54,8 @@ rust_library(
|
||||
"@raze__lazy_static__1_4_0//:lazy_static",
|
||||
"@raze__log__0_4_11//:log",
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared",
|
||||
],
|
||||
)
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
version = "0.2.69",
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__wasm_bindgen_macro_support__0_2_69//:wasm_bindgen_macro_support",
|
||||
],
|
||||
)
|
||||
|
@ -51,8 +51,8 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__proc_macro2__1_0_24//:proc_macro2",
|
||||
"@raze__quote__1_0_7//:quote",
|
||||
"@raze__syn__1_0_54//:syn",
|
||||
"@raze__quote__1_0_8//:quote",
|
||||
"@raze__syn__1_0_56//:syn",
|
||||
"@raze__wasm_bindgen_backend__0_2_69//:wasm_bindgen_backend",
|
||||
"@raze__wasm_bindgen_shared__0_2_69//:wasm_bindgen_shared",
|
||||
],
|
||||
|
@ -50,7 +50,7 @@ rust_library(
|
||||
# buildifier: leave-alone
|
||||
deps = [
|
||||
"@raze__libc__0_2_81//:libc",
|
||||
"@raze__thiserror__1_0_22//:thiserror",
|
||||
"@raze__thiserror__1_0_23//:thiserror",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -17,10 +17,6 @@ COMMITS_SHALLOW_SINCE = {
|
||||
"f9ef687120d88744c1da50a222e19208b4553503": "1604362633 +1000",
|
||||
# tokio-io-timeout
|
||||
"96e1358555c49905de89170f2b1102a7d8b6c4c2": "1598411535 +1000",
|
||||
# prost
|
||||
"4ded4a98ef339da0b7babd4efee3fbe8adaf746b": "1598739849 -0700",
|
||||
# pyo3
|
||||
"92b7a9736c9585883df5ec5bc01004caa7f65106": "1606725379 +0000",
|
||||
}
|
||||
|
||||
import os
|
||||
@ -114,8 +110,22 @@ def update_reqwest_deps():
|
||||
file.write(data)
|
||||
|
||||
|
||||
def stage_commit():
|
||||
subprocess.run(
|
||||
[
|
||||
"git",
|
||||
"add",
|
||||
".",
|
||||
"../Cargo.lock",
|
||||
"../rslib/cargo/BUILD.bazel",
|
||||
"../pylib/rsbridge/BUILD.bazel",
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
update_cargo_lock()
|
||||
run_cargo_raze()
|
||||
write_licenses()
|
||||
update_crates_bzl()
|
||||
update_reqwest_deps()
|
||||
stage_commit()
|
||||
|
8
defs.bzl
8
defs.bzl
@ -3,14 +3,14 @@ load("@bazel_skylib//lib:versions.bzl", "versions")
|
||||
load("@io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
|
||||
load("@net_ankiweb_anki//cargo:crates.bzl", "raze_fetch_remote_crates")
|
||||
load(":python.bzl", "setup_local_python")
|
||||
load(":protobuf.bzl", "setup_protobuf_binary")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install")
|
||||
load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
|
||||
load("@build_bazel_rules_svelte//:defs.bzl", "rules_svelte_dependencies")
|
||||
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
||||
load("@com_github_ali5h_rules_pip//:defs.bzl", "pip_import")
|
||||
load("//pip/pyqt5:defs.bzl", "install_pyqt5")
|
||||
|
||||
anki_version = "2.1.38"
|
||||
anki_version = "2.1.39"
|
||||
|
||||
def setup_deps():
|
||||
bazel_skylib_workspace()
|
||||
@ -26,6 +26,8 @@ def setup_deps():
|
||||
|
||||
setup_local_python(name = "python")
|
||||
|
||||
setup_protobuf_binary(name = "com_google_protobuf")
|
||||
|
||||
native.register_toolchains("@python//:python3_toolchain")
|
||||
|
||||
pip_import(
|
||||
@ -50,5 +52,3 @@ def setup_deps():
|
||||
sass_repositories()
|
||||
|
||||
rules_svelte_dependencies()
|
||||
|
||||
protobuf_deps()
|
||||
|
@ -108,10 +108,6 @@ in one of those files will update the generated files.
|
||||
|
||||
## Translations
|
||||
|
||||
The translations into other languages will be fetched on the first build.
|
||||
If you'd like to keep them up to date, you need to run 'make pull-i18n'
|
||||
periodically.
|
||||
|
||||
For information on adding new translatable strings to Anki, please see
|
||||
https://translating.ankiweb.net/#/anki/developers
|
||||
|
||||
@ -121,8 +117,10 @@ Please make sure 'bazel test //...' completes successfully before submitting cod
|
||||
You can do this automatically by adding the following into
|
||||
.git/hooks/pre-commit or .git/hooks/pre-push and making it executable.
|
||||
|
||||
```sh
|
||||
#!/bin/bash
|
||||
bazel test //...
|
||||
```
|
||||
|
||||
If your change is non-trivial and not covered by the existing unit tests, please
|
||||
consider adding a unit test at the same time.
|
||||
|
@ -54,6 +54,7 @@ Platform-specific instructions:
|
||||
- [Windows](./windows.md)
|
||||
- [Mac](./mac.md)
|
||||
- [Linux](./linux.md)
|
||||
- [Other Platforms](./new-platform.md)
|
||||
|
||||
Don't name the Git checkout ~/Anki or ~/Documents/Anki, as those folders
|
||||
were used on old Anki versions and will be automatically moved.
|
||||
@ -188,6 +189,17 @@ Audio playing requires `mpv` or `mplayer` to be in your system path.
|
||||
|
||||
Recording also requires `lame` to be in your system path.
|
||||
|
||||
## Build errors and cleaning
|
||||
|
||||
If you get errors with @npm and node_modules in the message, try deleting the
|
||||
ts/node_modules folder.
|
||||
|
||||
Unlike the old Make system, a "clean build" should almost never be required
|
||||
unless you are debugging issues with the build system. But if you need to get
|
||||
things to a fresh state, you can run `bazel clean --expunge`. Afte doing so,
|
||||
make sure you remove the ts/node_modules folder, or subsequent build commands
|
||||
will fail with a "no such file or directory node_modules/anki" message.
|
||||
|
||||
## Tracing build problems
|
||||
|
||||
You can run bazel with '-s' to print the commands that are being executed.
|
||||
@ -212,14 +224,6 @@ in the collection2.log file will also be printed on stdout.
|
||||
|
||||
If ANKI_PROFILE_CODE is set, Python profiling data will be written on exit.
|
||||
|
||||
## Cleaning
|
||||
|
||||
Unlike the old Make system, a "clean build" should almost never be required
|
||||
unless you are debugging issues with the build system. But if you need to get
|
||||
things to a fresh state, you can run `bazel clean --expunge`. Afte doing so,
|
||||
make sure you remove the ts/node_modules folder, or subsequent build commands
|
||||
will fail with a "no such file or directory node_modules/anki" message.
|
||||
|
||||
## Mixing development and study
|
||||
|
||||
You may wish to create a separate profile with File>Switch Profile for use
|
||||
|
@ -4,6 +4,10 @@
|
||||
|
||||
These instructions are written for Debian/Ubuntu; adjust for your distribution.
|
||||
|
||||
Glibc is required - if you are on a distro like Alpine that uses musl, you'll need
|
||||
to contribute fixes to the upstream [Rust rules](https://github.com/bazelbuild/rules_rust/issues/390),
|
||||
then follow the steps in [Other Platforms](./new-platform.md).
|
||||
|
||||
**Ensure some basic tools are installed**:
|
||||
|
||||
```
|
||||
@ -24,14 +28,19 @@ If you are using a packaged Python version that is installed in /usr/bin, you ca
|
||||
immediately to the next section.
|
||||
|
||||
If Python 3.8 is not available in your distro, you can download it from python.org,
|
||||
compile it, and install in in /usr/local.
|
||||
compile it, and install it in /usr/local.
|
||||
|
||||
If you're on a basic Debian install, make sure you have the following installed
|
||||
before building Python:
|
||||
|
||||
gcc g++ make libsqlite3-dev libreadline-dev libssl-dev zlib1g-dev libffi-dev
|
||||
|
||||
Bazel does not look in /usr/local by default. If you've installed Python somewhere
|
||||
other than /usr/bin, you'll need to put the following into a file called user.bazelrc
|
||||
at the top of this repo before proceeding:
|
||||
|
||||
```
|
||||
build --action_env=PYTHON_SYS_EXECUTABLE=/usr/local/bin/python
|
||||
build --action_env=PYTHON_SYS_EXECUTABLE=/usr/local/bin/python3.8
|
||||
```
|
||||
|
||||
If you're building Anki from a docker container or distro that has no `python` command in
|
||||
|
114
docs/new-platform.md
Normal file
114
docs/new-platform.md
Normal file
@ -0,0 +1,114 @@
|
||||
# Building on a new platform
|
||||
|
||||
## Upstream prerequisites
|
||||
|
||||
- A recent Qt, PyQt5 and PyQtWebEngine must work on your platform. Chances are wheels
|
||||
for your platform are not available on PyPI, so you will need to have a working
|
||||
version installed already, either from your Linux distro's archives, or by building
|
||||
from source.
|
||||
- Rust and Node must support your platform.
|
||||
- If the Bazel Rust and Node rules do not support your platform, extra work may be required.
|
||||
|
||||
## 32 bit builds
|
||||
|
||||
Bazel does not support running on a 32-bit host. It may be theoretically
|
||||
possible to cross-compile from a 64-bit host, but this is not something we've
|
||||
tried, and it will likely not work out of the box.
|
||||
|
||||
## Protobuf & Python
|
||||
|
||||
- Edit /platforms/BUILD.bzl and add the new platform. Available platforms
|
||||
and CPUs can be found here: https://github.com/bazelbuild/platforms
|
||||
- Edit /protobuf.bzl and add the new platform and a link to a protoc binary.
|
||||
- Edit /pylib/anki/BUILD.bazel and add the new platform and the relevant
|
||||
Python wheel name for your platform.
|
||||
|
||||
Example of the above changes:
|
||||
https://github.com/ankitects/anki/commit/db3308e788f20b188e84add40d6a1dce5bf726a0
|
||||
|
||||
- We need to tell the build process to use your local PyQt5 install, instead of
|
||||
fetching it from PyPI. Locate your Python site-packages folder where the PyQt5
|
||||
folder is, and add the following to user.bazelrc in the project folder root:
|
||||
|
||||
```
|
||||
build --action_env=PYTHON_SITE_PACKAGES=/path/to/site-packages
|
||||
```
|
||||
|
||||
- Anki uses the Python 'orjson' module. If it's not available on your system,
|
||||
you will need to [patch it out](https://github.com/ankitects/anki/pull/752#issuecomment-748861582), and remove references to it in the build scripts.
|
||||
|
||||
## Rust
|
||||
|
||||
- Ensure you have Rust installed (eg via rustup)
|
||||
- Edit /Cargo.toml in this project, and add your platform
|
||||
to the targets. Check that the platform [is supported](https://github.com/bazelbuild/rules_rust/blob/master/rust/platform/platform.bzl) by rules_rust; if it is not, you'll
|
||||
need to send a PR to them adding it. You can test your change locally by modifying
|
||||
/repos.bzl in this project to point to a local rules_rust checkout.
|
||||
- Edit /cargo/BUILD.request.bazel and add the new platform.
|
||||
- Run update.py in the /cargo folder.
|
||||
|
||||
Examples of the required changes:
|
||||
|
||||
- https://github.com/ankitects/anki/commit/eca27b371000e77b68cb4c790b44848507ca3883
|
||||
- https://github.com/ankitects/anki/commit/3f3f4b5c3640a7d1f4eec02f326fda93214ec34b
|
||||
|
||||
## NodeJS
|
||||
|
||||
If node doesn't provide a binary for your platform and you have a local copy
|
||||
installed, you can create a local_node folder in the project root, symlink in
|
||||
your local installation, and modify defs.bzl.
|
||||
|
||||
```patch
|
||||
diff --git a/defs.bzl b/defs.bzl
|
||||
index eff3d9df2..fb2e9f7fe 100644
|
||||
--- a/defs.bzl
|
||||
+++ b/defs.bzl
|
||||
@@ -41,7 +41,15 @@ def setup_deps():
|
||||
python_runtime = "@python//:python",
|
||||
)
|
||||
|
||||
- node_repositories(package_json = ["@net_ankiweb_anki//ts:package.json"])
|
||||
+ native.local_repository(
|
||||
+ name = "local_node",
|
||||
+ path = "local_node",
|
||||
+ )
|
||||
+
|
||||
+ node_repositories(
|
||||
+ package_json = ["@net_ankiweb_anki//ts:package.json"],
|
||||
+ vendored_node = "@local_node//:node",
|
||||
+ )
|
||||
|
||||
yarn_install(
|
||||
name = "npm",
|
||||
diff --git a/local_node/BUILD.bazel b/local_node/BUILD.bazel
|
||||
new file mode 100644
|
||||
index 000000000..aa0c473ae
|
||||
--- /dev/null
|
||||
+++ b/local_node/BUILD.bazel
|
||||
@@ -0,0 +1 @@
|
||||
+exports_files(["node/bin/node"] + glob(["node/lib/node_modules/**"]))
|
||||
diff --git a/local_node/WORKSPACE b/local_node/WORKSPACE
|
||||
new file mode 100644
|
||||
index 000000000..e69de29bb
|
||||
diff --git a/local_node/node/bin/node b/local_node/node/bin/node
|
||||
new file mode 120000
|
||||
index 000000000..d7b371472
|
||||
--- /dev/null
|
||||
+++ b/local_node/node/bin/node
|
||||
@@ -0,0 +1 @@
|
||||
+/usr/local/bin/node
|
||||
\ No newline at end of file
|
||||
diff --git a/local_node/node/lib/node_modules b/local_node/node/lib/node_modules
|
||||
new file mode 120000
|
||||
index 000000000..23dd0736e
|
||||
--- /dev/null
|
||||
+++ b/local_node/node/lib/node_modules
|
||||
@@ -0,0 +1 @@
|
||||
+/usr/local/lib/node_modules
|
||||
\ No newline at end of file
|
||||
```
|
||||
|
||||
## Submitting changes
|
||||
|
||||
If the changes to support your platform do not require platform-specific hacks,
|
||||
a PR that adds them is welcome - please see [Contributing](./contributing.md) for more.
|
@ -1,7 +1,8 @@
|
||||
load("@py_deps//:requirements.bzl", "requirement")
|
||||
|
||||
fluent_syntax = [
|
||||
requirement("fluent-syntax"),
|
||||
requirement("fluent.syntax"),
|
||||
requirement("compare-locales"),
|
||||
# undeclared runtime dependency
|
||||
requirement("six"),
|
||||
]
|
||||
|
@ -24,6 +24,7 @@ actions-rebuild = Rebuild
|
||||
actions-red-flag = Red Flag
|
||||
actions-rename = Rename
|
||||
actions-rename-deck = Rename Deck
|
||||
actions-rename-tag = Rename Tag
|
||||
actions-replay-audio = Replay Audio
|
||||
actions-reposition = Reposition
|
||||
actions-save = Save
|
||||
|
@ -94,6 +94,7 @@ browsing-step = Step:
|
||||
browsing-studied-today = Studied Today
|
||||
browsing-suspended = Suspended
|
||||
browsing-tag-duplicates = Tag Duplicates
|
||||
browsing-tag-rename-warning-empty = You can't rename a tag that has no notes.
|
||||
browsing-target-field = Target field:
|
||||
browsing-today = Today
|
||||
browsing-toggle-mark = Toggle Mark
|
||||
|
@ -12,3 +12,5 @@ fields-reverse-text-direction-rtl = Reverse text direction (RTL)
|
||||
fields-size = Size:
|
||||
fields-sort-by-this-field-in-the = Sort by this field in the browser
|
||||
fields-that-field-name-is-already-used = That field name is already used.
|
||||
fields-name-first-letter-not-valid = The field name should not start with #, ^ or /.
|
||||
fields-name-invalid-letter = The field name should not contain :, ", { "{" } or { "}" }.
|
||||
|
@ -6,7 +6,6 @@ preferences-backupsanki-will-create-a-backup-of = <html><head/><body><p><span st
|
||||
preferences-basic = Basic
|
||||
preferences-change-deck-depending-on-note-type = Change deck depending on note type
|
||||
preferences-changes-will-take-effect-when-you = Changes will take effect when you restart Anki.
|
||||
preferences-hardware-acceleration-faster-may-cause-display = Hardware acceleration (faster, may cause display issues)
|
||||
preferences-hours-past-midnight = hours past midnight
|
||||
preferences-interface-language = Interface language:
|
||||
preferences-interrupt-current-audio-when-answering = Interrupt current audio when answering
|
||||
|
@ -87,6 +87,7 @@ statistics-counts-early-cards = Early
|
||||
statistics-counts-learning-cards = Learning
|
||||
statistics-counts-relearning-cards = Relearning
|
||||
statistics-counts-title = Card Counts
|
||||
statistics-counts-separate-suspended-buried-cards = Separate suspended / buried cards
|
||||
statistics-range-all-time = all
|
||||
statistics-range-1-year-history = last 12 months
|
||||
statistics-range-all-history = all history
|
||||
|
@ -9,9 +9,35 @@ import os
|
||||
import json
|
||||
import glob
|
||||
import sys
|
||||
import difflib
|
||||
from typing import List
|
||||
from fluent.syntax import parse, serialize
|
||||
from fluent.syntax.ast import Junk
|
||||
from compare_locales.paths import File
|
||||
from compare_locales import parser
|
||||
from compare_locales.checks.fluent import ReferenceMessageVisitor
|
||||
|
||||
|
||||
def check_missing_terms(path: str) -> bool:
|
||||
"True if file is ok."
|
||||
file = File(path, os.path.basename(path))
|
||||
content = open(path, "rb").read()
|
||||
p = parser.getParser(file.file)
|
||||
p.readContents(content)
|
||||
refList = p.parse()
|
||||
|
||||
p.readContents(content)
|
||||
for e in p.parse():
|
||||
ref_data = ReferenceMessageVisitor()
|
||||
ref_data.visit(e.entry)
|
||||
|
||||
for attr_or_val, refs in ref_data.entry_refs.items():
|
||||
for ref, ref_type in refs.items():
|
||||
if ref not in refList:
|
||||
print(f"In {path}:{e}, missing '{ref}'")
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def check_file(path: str, fix: bool) -> bool:
|
||||
@ -31,7 +57,7 @@ def check_file(path: str, fix: bool) -> bool:
|
||||
raise Exception(f"file introduced junk! {path} {ent}")
|
||||
|
||||
if new_text == orig_text:
|
||||
return True
|
||||
return check_missing_terms(path)
|
||||
|
||||
if fix:
|
||||
print(f"Fixing {path}")
|
||||
@ -39,6 +65,17 @@ def check_file(path: str, fix: bool) -> bool:
|
||||
return True
|
||||
else:
|
||||
print(f"Bad formatting in {path}")
|
||||
print(
|
||||
"\n".join(
|
||||
difflib.unified_diff(
|
||||
orig_text.splitlines(),
|
||||
new_text.splitlines(),
|
||||
fromfile="bad",
|
||||
tofile="good",
|
||||
lineterm="",
|
||||
)
|
||||
)
|
||||
)
|
||||
return False
|
||||
|
||||
|
||||
@ -50,7 +87,7 @@ def check_files(files: List[str], fix: bool) -> bool:
|
||||
ok = check_file(path, fix)
|
||||
if not ok:
|
||||
found_bad = True
|
||||
return True
|
||||
return not found_bad
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -4,3 +4,12 @@ preferences-dark-mode-active = macOS is in dark mode
|
||||
preferences-dark-mode-disable =
|
||||
To show Anki in light mode while macOS is in dark mode, please
|
||||
see the Night Mode section of the manual.
|
||||
|
||||
## Video drivers/hardware acceleration. Please avoid translating 'OpenGL' and 'ANGLE'.
|
||||
|
||||
preferences-video-driver = Video driver: { $driver }
|
||||
preferences-video-driver-opengl-mac = OpenGL (recommended on Macs)
|
||||
preferences-video-driver-software-mac = Software (not recommended)
|
||||
preferences-video-driver-opengl-other = OpenGL (faster, may cause issues)
|
||||
preferences-video-driver-software-other = Software (slower)
|
||||
preferences-video-driver-angle = ANGLE (may work better than OpenGL)
|
||||
|
32
ftl/sync.py
32
ftl/sync.py
@ -9,6 +9,8 @@ import re
|
||||
import os
|
||||
import sys
|
||||
from typing import Optional, Tuple
|
||||
import requests
|
||||
from hashlib import sha256
|
||||
|
||||
root = os.environ["BUILD_WORKSPACE_DIRECTORY"]
|
||||
repos_bzl = os.path.join(root, "repos.bzl")
|
||||
@ -64,18 +66,32 @@ def update_git_repos():
|
||||
@dataclass
|
||||
class GitInfo:
|
||||
sha1: str
|
||||
shallow_since: str
|
||||
zip_sha256: str
|
||||
|
||||
|
||||
def git_url_to_zip_url(repo: str, commit: str) -> str:
|
||||
repo = repo.replace("git@github.com:", "https://github.com/")
|
||||
return f"{repo}/archive/{commit}.zip"
|
||||
|
||||
|
||||
def get_zip_sha(zip_url: str) -> str:
|
||||
resp = requests.get(zip_url)
|
||||
resp.raise_for_status()
|
||||
return sha256(resp.content).hexdigest()
|
||||
|
||||
|
||||
def module_git_info(module: Module) -> GitInfo:
|
||||
folder = module.folder()
|
||||
sha = subprocess.check_output(
|
||||
sha1 = subprocess.check_output(
|
||||
["git", "log", "-n", "1", "--pretty=format:%H"], cwd=folder
|
||||
).decode("utf8")
|
||||
zip_url = git_url_to_zip_url(module.repo, sha1)
|
||||
zip_sha = get_zip_sha(zip_url)
|
||||
|
||||
return GitInfo(
|
||||
sha1=sha1,
|
||||
zip_sha256=zip_sha,
|
||||
)
|
||||
shallow = subprocess.check_output(
|
||||
["git", "log", "-n", "1", "--pretty=format:%cd", "--date=raw"], cwd=folder
|
||||
)
|
||||
return GitInfo(sha1=sha.decode("utf8"), shallow_since=shallow.decode("utf8"))
|
||||
|
||||
|
||||
def update_repos_bzl():
|
||||
@ -85,12 +101,12 @@ def update_repos_bzl():
|
||||
git = module_git_info(module)
|
||||
prefix = f"{module.name}_i18n_"
|
||||
entries[prefix + "commit"] = git.sha1
|
||||
entries[prefix + "shallow_since"] = git.shallow_since
|
||||
entries[prefix + "zip_csum"] = git.zip_sha256
|
||||
|
||||
# apply
|
||||
out = []
|
||||
path = repos_bzl
|
||||
reg = re.compile(r'(\s+)(\S+_(?:commit|shallow_since)) = "(.*)"')
|
||||
reg = re.compile(r'(\s+)(\S+_(?:commit|zip_csum)) = "(.*)"')
|
||||
for line in open(path).readlines():
|
||||
if m := reg.match(line):
|
||||
(indent, key, _oldvalue) = m.groups()
|
||||
|
@ -9,6 +9,7 @@ import os
|
||||
import shutil
|
||||
import sys
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
from pip._internal.commands import create_command
|
||||
from pip._vendor import pkg_resources
|
||||
@ -76,12 +77,15 @@ def install_package(pkg, directory, pip_args):
|
||||
|
||||
return pkginfo.Wheel(dist_info)
|
||||
|
||||
|
||||
def _cleanup(directory, pattern):
|
||||
for p in glob.glob(os.path.join(directory, pattern)):
|
||||
shutil.rmtree(p)
|
||||
|
||||
|
||||
fix_none = re.compile(r"(\s*None) =")
|
||||
|
||||
|
||||
def copy_and_fix_pyi(source, dest):
|
||||
"Fix broken PyQt types."
|
||||
with open(source) as input_file:
|
||||
@ -90,6 +94,7 @@ def copy_and_fix_pyi(source, dest):
|
||||
line = fix_none.sub(r"\1_ =", line)
|
||||
output_file.write(line)
|
||||
|
||||
|
||||
def merge_files(root, source):
|
||||
for dirpath, _dirnames, filenames in os.walk(source):
|
||||
target_dir = os.path.join(root, os.path.relpath(dirpath, source))
|
||||
@ -104,22 +109,40 @@ def merge_files(root, source):
|
||||
else:
|
||||
shutil.copy2(source_path, target_path)
|
||||
|
||||
|
||||
def main():
|
||||
base = sys.argv[1]
|
||||
|
||||
packages = [
|
||||
("pyqt5", "pyqt5==5.15.2"),
|
||||
("pyqtwebengine", "pyqtwebengine==5.15.2"),
|
||||
("pyqt5-sip", "pyqt5_sip==12.8.1"),
|
||||
]
|
||||
local_site_packages = os.environ.get("PYTHON_SITE_PACKAGES")
|
||||
if local_site_packages:
|
||||
subprocess.run(
|
||||
[
|
||||
"rsync",
|
||||
"-ai",
|
||||
"--include=PyQt**",
|
||||
"--exclude=*",
|
||||
local_site_packages,
|
||||
base + "/",
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
with open(os.path.join(base, "__init__.py"), "w") as file:
|
||||
pass
|
||||
|
||||
for (name, with_version) in packages:
|
||||
# install package in subfolder
|
||||
folder = os.path.join(base, "temp")
|
||||
_pkg = install_package(with_version, folder, [])
|
||||
# merge into parent
|
||||
merge_files(base, folder)
|
||||
shutil.rmtree(folder)
|
||||
else:
|
||||
packages = [
|
||||
("pyqt5", "pyqt5==5.15.2"),
|
||||
("pyqtwebengine", "pyqtwebengine==5.15.2"),
|
||||
("pyqt5-sip", "pyqt5_sip==12.8.1"),
|
||||
]
|
||||
|
||||
for (name, with_version) in packages:
|
||||
# install package in subfolder
|
||||
folder = os.path.join(base, "temp")
|
||||
_pkg = install_package(with_version, folder, [])
|
||||
# merge into parent
|
||||
merge_files(base, folder)
|
||||
shutil.rmtree(folder)
|
||||
|
||||
# add missing py.typed file
|
||||
with open(os.path.join(base, "py.typed"), "w") as file:
|
||||
|
@ -1,5 +1,6 @@
|
||||
beautifulsoup4
|
||||
black
|
||||
compare-locales
|
||||
decorator
|
||||
distro
|
||||
flask
|
||||
@ -19,12 +20,15 @@ requests[socks]
|
||||
send2trash
|
||||
snakeviz
|
||||
stringcase
|
||||
waitress
|
||||
fluent-syntax
|
||||
waitress>=2.0.0b1
|
||||
fluent.syntax
|
||||
|
||||
# windows only
|
||||
psutil; sys.platform == "win32"
|
||||
pywin32; sys.platform == "win32"
|
||||
# pinned due to https://github.com/microsoft/xlang/issues/717
|
||||
winrt==1.0.20239.1; sys.platform == "win32" and platform_release == "10" and python_version == "3.8"
|
||||
winrt; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
|
||||
# transitive windows dependencies
|
||||
atomicwrites; sys.platform == "win32" # via pytest
|
||||
|
@ -1,64 +1,163 @@
|
||||
# See README.md
|
||||
|
||||
appdirs==1.4.4 # via black
|
||||
astroid==2.4.2 # via pylint
|
||||
atomicwrites==1.4.0 ; sys_platform == "win32" # via -r requirements.in, pytest
|
||||
attrs==20.3.0 # via jsonschema, pytest
|
||||
beautifulsoup4==4.9.3 # via -r requirements.in
|
||||
black==20.8b1 # via -r requirements.in
|
||||
certifi==2020.12.5 # via requests
|
||||
chardet==4.0.0 # via requests
|
||||
click==7.1.2 # via black, flask, pip-tools
|
||||
colorama==0.4.4 ; sys_platform == "win32" # via -r requirements.in, pylint, pytest
|
||||
decorator==4.4.2 # via -r requirements.in
|
||||
distro==1.5.0 # via -r requirements.in
|
||||
flask-cors==3.0.9 # via -r requirements.in
|
||||
flask==1.1.2 # via -r requirements.in, flask-cors
|
||||
fluent-syntax==0.18.1 # via -r requirements.in
|
||||
idna==2.10 # via requests
|
||||
iniconfig==1.1.1 # via pytest
|
||||
isort==5.6.4 # via -r requirements.in, pylint
|
||||
itsdangerous==1.1.0 # via flask
|
||||
jinja2==2.11.2 # via flask
|
||||
jsonschema==3.2.0 # via -r requirements.in
|
||||
lazy-object-proxy==1.4.3 # via astroid
|
||||
markdown==3.3.3 # via -r requirements.in
|
||||
markupsafe==1.1.1 # via jinja2
|
||||
mccabe==0.6.1 # via pylint
|
||||
mock==4.0.3 # via -r requirements.in
|
||||
mypy-extensions==0.4.3 # via black, mypy
|
||||
mypy-protobuf==1.23 # via -r requirements.in
|
||||
mypy==0.790 # via -r requirements.in
|
||||
orjson==3.4.6 # via -r requirements.in
|
||||
packaging==20.8 # via pytest
|
||||
pathspec==0.8.1 # via black
|
||||
pip-tools==5.4.0 # via -r requirements.in
|
||||
pluggy==0.13.1 # via pytest
|
||||
protobuf==3.14.0 # via -r requirements.in, mypy-protobuf
|
||||
psutil==5.7.3 ; sys_platform == "win32" # via -r requirements.in
|
||||
py==1.10.0 # via pytest
|
||||
pylint==2.6.0 # via -r requirements.in
|
||||
pyparsing==2.4.7 # via packaging
|
||||
pyrsistent==0.17.3 # via jsonschema
|
||||
pysocks==1.7.1 # via requests
|
||||
pytest==6.2.1 # via -r requirements.in
|
||||
pywin32==300 ; sys_platform == "win32" # via -r requirements.in
|
||||
regex==2020.11.13 # via black
|
||||
requests[socks]==2.25.1 # via -r requirements.in
|
||||
send2trash==1.5.0 # via -r requirements.in
|
||||
six==1.15.0 # via astroid, flask-cors, jsonschema, pip-tools, protobuf
|
||||
snakeviz==2.1.0 # via -r requirements.in
|
||||
soupsieve==2.1 # via beautifulsoup4
|
||||
stringcase==1.2.0 # via -r requirements.in
|
||||
toml==0.10.2 # via black, pylint, pytest
|
||||
tornado==6.1 # via snakeviz
|
||||
typed-ast==1.4.1 # via black, mypy
|
||||
typing-extensions==3.7.4.3 # via black, mypy
|
||||
urllib3==1.26.2 # via requests
|
||||
waitress==1.4.4 # via -r requirements.in
|
||||
werkzeug==1.0.1 # via flask
|
||||
wrapt==1.12.1 # via astroid
|
||||
appdirs==1.4.4
|
||||
# via black
|
||||
astroid==2.4.2
|
||||
# via pylint
|
||||
atomicwrites==1.4.0 ; sys_platform == "win32"
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pytest
|
||||
attrs==20.3.0
|
||||
# via
|
||||
# jsonschema
|
||||
# pytest
|
||||
beautifulsoup4==4.9.3
|
||||
# via -r requirements.in
|
||||
black==20.8b1
|
||||
# via -r requirements.in
|
||||
certifi==2020.12.5
|
||||
# via requests
|
||||
chardet==4.0.0
|
||||
# via requests
|
||||
click==7.1.2
|
||||
# via
|
||||
# black
|
||||
# flask
|
||||
# pip-tools
|
||||
colorama==0.4.4 ; sys_platform == "win32"
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pylint
|
||||
# pytest
|
||||
compare-locales==8.1.0
|
||||
# via -r requirements.in
|
||||
decorator==4.4.2
|
||||
# via -r requirements.in
|
||||
distro==1.5.0
|
||||
# via -r requirements.in
|
||||
flask-cors==3.0.9
|
||||
# via -r requirements.in
|
||||
flask==1.1.2
|
||||
# via
|
||||
# -r requirements.in
|
||||
# flask-cors
|
||||
fluent.syntax==0.18.1
|
||||
# via
|
||||
# -r requirements.in
|
||||
# compare-locales
|
||||
idna==2.10
|
||||
# via requests
|
||||
iniconfig==1.1.1
|
||||
# via pytest
|
||||
isort==5.7.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pylint
|
||||
itsdangerous==1.1.0
|
||||
# via flask
|
||||
jinja2==2.11.2
|
||||
# via flask
|
||||
jsonschema==3.2.0
|
||||
# via -r requirements.in
|
||||
lazy-object-proxy==1.4.3
|
||||
# via astroid
|
||||
markdown==3.3.3
|
||||
# via -r requirements.in
|
||||
markupsafe==1.1.1
|
||||
# via jinja2
|
||||
mccabe==0.6.1
|
||||
# via pylint
|
||||
mock==4.0.3
|
||||
# via -r requirements.in
|
||||
mypy-extensions==0.4.3
|
||||
# via
|
||||
# black
|
||||
# mypy
|
||||
mypy-protobuf==1.23
|
||||
# via -r requirements.in
|
||||
mypy==0.790
|
||||
# via -r requirements.in
|
||||
orjson==3.4.6
|
||||
# via -r requirements.in
|
||||
packaging==20.8
|
||||
# via pytest
|
||||
pathspec==0.8.1
|
||||
# via black
|
||||
pip-tools==5.5.0
|
||||
# via -r requirements.in
|
||||
pluggy==0.13.1
|
||||
# via pytest
|
||||
protobuf==3.14.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# mypy-protobuf
|
||||
psutil==5.8.0 ; sys_platform == "win32"
|
||||
# via -r requirements.in
|
||||
py==1.10.0
|
||||
# via pytest
|
||||
pylint==2.6.0
|
||||
# via -r requirements.in
|
||||
pyparsing==2.4.7
|
||||
# via packaging
|
||||
pyrsistent==0.17.3
|
||||
# via jsonschema
|
||||
pysocks==1.7.1
|
||||
# via requests
|
||||
pytest==6.2.1
|
||||
# via -r requirements.in
|
||||
pytoml==0.1.21
|
||||
# via compare-locales
|
||||
pywin32==300 ; sys_platform == "win32"
|
||||
# via -r requirements.in
|
||||
regex==2020.11.13
|
||||
# via black
|
||||
requests[socks]==2.25.1
|
||||
# via -r requirements.in
|
||||
send2trash==1.5.0
|
||||
# via -r requirements.in
|
||||
six==1.15.0
|
||||
# via
|
||||
# astroid
|
||||
# compare-locales
|
||||
# flask-cors
|
||||
# jsonschema
|
||||
# protobuf
|
||||
snakeviz==2.1.0
|
||||
# via -r requirements.in
|
||||
soupsieve==2.1
|
||||
# via beautifulsoup4
|
||||
stringcase==1.2.0
|
||||
# via -r requirements.in
|
||||
toml==0.10.2
|
||||
# via
|
||||
# black
|
||||
# pylint
|
||||
# pytest
|
||||
tornado==6.1
|
||||
# via snakeviz
|
||||
typed-ast==1.4.2
|
||||
# via
|
||||
# black
|
||||
# mypy
|
||||
typing-extensions==3.7.4.3
|
||||
# via
|
||||
# black
|
||||
# mypy
|
||||
urllib3==1.26.2
|
||||
# via requests
|
||||
waitress==2.0.0b1
|
||||
# via -r requirements.in
|
||||
werkzeug==1.0.1
|
||||
# via flask
|
||||
winrt==1.0.20239.1 ; sys_platform == "win32" and platform_release == "10" and python_version == "3.8"
|
||||
# via -r requirements.in
|
||||
wrapt==1.12.1
|
||||
# via astroid
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==20.3.3 # via pip-tools
|
||||
setuptools==51.0.0 # via jsonschema
|
||||
pip==20.3.3
|
||||
# via pip-tools
|
||||
setuptools==51.1.1
|
||||
# via jsonschema
|
||||
|
||||
# manually added for now; ensure it and the earlier winrt are not removed on update
|
||||
winrt==1.0.20330.1; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
|
@ -3,15 +3,31 @@ import os
|
||||
import click
|
||||
from piptools.scripts import compile
|
||||
|
||||
|
||||
@click.group()
|
||||
def cli():
|
||||
pass
|
||||
|
||||
|
||||
cli.add_command(compile.cli, "compile")
|
||||
|
||||
print("Updating deps...")
|
||||
os.chdir("pip")
|
||||
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade"]
|
||||
sys.argv[1:] = ["compile", "--allow-unsafe", "--upgrade", "--no-header"]
|
||||
|
||||
|
||||
def after_run():
|
||||
with open("requirements.txt", "a+") as file:
|
||||
file.write(
|
||||
"""
|
||||
# manually added for now; ensure it and the earlier winrt are not removed on update
|
||||
winrt==1.0.20330.1; sys.platform == "win32" and platform_release == "10" and python_version >= "3.9"
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
import atexit
|
||||
|
||||
atexit.register(after_run)
|
||||
|
||||
cli()
|
||||
|
||||
|
@ -23,3 +23,11 @@ config_setting(
|
||||
"@platforms//cpu:x86_64",
|
||||
],
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "linux_arm64",
|
||||
constraint_values = [
|
||||
"@platforms//os:linux",
|
||||
"@platforms//cpu:aarch64",
|
||||
],
|
||||
)
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user