mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00
add id_tree dependency
This commit is contained in:
parent
101cfb96a5
commit
11f5bdf5c7
13 changed files with 224 additions and 0 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
@ -63,6 +63,7 @@ dependencies = [
|
||||||
"futures",
|
"futures",
|
||||||
"hex",
|
"hex",
|
||||||
"htmlescape",
|
"htmlescape",
|
||||||
|
"id_tree",
|
||||||
"intl-memoizer",
|
"intl-memoizer",
|
||||||
"itertools",
|
"itertools",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
|
@ -1062,6 +1063,15 @@ dependencies = [
|
||||||
"tokio-native-tls",
|
"tokio-native-tls",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "id_tree"
|
||||||
|
version = "1.8.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "bcd9db8dd5be8bde5a2624ed4b2dfb74368fe7999eb9c4940fd3ca344b61071a"
|
||||||
|
dependencies = [
|
||||||
|
"snowflake",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idna"
|
name = "idna"
|
||||||
version = "0.2.3"
|
version = "0.2.3"
|
||||||
|
@ -2541,6 +2551,12 @@ version = "1.8.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
|
checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "snowflake"
|
||||||
|
version = "1.3.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "27207bb65232eda1f588cf46db2fee75c0808d557f6b3cf19a75f5d6d7c94df1"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "socket2"
|
name = "socket2"
|
||||||
version = "0.4.2"
|
version = "0.4.2"
|
||||||
|
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
|
@ -911,6 +911,16 @@ def raze_fetch_remote_crates():
|
||||||
build_file = Label("//cargo/remote:BUILD.hyper-tls-0.5.0.bazel"),
|
build_file = Label("//cargo/remote:BUILD.hyper-tls-0.5.0.bazel"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
maybe(
|
||||||
|
http_archive,
|
||||||
|
name = "raze__id_tree__1_8_0",
|
||||||
|
url = "https://crates.io/api/v1/crates/id_tree/1.8.0/download",
|
||||||
|
type = "tar.gz",
|
||||||
|
sha256 = "bcd9db8dd5be8bde5a2624ed4b2dfb74368fe7999eb9c4940fd3ca344b61071a",
|
||||||
|
strip_prefix = "id_tree-1.8.0",
|
||||||
|
build_file = Label("//cargo/remote:BUILD.id_tree-1.8.0.bazel"),
|
||||||
|
)
|
||||||
|
|
||||||
maybe(
|
maybe(
|
||||||
http_archive,
|
http_archive,
|
||||||
name = "raze__idna__0_2_3",
|
name = "raze__idna__0_2_3",
|
||||||
|
@ -2291,6 +2301,16 @@ def raze_fetch_remote_crates():
|
||||||
build_file = Label("//cargo/remote:BUILD.smallvec-1.8.0.bazel"),
|
build_file = Label("//cargo/remote:BUILD.smallvec-1.8.0.bazel"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
maybe(
|
||||||
|
http_archive,
|
||||||
|
name = "raze__snowflake__1_3_0",
|
||||||
|
url = "https://crates.io/api/v1/crates/snowflake/1.3.0/download",
|
||||||
|
type = "tar.gz",
|
||||||
|
sha256 = "27207bb65232eda1f588cf46db2fee75c0808d557f6b3cf19a75f5d6d7c94df1",
|
||||||
|
strip_prefix = "snowflake-1.3.0",
|
||||||
|
build_file = Label("//cargo/remote:BUILD.snowflake-1.3.0.bazel"),
|
||||||
|
)
|
||||||
|
|
||||||
maybe(
|
maybe(
|
||||||
http_archive,
|
http_archive,
|
||||||
name = "raze__socket2__0_4_2",
|
name = "raze__socket2__0_4_2",
|
||||||
|
|
|
@ -737,6 +737,15 @@
|
||||||
"license_file": null,
|
"license_file": null,
|
||||||
"description": "Default TLS implementation for use with hyper"
|
"description": "Default TLS implementation for use with hyper"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "id_tree",
|
||||||
|
"version": "1.8.0",
|
||||||
|
"authors": "Ian Burns <iwburns8@gmail.com>",
|
||||||
|
"repository": "https://github.com/iwburns/id-tree",
|
||||||
|
"license": "MIT",
|
||||||
|
"license_file": null,
|
||||||
|
"description": "A library for creating and modifying Tree structures."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "idna",
|
"name": "idna",
|
||||||
"version": "0.2.3",
|
"version": "0.2.3",
|
||||||
|
@ -1835,6 +1844,15 @@
|
||||||
"license_file": null,
|
"license_file": null,
|
||||||
"description": "'Small vector' optimization: store up to a small number of items on the stack"
|
"description": "'Small vector' optimization: store up to a small number of items on the stack"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "snowflake",
|
||||||
|
"version": "1.3.0",
|
||||||
|
"authors": "Steven Allen <steven@stebalien.com>",
|
||||||
|
"repository": "https://github.com/Stebalien/snowflake",
|
||||||
|
"license": "Apache-2.0 OR MIT",
|
||||||
|
"license_file": null,
|
||||||
|
"description": "A module for generating guaranteed process unique IDs."
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "socket2",
|
"name": "socket2",
|
||||||
"version": "0.4.2",
|
"version": "0.4.2",
|
||||||
|
|
59
cargo/remote/BUILD.id_tree-1.8.0.bazel
vendored
Normal file
59
cargo/remote/BUILD.id_tree-1.8.0.bazel
vendored
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
"""
|
||||||
|
@generated
|
||||||
|
cargo-raze crate build file.
|
||||||
|
|
||||||
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||||
|
"""
|
||||||
|
|
||||||
|
# buildifier: disable=load
|
||||||
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||||
|
|
||||||
|
# buildifier: disable=load
|
||||||
|
load(
|
||||||
|
"@rules_rust//rust:defs.bzl",
|
||||||
|
"rust_binary",
|
||||||
|
"rust_library",
|
||||||
|
"rust_proc_macro",
|
||||||
|
"rust_test",
|
||||||
|
)
|
||||||
|
|
||||||
|
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 "basic" with type "example" omitted
|
||||||
|
|
||||||
|
rust_library(
|
||||||
|
name = "id_tree",
|
||||||
|
srcs = glob(["**/*.rs"]),
|
||||||
|
crate_features = [
|
||||||
|
],
|
||||||
|
crate_root = "src/lib.rs",
|
||||||
|
data = [],
|
||||||
|
edition = "2015",
|
||||||
|
rustc_flags = [
|
||||||
|
"--cap-lints=allow",
|
||||||
|
],
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"crate-name=id_tree",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
version = "1.8.0",
|
||||||
|
# buildifier: leave-alone
|
||||||
|
deps = [
|
||||||
|
"@raze__snowflake__1_3_0//:snowflake",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
# Unsupported target "error_tests" with type "test" omitted
|
55
cargo/remote/BUILD.snowflake-1.3.0.bazel
vendored
Normal file
55
cargo/remote/BUILD.snowflake-1.3.0.bazel
vendored
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
"""
|
||||||
|
@generated
|
||||||
|
cargo-raze crate build file.
|
||||||
|
|
||||||
|
DO NOT EDIT! Replaced on runs of cargo-raze
|
||||||
|
"""
|
||||||
|
|
||||||
|
# buildifier: disable=load
|
||||||
|
load("@bazel_skylib//lib:selects.bzl", "selects")
|
||||||
|
|
||||||
|
# buildifier: disable=load
|
||||||
|
load(
|
||||||
|
"@rules_rust//rust:defs.bzl",
|
||||||
|
"rust_binary",
|
||||||
|
"rust_library",
|
||||||
|
"rust_proc_macro",
|
||||||
|
"rust_test",
|
||||||
|
)
|
||||||
|
|
||||||
|
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 OR Apache-2.0"
|
||||||
|
])
|
||||||
|
|
||||||
|
# Generated Targets
|
||||||
|
|
||||||
|
rust_library(
|
||||||
|
name = "snowflake",
|
||||||
|
srcs = glob(["**/*.rs"]),
|
||||||
|
crate_features = [
|
||||||
|
"default",
|
||||||
|
],
|
||||||
|
crate_root = "src/lib.rs",
|
||||||
|
data = [],
|
||||||
|
edition = "2015",
|
||||||
|
rustc_flags = [
|
||||||
|
"--cap-lints=allow",
|
||||||
|
],
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"crate-name=snowflake",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
version = "1.3.0",
|
||||||
|
# buildifier: leave-alone
|
||||||
|
deps = [
|
||||||
|
],
|
||||||
|
)
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
|
@ -82,6 +82,7 @@ rust_library(
|
||||||
"//rslib/cargo:futures",
|
"//rslib/cargo:futures",
|
||||||
"//rslib/cargo:hex",
|
"//rslib/cargo:hex",
|
||||||
"//rslib/cargo:htmlescape",
|
"//rslib/cargo:htmlescape",
|
||||||
|
"//rslib/cargo:id_tree",
|
||||||
"//rslib/cargo:intl_memoizer",
|
"//rslib/cargo:intl_memoizer",
|
||||||
"//rslib/cargo:itertools",
|
"//rslib/cargo:itertools",
|
||||||
"//rslib/cargo:lazy_static",
|
"//rslib/cargo:lazy_static",
|
||||||
|
|
|
@ -96,3 +96,4 @@ strum = { version = "0.23.0", features = ["derive"] }
|
||||||
tokio-util = { version = "0.6.8", features = ["io"] }
|
tokio-util = { version = "0.6.8", features = ["io"] }
|
||||||
pct-str = { git="https://github.com/timothee-haudebourg/pct-str.git", rev="4adccd8d4a222ab2672350a102f06ae832a0572d" }
|
pct-str = { git="https://github.com/timothee-haudebourg/pct-str.git", rev="4adccd8d4a222ab2672350a102f06ae832a0572d" }
|
||||||
unic-ucd-category = "0.9.0"
|
unic-ucd-category = "0.9.0"
|
||||||
|
id_tree = "1.8.0"
|
||||||
|
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
|
@ -147,6 +147,15 @@ alias(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
alias(
|
||||||
|
name = "id_tree",
|
||||||
|
actual = "@raze__id_tree__1_8_0//:id_tree",
|
||||||
|
tags = [
|
||||||
|
"cargo-raze",
|
||||||
|
"manual",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
alias(
|
alias(
|
||||||
name = "inflections",
|
name = "inflections",
|
||||||
actual = "@raze__inflections__1_1_1//:inflections",
|
actual = "@raze__inflections__1_1_1//:inflections",
|
||||||
|
|
Loading…
Reference in a new issue