Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.gitignore +12 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/COPYING +3 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.lock +39 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.toml +80 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.toml.orig +74 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/DESIGN.md +481 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/LICENSE-MIT +21 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/README.md +174 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/UNLICENSE +24 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/rustfmt.toml +2 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.gitignore +14 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/Cargo.lock +1515 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/Cargo.toml +85 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/Cargo.toml.orig +60 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/LICENSE-APACHE +201 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/LICENSE-MIT +21 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/README.md +154 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/RELEASE-NOTES.md +271 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/clippy.toml +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/icon_CLion.svg +34 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.gitignore +2 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/CHANGELOG.md +449 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.lock +444 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.toml +137 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.toml.orig +45 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/LICENSE +25 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/README.md +73 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/SECURITY.md +9 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/clippy.toml +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.gitignore +4 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/CHANGELOG.md +745 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.lock +156 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.toml +79 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.toml.orig +59 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/LICENSE-APACHE +201 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/LICENSE-MIT +25 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/README.md +29 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/clippy.toml +5 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/CITATION.cff +33 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/Cargo.lock +845 -0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "17f8b32e3b7c845ef3c5429b823804f552f14ec9"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/.gitignore
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.*.swp
|
| 2 |
+
doc
|
| 3 |
+
tags
|
| 4 |
+
examples/ss10pusa.csv
|
| 5 |
+
build
|
| 6 |
+
target
|
| 7 |
+
/Cargo.lock
|
| 8 |
+
scratch*
|
| 9 |
+
bench_large/huge
|
| 10 |
+
BREADCRUMBS
|
| 11 |
+
/tmp
|
| 12 |
+
/aho-corasick-debug/Cargo.lock
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/COPYING
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This project is dual-licensed under the Unlicense and MIT licenses.
|
| 2 |
+
|
| 3 |
+
You may use this code under the terms of either license.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.lock
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 3
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "aho-corasick"
|
| 7 |
+
version = "1.1.4"
|
| 8 |
+
dependencies = [
|
| 9 |
+
"doc-comment",
|
| 10 |
+
"log",
|
| 11 |
+
"memchr",
|
| 12 |
+
]
|
| 13 |
+
|
| 14 |
+
[[package]]
|
| 15 |
+
name = "cfg-if"
|
| 16 |
+
version = "1.0.0"
|
| 17 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 18 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 19 |
+
|
| 20 |
+
[[package]]
|
| 21 |
+
name = "doc-comment"
|
| 22 |
+
version = "0.3.3"
|
| 23 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 24 |
+
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
| 25 |
+
|
| 26 |
+
[[package]]
|
| 27 |
+
name = "log"
|
| 28 |
+
version = "0.4.17"
|
| 29 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 30 |
+
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
| 31 |
+
dependencies = [
|
| 32 |
+
"cfg-if",
|
| 33 |
+
]
|
| 34 |
+
|
| 35 |
+
[[package]]
|
| 36 |
+
name = "memchr"
|
| 37 |
+
version = "2.5.0"
|
| 38 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 39 |
+
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.toml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
| 2 |
+
#
|
| 3 |
+
# When uploading crates to the registry Cargo will automatically
|
| 4 |
+
# "normalize" Cargo.toml files for maximal compatibility
|
| 5 |
+
# with all versions of Cargo and also rewrite `path` dependencies
|
| 6 |
+
# to registry (e.g., crates.io) dependencies.
|
| 7 |
+
#
|
| 8 |
+
# If you are reading this file be aware that the original Cargo.toml
|
| 9 |
+
# will likely look very different (and much more reasonable).
|
| 10 |
+
# See Cargo.toml.orig for the original contents.
|
| 11 |
+
|
| 12 |
+
[package]
|
| 13 |
+
edition = "2021"
|
| 14 |
+
rust-version = "1.60.0"
|
| 15 |
+
name = "aho-corasick"
|
| 16 |
+
version = "1.1.4"
|
| 17 |
+
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
| 18 |
+
build = false
|
| 19 |
+
exclude = [
|
| 20 |
+
"/aho-corasick-debug",
|
| 21 |
+
"/benchmarks",
|
| 22 |
+
"/tmp",
|
| 23 |
+
]
|
| 24 |
+
autolib = false
|
| 25 |
+
autobins = false
|
| 26 |
+
autoexamples = false
|
| 27 |
+
autotests = false
|
| 28 |
+
autobenches = false
|
| 29 |
+
description = "Fast multiple substring searching."
|
| 30 |
+
homepage = "https://github.com/BurntSushi/aho-corasick"
|
| 31 |
+
readme = "README.md"
|
| 32 |
+
keywords = [
|
| 33 |
+
"string",
|
| 34 |
+
"search",
|
| 35 |
+
"text",
|
| 36 |
+
"pattern",
|
| 37 |
+
"multi",
|
| 38 |
+
]
|
| 39 |
+
categories = ["text-processing"]
|
| 40 |
+
license = "Unlicense OR MIT"
|
| 41 |
+
repository = "https://github.com/BurntSushi/aho-corasick"
|
| 42 |
+
|
| 43 |
+
[package.metadata.docs.rs]
|
| 44 |
+
all-features = true
|
| 45 |
+
rustdoc-args = [
|
| 46 |
+
"--cfg",
|
| 47 |
+
"docsrs",
|
| 48 |
+
"--generate-link-to-definition",
|
| 49 |
+
]
|
| 50 |
+
|
| 51 |
+
[features]
|
| 52 |
+
default = [
|
| 53 |
+
"std",
|
| 54 |
+
"perf-literal",
|
| 55 |
+
]
|
| 56 |
+
logging = ["dep:log"]
|
| 57 |
+
perf-literal = ["dep:memchr"]
|
| 58 |
+
std = ["memchr?/std"]
|
| 59 |
+
|
| 60 |
+
[lib]
|
| 61 |
+
name = "aho_corasick"
|
| 62 |
+
path = "src/lib.rs"
|
| 63 |
+
|
| 64 |
+
[dependencies.log]
|
| 65 |
+
version = "0.4.17"
|
| 66 |
+
optional = true
|
| 67 |
+
|
| 68 |
+
[dependencies.memchr]
|
| 69 |
+
version = "2.4.0"
|
| 70 |
+
optional = true
|
| 71 |
+
default-features = false
|
| 72 |
+
|
| 73 |
+
[dev-dependencies.doc-comment]
|
| 74 |
+
version = "0.3.3"
|
| 75 |
+
|
| 76 |
+
[profile.bench]
|
| 77 |
+
debug = 2
|
| 78 |
+
|
| 79 |
+
[profile.release]
|
| 80 |
+
debug = 2
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "aho-corasick"
|
| 3 |
+
version = "1.1.4" #:version
|
| 4 |
+
authors = ["Andrew Gallant <jamslam@gmail.com>"]
|
| 5 |
+
description = "Fast multiple substring searching."
|
| 6 |
+
homepage = "https://github.com/BurntSushi/aho-corasick"
|
| 7 |
+
repository = "https://github.com/BurntSushi/aho-corasick"
|
| 8 |
+
readme = "README.md"
|
| 9 |
+
keywords = ["string", "search", "text", "pattern", "multi"]
|
| 10 |
+
license = "Unlicense OR MIT"
|
| 11 |
+
categories = ["text-processing"]
|
| 12 |
+
autotests = false
|
| 13 |
+
exclude = ["/aho-corasick-debug", "/benchmarks", "/tmp"]
|
| 14 |
+
edition = "2021"
|
| 15 |
+
rust-version = "1.60.0"
|
| 16 |
+
|
| 17 |
+
[lib]
|
| 18 |
+
name = "aho_corasick"
|
| 19 |
+
|
| 20 |
+
[features]
|
| 21 |
+
default = ["std", "perf-literal"]
|
| 22 |
+
std = ["memchr?/std"]
|
| 23 |
+
|
| 24 |
+
# Enables prefilter optimizations that depend on external crates.
|
| 25 |
+
perf-literal = ["dep:memchr"]
|
| 26 |
+
|
| 27 |
+
# Enable logging via the 'log' crate. This is useful for seeing messages about
|
| 28 |
+
# internal decisions and metrics. For example, how the choice of the internal
|
| 29 |
+
# Aho-Corasick implementation is used or the heap usage of an automaton.
|
| 30 |
+
logging = ["dep:log"]
|
| 31 |
+
|
| 32 |
+
# Provides a trait impl for fst::Automaton for nfa::noncontiguous::NFA,
|
| 33 |
+
# nfa::contiguous::NFA and dfa::DFA. This is useful for searching an
|
| 34 |
+
# FST with an Aho-Corasick automaton. Note that this does not apply
|
| 35 |
+
# to the top-level 'AhoCorasick' type, as it does not implement the
|
| 36 |
+
# aho_corasick::automaton::Automaton trait, and thus enabling this feature does
|
| 37 |
+
# not cause it to implement fst::Automaton either.
|
| 38 |
+
#
|
| 39 |
+
# NOTE: Currently this feature is not available as `fst` is not at 1.0 yet,
|
| 40 |
+
# and this would make `fst` a public dependency. If you absolutely need this,
|
| 41 |
+
# you can copy the (very small) src/transducer.rs file to your tree. It
|
| 42 |
+
# specifically does not use any private APIs and should work after replacing
|
| 43 |
+
# 'crate::' with 'aho_corasick::'.
|
| 44 |
+
#
|
| 45 |
+
# NOTE: I think my current plan is to flip this around an add an optional
|
| 46 |
+
# dependency on 'aho-corasick' to the 'fst' crate and move the trait impls
|
| 47 |
+
# there. But I haven't gotten around to it yet.
|
| 48 |
+
# transducer = ["fst"]
|
| 49 |
+
|
| 50 |
+
[dependencies]
|
| 51 |
+
log = { version = "0.4.17", optional = true }
|
| 52 |
+
memchr = { version = "2.4.0", default-features = false, optional = true }
|
| 53 |
+
|
| 54 |
+
[dev-dependencies]
|
| 55 |
+
doc-comment = "0.3.3"
|
| 56 |
+
# fst = "0.4.5"
|
| 57 |
+
|
| 58 |
+
[package.metadata.docs.rs]
|
| 59 |
+
# We want to document all features.
|
| 60 |
+
all-features = true
|
| 61 |
+
# This opts into a nightly unstable option to show the features that need to be
|
| 62 |
+
# enabled for public API items. To do that, we set 'docsrs', and when that's
|
| 63 |
+
# enabled, we enable the 'doc_cfg' feature.
|
| 64 |
+
#
|
| 65 |
+
# To test this locally, run:
|
| 66 |
+
#
|
| 67 |
+
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
|
| 68 |
+
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-defin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internal design of this crate, which is an object
|
| 2 |
+
lesson in what happens when you take a fairly simple old algorithm like
|
| 3 |
+
Aho-Corasick and make it fast and production ready.
|
| 4 |
+
|
| 5 |
+
The target audience of this document is Rust programmers that have some
|
| 6 |
+
familiarity with string searching, however, one does not need to know the
|
| 7 |
+
Aho-Corasick algorithm in order to read this (it is explained below). One
|
| 8 |
+
should, however, know what a trie is. (If you don't, go read its Wikipedia
|
| 9 |
+
article.)
|
| 10 |
+
|
| 11 |
+
The center-piece of this crate is an implementation of Aho-Corasick. On its
|
| 12 |
+
own, Aho-Corasick isn't that complicated. The complex pieces come from the
|
| 13 |
+
different variants of Aho-Corasick implemented in this crate. Specifically,
|
| 14 |
+
they are:
|
| 15 |
+
|
| 16 |
+
* Aho-Corasick as a noncontiguous NFA. States have their transitions
|
| 17 |
+
represented sparsely, and each state puts its transitions in its own separate
|
| 18 |
+
allocation. Hence the same "noncontiguous."
|
| 19 |
+
* Aho-Corasick as a contiguous NFA. This NFA uses a single allocation to
|
| 20 |
+
represent the transitions of all states. That is, transitions are laid out
|
| 21 |
+
contiguously in memory. Moreover, states near the starting state are
|
| 22 |
+
represented densely, such that finding the next state ID takes a constant
|
| 23 |
+
number of instructions.
|
| 24 |
+
* Aho-Corasick as a DFA. In this case, all states are represented densely in
|
| 25 |
+
a transition table that uses one allocation.
|
| 26 |
+
* Supporting "standard" match semantics, along with its overlapping variant,
|
| 27 |
+
in addition to leftmost-first and leftmost-longest semantics. The "standard"
|
| 28 |
+
semantics are typically what you see in a textbook description of
|
| 29 |
+
Aho-Corasick. However, Aho-Corasick is also useful as an optimization in
|
| 30 |
+
regex engines, which often use leftmost-first or leftmost-longest semantics.
|
| 31 |
+
Thus, it is useful to implement those semantics here. The "standard" and
|
| 32 |
+
"leftmost" search algorithms are subtly different, and also require slightly
|
| 33 |
+
different construction algorithms.
|
| 34 |
+
* Support for ASCII case insensitive matching.
|
| 35 |
+
* Support for accelerating searches when the patterns all start with a small
|
| 36 |
+
number of fixed bytes. Or alternatively, when the patterns all contain a
|
| 37 |
+
small number of rare bytes. (Searching for these bytes uses SIMD vectorized
|
| 38 |
+
code courtesy of `memchr`.)
|
| 39 |
+
* Transparent support for alternative SIMD vectorized search routines for
|
| 40 |
+
smaller number of literals, such as the Teddy algorithm. We called these
|
| 41 |
+
"packed" search routines because they use SIMD. They can often be an order of
|
| 42 |
+
magnitude faster than just Aho-Corasick, but don't scale as well.
|
| 43 |
+
* Support for searching streams. This can reuse most of the underlying code,
|
| 44 |
+
but does require careful buffering support.
|
| 45 |
+
* Support for anchored searches, which permit efficient "is prefix" checks for
|
| 46 |
+
a large number of patterns.
|
| 47 |
+
|
| 48 |
+
When you combine all of this together along with trying to make everything as
|
| 49 |
+
fast as possible, what you end up with is enitrely too much code with too much
|
| 50 |
+
`unsafe`. Alas, I was not smart enough to figure out how to reduce it. Instead,
|
| 51 |
+
we will explain it.
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
# Basics
|
| 55 |
+
|
| 56 |
+
The fundamental problem this crate is trying to solve is to determine the
|
| 57 |
+
occurrences of possibly many patterns in a haystack. The naive way to solve
|
| 58 |
+
this is to look for a match for each pattern at each position in the haystack:
|
| 59 |
+
|
| 60 |
+
for i in 0..haystack.len():
|
| 61 |
+
for p in patterns.iter():
|
| 62 |
+
if haystack[i..].starts_with(p.bytes()):
|
| 63 |
+
return Match(p.id(), i, i + p.bytes().len())
|
| 64 |
+
|
| 65 |
+
Those four lines are effectively all this crate does. The problem with those
|
| 66 |
+
four lines is that they are very slow, especially when you're searching for a
|
| 67 |
+
large number of patterns.
|
| 68 |
+
|
| 69 |
+
While there are many different algorithms available to solve this, a popular
|
| 70 |
+
one is Aho-Corasick. It's a common solution because it's not too hard to
|
| 71 |
+
implement, scales quite well even when searching for thousands of patterns and
|
| 72 |
+
is generally pretty fast. Aho-Corasick does well here because, regardless of
|
| 73 |
+
the number of patterns you're searching for, it always visits each byte in the
|
| 74 |
+
haystack exactly once. This means, generally speaking, adding more patterns to
|
| 75 |
+
an Aho-Corasick automaton does not make it slower. (Strictly speaking, however,
|
| 76 |
+
this is not true, since a larger automaton will make less effective use of the
|
| 77 |
+
CPU's cache.)
|
| 78 |
+
|
| 79 |
+
Aho-Corasick can be succinctly described as a trie with state transitions
|
| 80 |
+
between some of the nodes that efficiently instruct the search algorithm to
|
| 81 |
+
try matching alternative keys in the trie. The trick is that these state
|
| 82 |
+
transitions are arranged such that each byte of input needs to be inspected
|
| 83 |
+
only once. These state transitions are typically called "failure transitions,"
|
| 84 |
+
because they instruct the searcher (the thing traversing the automaton while
|
| 85 |
+
reading from the haystack) what to do when a byte in the haystack does not
|
| 86 |
+
correspond to a valid transition in the current state of the trie.
|
| 87 |
+
|
| 88 |
+
More formally, a failure transition points to a state in the automaton that may
|
| 89 |
+
lead to a match whose prefix is a proper suffix of the path traversed through
|
| 90 |
+
the trie so far. (If no such proper suffix exists, then the failure transition
|
| 91 |
+
points back to the start state of the trie, effectively restarting the search.)
|
| 92 |
+
This is perhaps simpler to explain pictorally. For example, let's say we built
|
| 93 |
+
an Aho-Corasick automaton with the following patterns: 'abcd' and 'cef'. The
|
| 94 |
+
trie looks like this:
|
| 95 |
+
|
| 96 |
+
a - S1 - b - S2 - c - S3 - d - S4*
|
| 97 |
+
/
|
| 98 |
+
S0 - c - S5 - e - S6 - f - S7*
|
| 99 |
+
|
| 100 |
+
where states marked with a `*` are match states (meaning, the search algorithm
|
| 101 |
+
should stop and report a match to the caller).
|
| 102 |
+
|
| 103 |
+
So given this trie, it should be somewhat straight-forward to see how it can
|
| 104 |
+
be used to determine whether any particular haystack *starts* with either
|
| 105 |
+
`abcd` or `cef`. It's easy to express this in code:
|
| 106 |
+
|
| 107 |
+
fn has_prefix(trie: &Trie, haystack: &[u8]) -> bool {
|
| 108 |
+
let mut state_id = trie.start();
|
| 109 |
+
// If the empty pattern is in trie, then state_id is a match state.
|
| 110 |
+
if trie.is_match(state_id) {
|
| 111 |
+
return true;
|
| 112 |
+
}
|
| 113 |
+
for (i, &b) in haystack.iter().enumerate() {
|
| 114 |
+
state_id = match trie.next_state(state_id, b) {
|
| 115 |
+
Some(id) => id,
|
| 116 |
+
// If there was no transition for this state and byte, then we know
|
| 117 |
+
// the haystack does not start with one of the patterns in our trie.
|
| 118 |
+
None => return false,
|
| 119 |
+
};
|
| 120 |
+
if trie.is_match(state_id) {
|
| 121 |
+
return true;
|
| 122 |
+
}
|
| 123 |
+
}
|
| 124 |
+
false
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
And that's pretty much it. All we do is move through the trie starting with the
|
| 128 |
+
bytes at the beginning of the haystack. If we find ourselves in a position
|
| 129 |
+
where we can't move, or if we've looked through the entire haystack without
|
| 130 |
+
seeing a match state, then we know the haystack does not start with any of the
|
| 131 |
+
patterns in the trie.
|
| 132 |
+
|
| 133 |
+
The meat of the Aho-Corasick algorithm is in how we add failure transitions to
|
| 134 |
+
our trie to keep searching efficient. Specifically, it permits us to not only
|
| 135 |
+
check whether a haystack *starts* with any one of a number of patterns, but
|
| 136 |
+
rather, whether the haystack contains any of a number of patterns *anywhere* in
|
| 137 |
+
the haystack.
|
| 138 |
+
|
| 139 |
+
As mentioned before, failure transitions connect a proper suffix of the path
|
| 140 |
+
traversed through the trie before, with a path that leads to a match that has a
|
| 141 |
+
prefix corresponding to that proper suffix. So in our case, for patterns `abcd`
|
| 142 |
+
and `cef`, with a haystack `abcef`, we want to transition to state `S5` (from
|
| 143 |
+
the diagram above) from `S3` upon seeing that the byte following `c` is not
|
| 144 |
+
`d`. Namely, the proper suffix in this example is `c`, which is a prefix of
|
| 145 |
+
`cef`. So the modified diagram looks like this:
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
a - S1 - b - S2 - c - S3 - d - S4*
|
| 149 |
+
/ /
|
| 150 |
+
/ ----------------
|
| 151 |
+
/ /
|
| 152 |
+
S0 - c - S5 - e - S6 - f - S7*
|
| 153 |
+
|
| 154 |
+
One thing that isn't shown in this diagram is that *all* states have a failure
|
| 155 |
+
transition, but only `S3` has a *non-trivial* failure transition. That is, all
|
| 156 |
+
other states have a failure transition back to the start state. So if our
|
| 157 |
+
haystack was `abzabcd`, then the searcher would transition back to `S0` after
|
| 158 |
+
seeing `z`, which effectively restarts the search. (Because there is no pattern
|
| 159 |
+
in our trie that has a prefix of `bz` or `z`.)
|
| 160 |
+
|
| 161 |
+
The code for traversing this *automaton* or *finite state machine* (it is no
|
| 162 |
+
longer just a trie) is not that much different from the `has_prefix` code
|
| 163 |
+
above:
|
| 164 |
+
|
| 165 |
+
fn contains(fsm: &FiniteStateMachine, haystack: &[u8]) -> bool {
|
| 166 |
+
let mut state_id = fsm.start();
|
| 167 |
+
// If the empty pattern is in fsm, then state_id is a match state.
|
| 168 |
+
if fsm.is_match(state_id) {
|
| 169 |
+
return true;
|
| 170 |
+
}
|
| 171 |
+
for (i, &b) in haystack.iter().enumerate() {
|
| 172 |
+
// While the diagram above doesn't show this, we may wind up needing
|
| 173 |
+
// to follow multiple failure transitions before we land on a state
|
| 174 |
+
// in which we can advance. Therefore, when searching for the next
|
| 175 |
+
// state, we need to loop until we don't see a failure transition.
|
| 176 |
+
//
|
| 177 |
+
// This loop terminates because the start state has no empty
|
| 178 |
+
// transitions. Every transition from the start state either points to
|
| 179 |
+
// another state, or loops back to the start state.
|
| 180 |
+
loop {
|
| 181 |
+
match fsm.next_state(state_id, b) {
|
| 182 |
+
Some(id) => {
|
| 183 |
+
state_id = id;
|
| 184 |
+
break;
|
| 185 |
+
}
|
| 186 |
+
// Unlike our code above, if there was no transition for this
|
| 187 |
+
// state, then we don't quit. Instead, we look for this state's
|
| 188 |
+
// failure transition and follow that instead.
|
| 189 |
+
None => {
|
| 190 |
+
state_id = fsm.next_fail_state(state_id);
|
| 191 |
+
}
|
| 192 |
+
};
|
| 193 |
+
}
|
| 194 |
+
if fsm.is_match(state_id) {
|
| 195 |
+
return true;
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
false
|
| 199 |
+
}
|
| 200 |
+
|
| 201 |
+
Other than the complication around traversing failure transitions, this code
|
| 202 |
+
is still roughly "traverse the automaton with bytes from the haystack, and quit
|
| 203 |
+
when a match is seen."
|
| 204 |
+
|
| 205 |
+
And that concludes our section on the basics. While we didn't go deep into how
|
| 206 |
+
the automaton is built (see `src/nfa/noncontiguous.rs`, which has detailed
|
| 207 |
+
comments about that), the basic structure of Aho-Corasick should be reasonably
|
| 208 |
+
clear.
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
# NFAs and DFAs
|
| 212 |
+
|
| 213 |
+
There are generally two types of finite automata: non-deterministic finite
|
| 214 |
+
automata (NFA) and deterministic finite automata (DFA). The difference between
|
| 215 |
+
them is, principally, that an NFA can be in multiple states at once. This is
|
| 216 |
+
typically accomplished by things called _epsilon_ transitions, where one could
|
| 217 |
+
move to a new state without consuming any bytes from the input. (The other
|
| 218 |
+
mechanism by which NFAs can be in more than one state is where the same byte in
|
| 219 |
+
a particular state transitions to multiple distinct states.) In contrast, a DFA
|
| 220 |
+
can only ever be in one state at a time. A DFA has no epsilon transitions, and
|
| 221 |
+
for any given state, a byte transitions to at most one other state.
|
| 222 |
+
|
| 223 |
+
By this formulation, the Aho-Corasick automaton described in the previous
|
| 224 |
+
section is an NFA. This is because failure transitions are, effectively,
|
| 225 |
+
epsilon transitions. That is, whenever the automaton is in state `S`, it is
|
| 226 |
+
actually in the set of states that are reachable by recursively following
|
| 227 |
+
failure transitions from `S` until you reach the start state. (This means
|
| 228 |
+
that, for example, the start state is always active since the start state is
|
| 229 |
+
reachable via failure transitions from any state in the automaton.)
|
| 230 |
+
|
| 231 |
+
NFAs have a lot of nice properties. They tend to be easier to construct, and
|
| 232 |
+
also tend to use less memory. However, their primary downside is that they are
|
| 233 |
+
typically slower to execute a search with. For example, the code above showing
|
| 234 |
+
how to search with an Aho-Corasick automaton needs to potentially iterate
|
| 235 |
+
through many failure transitions for every byte of input. While this is a
|
| 236 |
+
fairly small amount of overhead, this can add up, especially if the automaton
|
| 237 |
+
has a lot of overlapping patterns with a lot of failure transitions.
|
| 238 |
+
|
| 239 |
+
A DFA's search code, by contrast, looks like this:
|
| 240 |
+
|
| 241 |
+
fn contains(dfa: &DFA, haystack: &[u8]) -> bool {
|
| 242 |
+
let mut state_id = dfa.start();
|
| 243 |
+
// If the empty pattern is in dfa, then state_id is a match state.
|
| 244 |
+
if dfa.is_match(state_id) {
|
| 245 |
+
return true;
|
| 246 |
+
}
|
| 247 |
+
for (i, &b) in haystack.iter().enumerate() {
|
| 248 |
+
// An Aho-Corasick DFA *never* has a missing state that requires
|
| 249 |
+
// failure transitions to be followed. One byte of input advances the
|
| 250 |
+
// automaton by one state. Always.
|
| 251 |
+
state_id = dfa.next_state(state_id, b);
|
| 252 |
+
if dfa.is_match(state_id) {
|
| 253 |
+
return true;
|
| 254 |
+
}
|
| 255 |
+
}
|
| 256 |
+
false
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
The search logic here is much simpler than for the NFA, and this tends to
|
| 260 |
+
translate into significant performance benefits as well, since there's a lot
|
| 261 |
+
less work being done for each byte in the haystack. How is this accomplished?
|
| 262 |
+
It's done by pre-following all failure transitions for all states for all bytes
|
| 263 |
+
in the alphabet, and then building a single state transition table. Building
|
| 264 |
+
this DFA can be much more costly than building the NFA, and use much more
|
| 265 |
+
memory, but the better performance can be worth it.
|
| 266 |
+
|
| 267 |
+
Users of this crate can actually choose between using one of two possible NFAs
|
| 268 |
+
(noncontiguous or contiguous) or a DFA. By default, a contiguous NFA is used,
|
| 269 |
+
in most circumstances, but if the number of patterns is small enough a DFA will
|
| 270 |
+
be used. A contiguous NFA is chosen because it uses orders of magnitude less
|
| 271 |
+
memory than a DFA, takes only a little longer to build than a noncontiguous
|
| 272 |
+
NFA and usually gets pretty close to the search speed of a DFA. (Callers can
|
| 273 |
+
override this automatic selection via the `AhoCorasickBuilder::start_kind`
|
| 274 |
+
configuration.)
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
# More DFA tricks
|
| 278 |
+
|
| 279 |
+
As described in the previous section, one of the downsides of using a DFA
|
| 280 |
+
is that it uses more memory and can take longer to build. One small way of
|
| 281 |
+
mitigating these concerns is to map the alphabet used by the automaton into
|
| 282 |
+
a smaller space. Typically, the alphabet of a DFA has 256 elements in it:
|
| 283 |
+
one element for each possible value that fits into a byte. However, in many
|
| 284 |
+
cases, one does not need the full alphabet. For example, if all patterns in an
|
| 285 |
+
Aho-Corasick automaton are ASCII letters, then this only uses up 52 distinct
|
| 286 |
+
bytes. As far as the automaton is concerned, the rest of the 204 bytes are
|
| 287 |
+
indistinguishable from one another: they will never disrciminate between a
|
| 288 |
+
match or a non-match. Therefore, in cases like that, the alphabet can be shrunk
|
| 289 |
+
to just 53 elements. One for each ASCII letter, and then another to serve as a
|
| 290 |
+
placeholder for every other unused byte.
|
| 291 |
+
|
| 292 |
+
In practice, this library doesn't quite compute the optimal set of equivalence
|
| 293 |
+
classes, but it's close enough in most cases. The key idea is that this then
|
| 294 |
+
allows the transition table for the DFA to be potentially much smaller. The
|
| 295 |
+
downside of doing this, however, is that since the transition table is defined
|
| 296 |
+
in terms of this smaller alphabet space, every byte in the haystack must be
|
| 297 |
+
re-mapped to this smaller space. This requires an additional 256-byte table.
|
| 298 |
+
In practice, this can lead to a small search time hit, but it can be difficult
|
| 299 |
+
to measure. Moreover, it can sometimes lead to faster search times for bigger
|
| 300 |
+
automata, since it could be difference between more parts of the automaton
|
| 301 |
+
staying in the CPU cache or not.
|
| 302 |
+
|
| 303 |
+
One other trick for DFAs employed by this crate is the notion of premultiplying
|
| 304 |
+
state identifiers. Specifically, the normal way to compute the next transition
|
| 305 |
+
in a DFA is via the following (assuming that the transition table is laid out
|
| 306 |
+
sequentially in memory, in row-major order, where the rows are states):
|
| 307 |
+
|
| 308 |
+
next_state_id = dfa.transitions[current_state_id * 256 + current_byte]
|
| 309 |
+
|
| 310 |
+
However, since the value `256` is a fixed constant, we can actually premultiply
|
| 311 |
+
the state identifiers in the table when we build the table initially. Then, the
|
| 312 |
+
next transition computation simply becomes:
|
| 313 |
+
|
| 314 |
+
next_state_id = dfa.transitions[current_state_id + current_byte]
|
| 315 |
+
|
| 316 |
+
This doesn't seem like much, but when this is being executed for every byte of
|
| 317 |
+
input that you're searching, saving that extra multiplication instruction can
|
| 318 |
+
add up.
|
| 319 |
+
|
| 320 |
+
The same optimization works even when equivalence classes are enabled, as
|
| 321 |
+
described above. The only difference is that the premultiplication is by the
|
| 322 |
+
total number of equivalence classes instead of 256.
|
| 323 |
+
|
| 324 |
+
There isn't much downside to premultiplying state identifiers, other than it
|
| 325 |
+
imposes a smaller limit on the total number of states in the DFA. Namely, with
|
| 326 |
+
premultiplied state identifiers, you run out of room in your state identifier
|
| 327 |
+
representation more rapidly than if the identifiers are just state indices.
|
| 328 |
+
|
| 329 |
+
Both equivalence classes and premultiplication are always enabled. There is a
|
| 330 |
+
`AhoCorasickBuilder::byte_classes` configuration, but disabling this just makes
|
| 331 |
+
it so there are always 256 equivalence classes, i.e., every class corresponds
|
| 332 |
+
to precisely one byte. When it's disabled, the equivalence class map itself is
|
| 333 |
+
still used. The purpose of disabling it is when one is debugging the underlying
|
| 334 |
+
automaton. It can be easier to comprehend when it uses actual byte values for
|
| 335 |
+
its transitions instead of equivalence classes.
|
| 336 |
+
|
| 337 |
+
|
| 338 |
+
# Match semantics
|
| 339 |
+
|
| 340 |
+
One of the more interesting things about this implementation of Aho-Corasick
|
| 341 |
+
that (as far as this author knows) separates it from other implementations, is
|
| 342 |
+
that it natively supports leftmost-first and leftmost-longest match semantics.
|
| 343 |
+
Briefly, match semantics refer to the decision procedure by which searching
|
| 344 |
+
will disambiguate matches when there are multiple to choose from:
|
| 345 |
+
|
| 346 |
+
* **standard** match semantics emits matches as soon as they are detected by
|
| 347 |
+
the automaton. This is typically equivalent to the textbook non-overlapping
|
| 348 |
+
formulation of Aho-Corasick.
|
| 349 |
+
* **leftmost-first** match semantics means that 1) the next match is the match
|
| 350 |
+
starting at the leftmost position and 2) among multiple matches starting at
|
| 351 |
+
the same leftmost position, the match corresponding to the pattern provided
|
| 352 |
+
first by the caller is reported.
|
| 353 |
+
* **leftmost-longest** is like leftmost-first, except when there are multiple
|
| 354 |
+
matches starting at the same leftmost position, the pattern corresponding to
|
| 355 |
+
the longest match is returned.
|
| 356 |
+
|
| 357 |
+
(The crate API documentation discusses these differences, with examples, in
|
| 358 |
+
more depth on the `MatchKind` type.)
|
| 359 |
+
|
| 360 |
+
The reason why supporting these match semantics is important is because it
|
| 361 |
+
gives the user more control over the match procedure. For example,
|
| 362 |
+
leftmost-first permits users to implement match priority by simply putting the
|
| 363 |
+
higher priority patterns first. Leftmost-longest, on the other hand, permits
|
| 364 |
+
finding the longest possible match, which might be useful when trying to find
|
| 365 |
+
words matching a dictionary. Additionally, regex engines often want to use
|
| 366 |
+
Aho-Corasick as an optimization when searching for an alternation of literals.
|
| 367 |
+
In order to preserve correct match semantics, regex engines typically can't use
|
| 368 |
+
the standard textbook definition directly, since regex engines will implement
|
| 369 |
+
either leftmost-first (Perl-like) or leftmost-longest (POSIX) match semantics.
|
| 370 |
+
|
| 371 |
+
Supporting leftmost semantics requires a couple key changes:
|
| 372 |
+
|
| 373 |
+
* Constructing the Aho-Corasick automaton changes a bit in both how the trie is
|
| 374 |
+
constructed and how failure transitions are found. Namely, only a subset
|
| 375 |
+
of the failure transitions are added. Specifically, only the failure
|
| 376 |
+
transitions that either do not occur after a match or do occur after a match
|
| 377 |
+
but preserve that match are kept. (More details on this can be found in
|
| 378 |
+
`src/nfa/noncontiguous.rs`.)
|
| 379 |
+
* The search algorithm changes slightly. Since we are looking for the leftmost
|
| 380 |
+
match, we cannot quit as soon as a match is detected. Instead, after a match
|
| 381 |
+
is detected, we must keep searching until either the end of the input or
|
| 382 |
+
until a dead state is seen. (Dead states are not used for standard match
|
| 383 |
+
semantics. Dead states mean that searching should stop after a match has been
|
| 384 |
+
found.)
|
| 385 |
+
|
| 386 |
+
Most other implementations of Aho-Corasick do support leftmost match semantics,
|
| 387 |
+
but they do it with more overhead at search time, or even worse, with a queue
|
| 388 |
+
of matches and sophisticated hijinks to disambiguate the matches. While our
|
| 389 |
+
construction algorithm becomes a bit more complicated, the correct match
|
| 390 |
+
semantics fall out from the structure of the automaton itself.
|
| 391 |
+
|
| 392 |
+
|
| 393 |
+
# Overlapping matches
|
| 394 |
+
|
| 395 |
+
One of the nice properties of an Aho-Corasick automaton is that it can report
|
| 396 |
+
all possible matches, even when they overlap with one another. In this mode,
|
| 397 |
+
the match semantics don't matter, since all possible matches are reported.
|
| 398 |
+
Overlapping searches work just like regular searches, except the state
|
| 399 |
+
identifier at which the previous search left off is carried over to the next
|
| 400 |
+
search, so that it can pick up where it left off. If there are additional
|
| 401 |
+
matches at that state, then they are reported before resuming the search.
|
| 402 |
+
|
| 403 |
+
Enabling leftmost-first or leftmost-longest match semantics causes the
|
| 404 |
+
automaton to use a subset of all failure transitions, which means that
|
| 405 |
+
overlapping searches cannot be used. Therefore, if leftmost match semantics are
|
| 406 |
+
used, attempting to do an overlapping search will return an error (or panic
|
| 407 |
+
when using the infallible APIs). Thus, to get overlapping searches, the caller
|
| 408 |
+
must use the default standard match semantics. This behavior was chosen because
|
| 409 |
+
there are only two alternatives, which were deemed worse:
|
| 410 |
+
|
| 411 |
+
* Compile two automatons internally, one for standard semantics and one for
|
| 412 |
+
the semantics requested by the caller (if not standard).
|
| 413 |
+
* Create a new type, distinct from the `AhoCorasick` type, which has different
|
| 414 |
+
capabilities based on the configuration options.
|
| 415 |
+
|
| 416 |
+
The first is untenable because of the amount of memory used by the automaton.
|
| 417 |
+
The second increases the complexity of the API too much by adding too many
|
| 418 |
+
types that do similar things. It is conceptually much simpler to keep all
|
| 419 |
+
searching isolated to a single type.
|
| 420 |
+
|
| 421 |
+
|
| 422 |
+
# Stream searching
|
| 423 |
+
|
| 424 |
+
Since Aho-Corasick is an automaton, it is possible to do partial searches on
|
| 425 |
+
partial parts of the haystack, and then resume that search on subsequent pieces
|
| 426 |
+
of the haystack. This is useful when the haystack you're trying to search is
|
| 427 |
+
not stored contiguously in memory, or if one does not want to read the entire
|
| 428 |
+
haystack into memory at once.
|
| 429 |
+
|
| 430 |
+
Currently, only standard semantics are supported for stream searching. This is
|
| 431 |
+
some of the more complicated code in this crate, and is something I would very
|
| 432 |
+
much like to improve. In particular, it currently has the restriction that it
|
| 433 |
+
must buffer at least enough of the haystack in memory in order to fit the
|
| 434 |
+
longest possible match. The difficulty in getting stream searching right is
|
| 435 |
+
that the implementation choices (such as the buffer size) often impact what the
|
| 436 |
+
API looks like and what it's allowed to do.
|
| 437 |
+
|
| 438 |
+
|
| 439 |
+
# Prefilters
|
| 440 |
+
|
| 441 |
+
In some cases, Aho-Corasick is not the fastest way to find matches containing
|
| 442 |
+
multiple patterns. Sometimes, the search can be accelerated using highly
|
| 443 |
+
optimized SIMD routines. For example, consider searching the following
|
| 444 |
+
patterns:
|
| 445 |
+
|
| 446 |
+
Sherlock
|
| 447 |
+
Moriarty
|
| 448 |
+
Watson
|
| 449 |
+
|
| 450 |
+
It is plausible that it would be much faster to quickly look for occurrences of
|
| 451 |
+
the leading bytes, `S`, `M` or `W`, before trying to start searching via the
|
| 452 |
+
automaton. Indeed, this is exactly what this crate will do.
|
| 453 |
+
|
| 454 |
+
When there are more than three distinct starting bytes, then this crate will
|
| 455 |
+
look for three distinct bytes occurring at any position in the patterns, while
|
| 456 |
+
preferring bytes that are heuristically determined to be rare over others. For
|
| 457 |
+
example:
|
| 458 |
+
|
| 459 |
+
Abuzz
|
| 460 |
+
Sanchez
|
| 461 |
+
Vasquez
|
| 462 |
+
Topaz
|
| 463 |
+
Waltz
|
| 464 |
+
|
| 465 |
+
Here, we have more than 3 distinct starting bytes, but all of the patterns
|
| 466 |
+
contain `z`, which is typically a rare byte. In this case, the prefilter will
|
| 467 |
+
scan for `z`, back up a bit, and then execute the Aho-Corasick automaton.
|
| 468 |
+
|
| 469 |
+
If all of that fails, then a packed multiple substring algorithm will be
|
| 470 |
+
attempted. Currently, the only algorithm available for this is Teddy, but more
|
| 471 |
+
may be added in the future. Teddy is unlike the above prefilters in that it
|
| 472 |
+
confirms its own matches, so when Teddy is active, it might not be necessary
|
| 473 |
+
for Aho-Corasick to run at all. However, the current Teddy implementation
|
| 474 |
+
only works in `x86_64` when SSSE3 or AVX2 are available or in `aarch64`
|
| 475 |
+
(using NEON), and moreover, only works _well_ when there are a small number
|
| 476 |
+
of patterns (say, less than 100). Teddy also requires the haystack to be of a
|
| 477 |
+
certain length (more than 16-34 bytes). When the haystack is shorter than that,
|
| 478 |
+
Rabin-Karp is used instead. (See `src/packed/rabinkarp.rs`.)
|
| 479 |
+
|
| 480 |
+
There is a more thorough description of Teddy at
|
| 481 |
+
[`src/packed/teddy/README.md`](src/packed/teddy/README.md).
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The MIT License (MIT)
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2015 Andrew Gallant
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in
|
| 13 |
+
all copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 21 |
+
THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
aho-corasick
|
| 2 |
+
============
|
| 3 |
+
A library for finding occurrences of many patterns at once with SIMD
|
| 4 |
+
acceleration in some cases. This library provides multiple pattern
|
| 5 |
+
search principally through an implementation of the
|
| 6 |
+
[Aho-Corasick algorithm](https://en.wikipedia.org/wiki/Aho%E2%80%93Corasick_algorithm),
|
| 7 |
+
which builds a finite state machine for executing searches in linear time.
|
| 8 |
+
Features include case insensitive matching, overlapping matches, fast searching
|
| 9 |
+
via SIMD and optional full DFA construction and search & replace in streams.
|
| 10 |
+
|
| 11 |
+
[](https://github.com/BurntSushi/aho-corasick/actions)
|
| 12 |
+
[](https://crates.io/crates/aho-corasick)
|
| 13 |
+
|
| 14 |
+
Dual-licensed under MIT or the [UNLICENSE](https://unlicense.org/).
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
### Documentation
|
| 18 |
+
|
| 19 |
+
https://docs.rs/aho-corasick
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
### Usage
|
| 23 |
+
|
| 24 |
+
Run `cargo add aho-corasick` to automatically add this crate as a dependency
|
| 25 |
+
in your `Cargo.toml` file.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
### Example: basic searching
|
| 29 |
+
|
| 30 |
+
This example shows how to search for occurrences of multiple patterns
|
| 31 |
+
simultaneously. Each match includes the pattern that matched along with the
|
| 32 |
+
byte offsets of the match.
|
| 33 |
+
|
| 34 |
+
```rust
|
| 35 |
+
use aho_corasick::{AhoCorasick, PatternID};
|
| 36 |
+
|
| 37 |
+
let patterns = &["apple", "maple", "Snapple"];
|
| 38 |
+
let haystack = "Nobody likes maple in their apple flavored Snapple.";
|
| 39 |
+
|
| 40 |
+
let ac = AhoCorasick::new(patterns).unwrap();
|
| 41 |
+
let mut matches = vec![];
|
| 42 |
+
for mat in ac.find_iter(haystack) {
|
| 43 |
+
matches.push((mat.pattern(), mat.start(), mat.end()));
|
| 44 |
+
}
|
| 45 |
+
assert_eq!(matches, vec![
|
| 46 |
+
(PatternID::must(1), 13, 18),
|
| 47 |
+
(PatternID::must(0), 28, 33),
|
| 48 |
+
(PatternID::must(2), 43, 50),
|
| 49 |
+
]);
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
### Example: ASCII case insensitivity
|
| 54 |
+
|
| 55 |
+
This is like the previous example, but matches `Snapple` case insensitively
|
| 56 |
+
using `AhoCorasickBuilder`:
|
| 57 |
+
|
| 58 |
+
```rust
|
| 59 |
+
use aho_corasick::{AhoCorasick, PatternID};
|
| 60 |
+
|
| 61 |
+
let patterns = &["apple", "maple", "snapple"];
|
| 62 |
+
let haystack = "Nobody likes maple in their apple flavored Snapple.";
|
| 63 |
+
|
| 64 |
+
let ac = AhoCorasick::builder()
|
| 65 |
+
.ascii_case_insensitive(true)
|
| 66 |
+
.build(patterns)
|
| 67 |
+
.unwrap();
|
| 68 |
+
let mut matches = vec![];
|
| 69 |
+
for mat in ac.find_iter(haystack) {
|
| 70 |
+
matches.push((mat.pattern(), mat.start(), mat.end()));
|
| 71 |
+
}
|
| 72 |
+
assert_eq!(matches, vec![
|
| 73 |
+
(PatternID::must(1), 13, 18),
|
| 74 |
+
(PatternID::must(0), 28, 33),
|
| 75 |
+
(PatternID::must(2), 43, 50),
|
| 76 |
+
]);
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
### Example: replacing matches in a stream
|
| 81 |
+
|
| 82 |
+
This example shows how to execute a search and replace on a stream without
|
| 83 |
+
loading the entire stream into memory first.
|
| 84 |
+
|
| 85 |
+
```rust,ignore
|
| 86 |
+
use aho_corasick::AhoCorasick;
|
| 87 |
+
|
| 88 |
+
let patterns = &["fox", "brown", "quick"];
|
| 89 |
+
let replace_with = &["sloth", "grey", "slow"];
|
| 90 |
+
|
| 91 |
+
// In a real example, these might be `std::fs::File`s instead. All you need to
|
| 92 |
+
// do is supply a pair of `std::io::Read` and `std::io::Write` implementations.
|
| 93 |
+
let rdr = "The quick brown fox.";
|
| 94 |
+
let mut wtr = vec![];
|
| 95 |
+
|
| 96 |
+
let ac = AhoCorasick::new(patterns).unwrap();
|
| 97 |
+
ac.stream_replace_all(rdr.as_bytes(), &mut wtr, replace_with)
|
| 98 |
+
.expect("stream_replace_all failed");
|
| 99 |
+
assert_eq!(b"The slow grey sloth.".to_vec(), wtr);
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
### Example: finding the leftmost first match
|
| 104 |
+
|
| 105 |
+
In the textbook description of Aho-Corasick, its formulation is typically
|
| 106 |
+
structured such that it reports all possible matches, even when they overlap
|
| 107 |
+
with another. In many cases, overlapping matches may not be desired, such as
|
| 108 |
+
the case of finding all successive non-overlapping matches like you might with
|
| 109 |
+
a standard regular expression.
|
| 110 |
+
|
| 111 |
+
Unfortunately the "obvious" way to modify the Aho-Corasick algorithm to do
|
| 112 |
+
this doesn't always work in the expected way, since it will report matches as
|
| 113 |
+
soon as they are seen. For example, consider matching the regex `Samwise|Sam`
|
| 114 |
+
against the text `Samwise`. Most regex engines (that are Perl-like, or
|
| 115 |
+
non-POSIX) will report `Samwise` as a match, but the standard Aho-Corasick
|
| 116 |
+
algorithm modified for reporting non-overlapping matches will report `Sam`.
|
| 117 |
+
|
| 118 |
+
A novel contribution of this library is the ability to change the match
|
| 119 |
+
semantics of Aho-Corasick (without additional search time overhead) such that
|
| 120 |
+
`Samwise` is reported instead. For example, here's the standard approach:
|
| 121 |
+
|
| 122 |
+
```rust
|
| 123 |
+
use aho_corasick::AhoCorasick;
|
| 124 |
+
|
| 125 |
+
let patterns = &["Samwise", "Sam"];
|
| 126 |
+
let haystack = "Samwise";
|
| 127 |
+
|
| 128 |
+
let ac = AhoCorasick::new(patterns).unwrap();
|
| 129 |
+
let mat = ac.find(haystack).expect("should have a match");
|
| 130 |
+
assert_eq!("Sam", &haystack[mat.start()..mat.end()]);
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
And now here's the leftmost-first version, which matches how a Perl-like
|
| 134 |
+
regex will work:
|
| 135 |
+
|
| 136 |
+
```rust
|
| 137 |
+
use aho_corasick::{AhoCorasick, MatchKind};
|
| 138 |
+
|
| 139 |
+
let patterns = &["Samwise", "Sam"];
|
| 140 |
+
let haystack = "Samwise";
|
| 141 |
+
|
| 142 |
+
let ac = AhoCorasick::builder()
|
| 143 |
+
.match_kind(MatchKind::LeftmostFirst)
|
| 144 |
+
.build(patterns)
|
| 145 |
+
.unwrap();
|
| 146 |
+
let mat = ac.find(haystack).expect("should have a match");
|
| 147 |
+
assert_eq!("Samwise", &haystack[mat.start()..mat.end()]);
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
In addition to leftmost-first semantics, this library also supports
|
| 151 |
+
leftmost-longest semantics, which match the POSIX behavior of a regular
|
| 152 |
+
expression alternation. See `MatchKind` in the docs for more details.
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
### Minimum Rust version policy
|
| 156 |
+
|
| 157 |
+
This crate's minimum supported `rustc` version is `1.60.0`.
|
| 158 |
+
|
| 159 |
+
The current policy is that the minimum Rust version required to use this crate
|
| 160 |
+
can be increased in minor version updates. For example, if `crate 1.0` requires
|
| 161 |
+
Rust 1.20.0, then `crate 1.0.z` for all values of `z` will also require Rust
|
| 162 |
+
1.20.0 or newer. However, `crate 1.y` for `y > 0` may require a newer minimum
|
| 163 |
+
version of Rust.
|
| 164 |
+
|
| 165 |
+
In general, this crate will be conservative with respect to the minimum
|
| 166 |
+
supported version of Rust.
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
### FFI bindings
|
| 170 |
+
|
| 171 |
+
* [G-Research/ahocorasick_rs](https://github.com/G-Research/ahocorasick_rs/)
|
| 172 |
+
is a Python wrapper for this library.
|
| 173 |
+
* [tmikus/ahocorasick_rs](https://github.com/tmikus/ahocorasick_rs) is a Go
|
| 174 |
+
wrapper for this library.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/UNLICENSE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is free and unencumbered software released into the public domain.
|
| 2 |
+
|
| 3 |
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
| 4 |
+
distribute this software, either in source code form or as a compiled
|
| 5 |
+
binary, for any purpose, commercial or non-commercial, and by any
|
| 6 |
+
means.
|
| 7 |
+
|
| 8 |
+
In jurisdictions that recognize copyright laws, the author or authors
|
| 9 |
+
of this software dedicate any and all copyright interest in the
|
| 10 |
+
software to the public domain. We make this dedication for the benefit
|
| 11 |
+
of the public at large and to the detriment of our heirs and
|
| 12 |
+
successors. We intend this dedication to be an overt act of
|
| 13 |
+
relinquishment in perpetuity of all present and future rights to this
|
| 14 |
+
software under copyright law.
|
| 15 |
+
|
| 16 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 17 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 18 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
| 19 |
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
| 20 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
| 21 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 22 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 23 |
+
|
| 24 |
+
For more information, please refer to <http://unlicense.org/>
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aho-corasick-1.1.4/rustfmt.toml
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
max_width = 79
|
| 2 |
+
use_small_heuristics = "max"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "e14400697453bcc85997119b874bc03d9601d0af"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/.gitignore
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
target/
|
| 2 |
+
Cargo.lock
|
| 3 |
+
*~
|
| 4 |
+
*.swp
|
| 5 |
+
*.swo
|
| 6 |
+
main.rs
|
| 7 |
+
|
| 8 |
+
# JetBrains tools
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 3
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "anes"
|
| 7 |
+
version = "0.1.6"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
| 10 |
+
|
| 11 |
+
[[package]]
|
| 12 |
+
name = "async-attributes"
|
| 13 |
+
version = "1.1.2"
|
| 14 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 15 |
+
checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5"
|
| 16 |
+
dependencies = [
|
| 17 |
+
"quote",
|
| 18 |
+
"syn 1.0.109",
|
| 19 |
+
]
|
| 20 |
+
|
| 21 |
+
[[package]]
|
| 22 |
+
name = "async-channel"
|
| 23 |
+
version = "1.9.0"
|
| 24 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 25 |
+
checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35"
|
| 26 |
+
dependencies = [
|
| 27 |
+
"concurrent-queue",
|
| 28 |
+
"event-listener 2.5.3",
|
| 29 |
+
"futures-core",
|
| 30 |
+
]
|
| 31 |
+
|
| 32 |
+
[[package]]
|
| 33 |
+
name = "async-channel"
|
| 34 |
+
version = "2.2.0"
|
| 35 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 36 |
+
checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3"
|
| 37 |
+
dependencies = [
|
| 38 |
+
"concurrent-queue",
|
| 39 |
+
"event-listener 5.2.0",
|
| 40 |
+
"event-listener-strategy 0.5.0",
|
| 41 |
+
"futures-core",
|
| 42 |
+
"pin-project-lite",
|
| 43 |
+
]
|
| 44 |
+
|
| 45 |
+
[[package]]
|
| 46 |
+
name = "async-executor"
|
| 47 |
+
version = "1.8.0"
|
| 48 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 49 |
+
checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c"
|
| 50 |
+
dependencies = [
|
| 51 |
+
"async-lock 3.3.0",
|
| 52 |
+
"async-task",
|
| 53 |
+
"concurrent-queue",
|
| 54 |
+
"fastrand 2.0.1",
|
| 55 |
+
"futures-lite 2.2.0",
|
| 56 |
+
"slab",
|
| 57 |
+
]
|
| 58 |
+
|
| 59 |
+
[[package]]
|
| 60 |
+
name = "async-global-executor"
|
| 61 |
+
version = "2.4.1"
|
| 62 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 63 |
+
checksum = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c"
|
| 64 |
+
dependencies = [
|
| 65 |
+
"async-channel 2.2.0",
|
| 66 |
+
"async-executor",
|
| 67 |
+
"async-io 2.3.1",
|
| 68 |
+
"async-lock 3.3.0",
|
| 69 |
+
"blocking",
|
| 70 |
+
"futures-lite 2.2.0",
|
| 71 |
+
"once_cell",
|
| 72 |
+
]
|
| 73 |
+
|
| 74 |
+
[[package]]
|
| 75 |
+
name = "async-io"
|
| 76 |
+
version = "1.13.0"
|
| 77 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 78 |
+
checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af"
|
| 79 |
+
dependencies = [
|
| 80 |
+
"async-lock 2.8.0",
|
| 81 |
+
"autocfg",
|
| 82 |
+
"cfg-if",
|
| 83 |
+
"concurrent-queue",
|
| 84 |
+
"futures-lite 1.13.0",
|
| 85 |
+
"log",
|
| 86 |
+
"parking",
|
| 87 |
+
"polling 2.8.0",
|
| 88 |
+
"rustix 0.37.27",
|
| 89 |
+
"slab",
|
| 90 |
+
"socket2",
|
| 91 |
+
"waker-fn",
|
| 92 |
+
]
|
| 93 |
+
|
| 94 |
+
[[package]]
|
| 95 |
+
name = "async-io"
|
| 96 |
+
version = "2.3.1"
|
| 97 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 98 |
+
checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65"
|
| 99 |
+
dependencies = [
|
| 100 |
+
"async-lock 3.3.0",
|
| 101 |
+
"cfg-if",
|
| 102 |
+
"concurrent-queue",
|
| 103 |
+
"futures-io",
|
| 104 |
+
"futures-lite 2.2.0",
|
| 105 |
+
"parking",
|
| 106 |
+
"polling 3.4.0",
|
| 107 |
+
"rustix 0.38.9",
|
| 108 |
+
"slab",
|
| 109 |
+
"tracing",
|
| 110 |
+
"windows-sys 0.52.0",
|
| 111 |
+
]
|
| 112 |
+
|
| 113 |
+
[[package]]
|
| 114 |
+
name = "async-lock"
|
| 115 |
+
version = "2.8.0"
|
| 116 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 117 |
+
checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b"
|
| 118 |
+
dependencies = [
|
| 119 |
+
"event-listener 2.5.3",
|
| 120 |
+
]
|
| 121 |
+
|
| 122 |
+
[[package]]
|
| 123 |
+
name = "async-lock"
|
| 124 |
+
version = "3.3.0"
|
| 125 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 126 |
+
checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b"
|
| 127 |
+
dependencies = [
|
| 128 |
+
"event-listener 4.0.3",
|
| 129 |
+
"event-listener-strategy 0.4.0",
|
| 130 |
+
"pin-project-lite",
|
| 131 |
+
]
|
| 132 |
+
|
| 133 |
+
[[package]]
|
| 134 |
+
name = "async-std"
|
| 135 |
+
version = "1.12.0"
|
| 136 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 137 |
+
checksum = "62565bb4402e926b29953c785397c6dc0391b7b446e45008b0049eb43cec6f5d"
|
| 138 |
+
dependencies = [
|
| 139 |
+
"async-attributes",
|
| 140 |
+
"async-channel 1.9.0",
|
| 141 |
+
"async-global-executor",
|
| 142 |
+
"async-io 1.13.0",
|
| 143 |
+
"async-lock 2.8.0",
|
| 144 |
+
"crossbeam-utils",
|
| 145 |
+
"futures-channel",
|
| 146 |
+
"futures-core",
|
| 147 |
+
"futures-io",
|
| 148 |
+
"futures-lite 1.13.0",
|
| 149 |
+
"gloo-timers",
|
| 150 |
+
"kv-log-macro",
|
| 151 |
+
"log",
|
| 152 |
+
"memchr",
|
| 153 |
+
"once_cell",
|
| 154 |
+
"pin-project-lite",
|
| 155 |
+
"pin-utils",
|
| 156 |
+
"slab",
|
| 157 |
+
"wasm-bindgen-futures",
|
| 158 |
+
]
|
| 159 |
+
|
| 160 |
+
[[package]]
|
| 161 |
+
name = "async-task"
|
| 162 |
+
version = "4.7.0"
|
| 163 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 164 |
+
checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799"
|
| 165 |
+
|
| 166 |
+
[[package]]
|
| 167 |
+
name = "atomic-waker"
|
| 168 |
+
version = "1.1.2"
|
| 169 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 170 |
+
checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
|
| 171 |
+
|
| 172 |
+
[[package]]
|
| 173 |
+
name = "atty"
|
| 174 |
+
version = "0.2.14"
|
| 175 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 176 |
+
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
| 177 |
+
dependencies = [
|
| 178 |
+
"hermit-abi 0.1.19",
|
| 179 |
+
"libc",
|
| 180 |
+
"winapi",
|
| 181 |
+
]
|
| 182 |
+
|
| 183 |
+
[[package]]
|
| 184 |
+
name = "autocfg"
|
| 185 |
+
version = "1.1.0"
|
| 186 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 187 |
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
| 188 |
+
|
| 189 |
+
[[package]]
|
| 190 |
+
name = "base64"
|
| 191 |
+
version = "0.22.1"
|
| 192 |
+
dependencies = [
|
| 193 |
+
"clap",
|
| 194 |
+
"criterion",
|
| 195 |
+
"once_cell",
|
| 196 |
+
"rand",
|
| 197 |
+
"rstest",
|
| 198 |
+
"rstest_reuse",
|
| 199 |
+
"strum",
|
| 200 |
+
]
|
| 201 |
+
|
| 202 |
+
[[package]]
|
| 203 |
+
name = "bitflags"
|
| 204 |
+
version = "1.3.2"
|
| 205 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 206 |
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
| 207 |
+
|
| 208 |
+
[[package]]
|
| 209 |
+
name = "bitflags"
|
| 210 |
+
version = "2.4.2"
|
| 211 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 212 |
+
checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
|
| 213 |
+
|
| 214 |
+
[[package]]
|
| 215 |
+
name = "blocking"
|
| 216 |
+
version = "1.5.1"
|
| 217 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 218 |
+
checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118"
|
| 219 |
+
dependencies = [
|
| 220 |
+
"async-channel 2.2.0",
|
| 221 |
+
"async-lock 3.3.0",
|
| 222 |
+
"async-task",
|
| 223 |
+
"fastrand 2.0.1",
|
| 224 |
+
"futures-io",
|
| 225 |
+
"futures-lite 2.2.0",
|
| 226 |
+
"piper",
|
| 227 |
+
"tracing",
|
| 228 |
+
]
|
| 229 |
+
|
| 230 |
+
[[package]]
|
| 231 |
+
name = "bumpalo"
|
| 232 |
+
version = "3.15.3"
|
| 233 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 234 |
+
checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b"
|
| 235 |
+
|
| 236 |
+
[[package]]
|
| 237 |
+
name = "cast"
|
| 238 |
+
version = "0.3.0"
|
| 239 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 240 |
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
| 241 |
+
|
| 242 |
+
[[package]]
|
| 243 |
+
name = "cfg-if"
|
| 244 |
+
version = "1.0.0"
|
| 245 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 246 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 247 |
+
|
| 248 |
+
[[package]]
|
| 249 |
+
name = "ciborium"
|
| 250 |
+
version = "0.2.2"
|
| 251 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 252 |
+
checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e"
|
| 253 |
+
dependencies = [
|
| 254 |
+
"ciborium-io",
|
| 255 |
+
"ciborium-ll",
|
| 256 |
+
"serde",
|
| 257 |
+
]
|
| 258 |
+
|
| 259 |
+
[[package]]
|
| 260 |
+
name = "ciborium-io"
|
| 261 |
+
version = "0.2.2"
|
| 262 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 263 |
+
checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757"
|
| 264 |
+
|
| 265 |
+
[[package]]
|
| 266 |
+
name = "ciborium-ll"
|
| 267 |
+
version = "0.2.2"
|
| 268 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 269 |
+
checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9"
|
| 270 |
+
dependencies = [
|
| 271 |
+
"ciborium-io",
|
| 272 |
+
"half",
|
| 273 |
+
]
|
| 274 |
+
|
| 275 |
+
[[package]]
|
| 276 |
+
name = "clap"
|
| 277 |
+
version = "3.2.25"
|
| 278 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 279 |
+
checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
|
| 280 |
+
dependencies = [
|
| 281 |
+
"atty",
|
| 282 |
+
"bitflags 1.3.2",
|
| 283 |
+
"clap_derive",
|
| 284 |
+
"clap_lex",
|
| 285 |
+
"indexmap",
|
| 286 |
+
"once_cell",
|
| 287 |
+
"strsim",
|
| 288 |
+
"termcolor",
|
| 289 |
+
"textwrap",
|
| 290 |
+
]
|
| 291 |
+
|
| 292 |
+
[[package]]
|
| 293 |
+
name = "clap_derive"
|
| 294 |
+
version = "3.2.25"
|
| 295 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 296 |
+
checksum = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008"
|
| 297 |
+
dependencies = [
|
| 298 |
+
"heck",
|
| 299 |
+
"proc-macro-error",
|
| 300 |
+
"proc-macro2",
|
| 301 |
+
"quote",
|
| 302 |
+
"syn 1.0.109",
|
| 303 |
+
]
|
| 304 |
+
|
| 305 |
+
[[package]]
|
| 306 |
+
name = "clap_lex"
|
| 307 |
+
version = "0.2.4"
|
| 308 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 309 |
+
checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
|
| 310 |
+
dependencies = [
|
| 311 |
+
"os_str_bytes",
|
| 312 |
+
]
|
| 313 |
+
|
| 314 |
+
[[package]]
|
| 315 |
+
name = "concurrent-queue"
|
| 316 |
+
version = "2.4.0"
|
| 317 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 318 |
+
checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363"
|
| 319 |
+
dependencies = [
|
| 320 |
+
"crossbeam-utils",
|
| 321 |
+
]
|
| 322 |
+
|
| 323 |
+
[[package]]
|
| 324 |
+
name = "criterion"
|
| 325 |
+
version = "0.4.0"
|
| 326 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 327 |
+
checksum = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb"
|
| 328 |
+
dependencies = [
|
| 329 |
+
"anes",
|
| 330 |
+
"atty",
|
| 331 |
+
"cast",
|
| 332 |
+
"ciborium",
|
| 333 |
+
"clap",
|
| 334 |
+
"criterion-plot",
|
| 335 |
+
"itertools",
|
| 336 |
+
"lazy_static",
|
| 337 |
+
"num-traits",
|
| 338 |
+
"oorandom",
|
| 339 |
+
"plotters",
|
| 340 |
+
"rayon",
|
| 341 |
+
"regex",
|
| 342 |
+
"serde",
|
| 343 |
+
"serde_derive",
|
| 344 |
+
"serde_json",
|
| 345 |
+
"tinytemplate",
|
| 346 |
+
"walkdir",
|
| 347 |
+
]
|
| 348 |
+
|
| 349 |
+
[[package]]
|
| 350 |
+
name = "criterion-plot"
|
| 351 |
+
version = "0.5.0"
|
| 352 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 353 |
+
checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
| 354 |
+
dependencies = [
|
| 355 |
+
"cast",
|
| 356 |
+
"itertools",
|
| 357 |
+
]
|
| 358 |
+
|
| 359 |
+
[[package]]
|
| 360 |
+
name = "crossbeam-deque"
|
| 361 |
+
version = "0.8.5"
|
| 362 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 363 |
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
| 364 |
+
dependencies = [
|
| 365 |
+
"crossbeam-epoch",
|
| 366 |
+
"crossbeam-utils",
|
| 367 |
+
]
|
| 368 |
+
|
| 369 |
+
[[package]]
|
| 370 |
+
name = "crossbeam-epoch"
|
| 371 |
+
version = "0.9.18"
|
| 372 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 373 |
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
| 374 |
+
dependencies = [
|
| 375 |
+
"crossbeam-utils",
|
| 376 |
+
]
|
| 377 |
+
|
| 378 |
+
[[package]]
|
| 379 |
+
name = "crossbeam-utils"
|
| 380 |
+
version = "0.8.19"
|
| 381 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 382 |
+
checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
|
| 383 |
+
|
| 384 |
+
[[package]]
|
| 385 |
+
name = "crunchy"
|
| 386 |
+
version = "0.2.2"
|
| 387 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 388 |
+
checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
|
| 389 |
+
|
| 390 |
+
[[package]]
|
| 391 |
+
name = "ctor"
|
| 392 |
+
version = "0.1.26"
|
| 393 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 394 |
+
checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
|
| 395 |
+
dependencies = [
|
| 396 |
+
"quote",
|
| 397 |
+
"syn 1.0.109",
|
| 398 |
+
]
|
| 399 |
+
|
| 400 |
+
[[package]]
|
| 401 |
+
name = "either"
|
| 402 |
+
version = "1.10.0"
|
| 403 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 404 |
+
checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a"
|
| 405 |
+
|
| 406 |
+
[[package]]
|
| 407 |
+
name = "errno"
|
| 408 |
+
version = "0.3.8"
|
| 409 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 410 |
+
checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
|
| 411 |
+
dependencies = [
|
| 412 |
+
"libc",
|
| 413 |
+
"windows-sys 0.52.0",
|
| 414 |
+
]
|
| 415 |
+
|
| 416 |
+
[[package]]
|
| 417 |
+
name = "event-listener"
|
| 418 |
+
version = "2.5.3"
|
| 419 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 420 |
+
checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
|
| 421 |
+
|
| 422 |
+
[[package]]
|
| 423 |
+
name = "event-listener"
|
| 424 |
+
version = "4.0.3"
|
| 425 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 426 |
+
checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e"
|
| 427 |
+
dependencies = [
|
| 428 |
+
"concurrent-queue",
|
| 429 |
+
"parking",
|
| 430 |
+
"pin-project-lite",
|
| 431 |
+
]
|
| 432 |
+
|
| 433 |
+
[[package]]
|
| 434 |
+
name = "event-listener"
|
| 435 |
+
version = "5.2.0"
|
| 436 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 437 |
+
checksum = "2b5fb89194fa3cad959b833185b3063ba881dbfc7030680b314250779fb4cc91"
|
| 438 |
+
dependencies = [
|
| 439 |
+
"concurrent-queue",
|
| 440 |
+
"parking",
|
| 441 |
+
"pin-project-lite",
|
| 442 |
+
]
|
| 443 |
+
|
| 444 |
+
[[package]]
|
| 445 |
+
name = "event-listener-strategy"
|
| 446 |
+
version = "0.4.0"
|
| 447 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 448 |
+
checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3"
|
| 449 |
+
dependencies = [
|
| 450 |
+
"event-listener 4.0.3",
|
| 451 |
+
"pin-project-lite",
|
| 452 |
+
]
|
| 453 |
+
|
| 454 |
+
[[package]]
|
| 455 |
+
name = "event-listener-strategy"
|
| 456 |
+
version = "0.5.0"
|
| 457 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 458 |
+
checksum = "feedafcaa9b749175d5ac357452a9d41ea2911da598fde46ce1fe02c37751291"
|
| 459 |
+
dependencies = [
|
| 460 |
+
"event-listener 5.2.0",
|
| 461 |
+
"pin-project-lite",
|
| 462 |
+
]
|
| 463 |
+
|
| 464 |
+
[[package]]
|
| 465 |
+
name = "fastrand"
|
| 466 |
+
version = "1.9.0"
|
| 467 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 468 |
+
checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
|
| 469 |
+
dependencies = [
|
| 470 |
+
"instant",
|
| 471 |
+
]
|
| 472 |
+
|
| 473 |
+
[[package]]
|
| 474 |
+
name = "fastrand"
|
| 475 |
+
version = "2.0.1"
|
| 476 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 477 |
+
checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
|
| 478 |
+
|
| 479 |
+
[[package]]
|
| 480 |
+
name = "futures"
|
| 481 |
+
version = "0.3.30"
|
| 482 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 483 |
+
checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
|
| 484 |
+
dependencies = [
|
| 485 |
+
"futures-channel",
|
| 486 |
+
"futures-core",
|
| 487 |
+
"futures-executor",
|
| 488 |
+
"futures-io",
|
| 489 |
+
"futures-sink",
|
| 490 |
+
"futures-task",
|
| 491 |
+
"futures-util",
|
| 492 |
+
]
|
| 493 |
+
|
| 494 |
+
[[package]]
|
| 495 |
+
name = "futures-channel"
|
| 496 |
+
version = "0.3.30"
|
| 497 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 498 |
+
checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
|
| 499 |
+
dependencies = [
|
| 500 |
+
"futures-core",
|
| 501 |
+
"futures-sink",
|
| 502 |
+
]
|
| 503 |
+
|
| 504 |
+
[[package]]
|
| 505 |
+
name = "futures-core"
|
| 506 |
+
version = "0.3.30"
|
| 507 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 508 |
+
checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
|
| 509 |
+
|
| 510 |
+
[[package]]
|
| 511 |
+
name = "futures-executor"
|
| 512 |
+
version = "0.3.30"
|
| 513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 514 |
+
checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
|
| 515 |
+
dependencies = [
|
| 516 |
+
"futures-core",
|
| 517 |
+
"futures-task",
|
| 518 |
+
"futures-util",
|
| 519 |
+
]
|
| 520 |
+
|
| 521 |
+
[[package]]
|
| 522 |
+
name = "futures-io"
|
| 523 |
+
version = "0.3.30"
|
| 524 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 525 |
+
checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
|
| 526 |
+
|
| 527 |
+
[[package]]
|
| 528 |
+
name = "futures-lite"
|
| 529 |
+
version = "1.13.0"
|
| 530 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 531 |
+
checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce"
|
| 532 |
+
dependencies = [
|
| 533 |
+
"fastrand 1.9.0",
|
| 534 |
+
"futures-core",
|
| 535 |
+
"futures-io",
|
| 536 |
+
"memchr",
|
| 537 |
+
"parking",
|
| 538 |
+
"pin-project-lite",
|
| 539 |
+
"waker-fn",
|
| 540 |
+
]
|
| 541 |
+
|
| 542 |
+
[[package]]
|
| 543 |
+
name = "futures-lite"
|
| 544 |
+
version = "2.2.0"
|
| 545 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 546 |
+
checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba"
|
| 547 |
+
dependencies = [
|
| 548 |
+
"fastrand 2.0.1",
|
| 549 |
+
"futures-core",
|
| 550 |
+
"futures-io",
|
| 551 |
+
"parking",
|
| 552 |
+
"pin-project-lite",
|
| 553 |
+
]
|
| 554 |
+
|
| 555 |
+
[[package]]
|
| 556 |
+
name = "futures-macro"
|
| 557 |
+
version = "0.3.30"
|
| 558 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 559 |
+
checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
|
| 560 |
+
dependencies = [
|
| 561 |
+
"proc-macro2",
|
| 562 |
+
"quote",
|
| 563 |
+
"syn 2.0.52",
|
| 564 |
+
]
|
| 565 |
+
|
| 566 |
+
[[package]]
|
| 567 |
+
name = "futures-sink"
|
| 568 |
+
version = "0.3.30"
|
| 569 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 570 |
+
checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
|
| 571 |
+
|
| 572 |
+
[[package]]
|
| 573 |
+
name = "futures-task"
|
| 574 |
+
version = "0.3.30"
|
| 575 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 576 |
+
checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
|
| 577 |
+
|
| 578 |
+
[[package]]
|
| 579 |
+
name = "futures-timer"
|
| 580 |
+
version = "3.0.3"
|
| 581 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 582 |
+
checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
|
| 583 |
+
|
| 584 |
+
[[package]]
|
| 585 |
+
name = "futures-util"
|
| 586 |
+
version = "0.3.30"
|
| 587 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 588 |
+
checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
|
| 589 |
+
dependencies = [
|
| 590 |
+
"futures-channel",
|
| 591 |
+
"futures-core",
|
| 592 |
+
"futures-io",
|
| 593 |
+
"futures-macro",
|
| 594 |
+
"futures-sink",
|
| 595 |
+
"futures-task",
|
| 596 |
+
"memchr",
|
| 597 |
+
"pin-project-lite",
|
| 598 |
+
"pin-utils",
|
| 599 |
+
"slab",
|
| 600 |
+
]
|
| 601 |
+
|
| 602 |
+
[[package]]
|
| 603 |
+
name = "getrandom"
|
| 604 |
+
version = "0.2.12"
|
| 605 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 606 |
+
checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
|
| 607 |
+
dependencies = [
|
| 608 |
+
"cfg-if",
|
| 609 |
+
"libc",
|
| 610 |
+
"wasi",
|
| 611 |
+
]
|
| 612 |
+
|
| 613 |
+
[[package]]
|
| 614 |
+
name = "gloo-timers"
|
| 615 |
+
version = "0.2.6"
|
| 616 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 617 |
+
checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c"
|
| 618 |
+
dependencies = [
|
| 619 |
+
"futures-channel",
|
| 620 |
+
"futures-core",
|
| 621 |
+
"js-sys",
|
| 622 |
+
"wasm-bindgen",
|
| 623 |
+
]
|
| 624 |
+
|
| 625 |
+
[[package]]
|
| 626 |
+
name = "half"
|
| 627 |
+
version = "2.4.0"
|
| 628 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 629 |
+
checksum = "b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e"
|
| 630 |
+
dependencies = [
|
| 631 |
+
"cfg-if",
|
| 632 |
+
"crunchy",
|
| 633 |
+
]
|
| 634 |
+
|
| 635 |
+
[[package]]
|
| 636 |
+
name = "hashbrown"
|
| 637 |
+
version = "0.12.3"
|
| 638 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 639 |
+
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
| 640 |
+
|
| 641 |
+
[[package]]
|
| 642 |
+
name = "heck"
|
| 643 |
+
version = "0.4.1"
|
| 644 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 645 |
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
| 646 |
+
|
| 647 |
+
[[package]]
|
| 648 |
+
name = "hermit-abi"
|
| 649 |
+
version = "0.1.19"
|
| 650 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 651 |
+
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
| 652 |
+
dependencies = [
|
| 653 |
+
"libc",
|
| 654 |
+
]
|
| 655 |
+
|
| 656 |
+
[[package]]
|
| 657 |
+
name = "hermit-abi"
|
| 658 |
+
version = "0.3.9"
|
| 659 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 660 |
+
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
|
| 661 |
+
|
| 662 |
+
[[package]]
|
| 663 |
+
name = "indexmap"
|
| 664 |
+
version = "1.9.3"
|
| 665 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 666 |
+
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
| 667 |
+
dependencies = [
|
| 668 |
+
"autocfg",
|
| 669 |
+
"hashbrown",
|
| 670 |
+
]
|
| 671 |
+
|
| 672 |
+
[[package]]
|
| 673 |
+
name = "instant"
|
| 674 |
+
version = "0.1.12"
|
| 675 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 676 |
+
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
| 677 |
+
dependencies = [
|
| 678 |
+
"cfg-if",
|
| 679 |
+
]
|
| 680 |
+
|
| 681 |
+
[[package]]
|
| 682 |
+
name = "io-lifetimes"
|
| 683 |
+
version = "1.0.11"
|
| 684 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 685 |
+
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
|
| 686 |
+
dependencies = [
|
| 687 |
+
"hermit-abi 0.3.9",
|
| 688 |
+
"libc",
|
| 689 |
+
"windows-sys 0.48.0",
|
| 690 |
+
]
|
| 691 |
+
|
| 692 |
+
[[package]]
|
| 693 |
+
name = "itertools"
|
| 694 |
+
version = "0.10.5"
|
| 695 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 696 |
+
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
| 697 |
+
dependencies = [
|
| 698 |
+
"either",
|
| 699 |
+
]
|
| 700 |
+
|
| 701 |
+
[[package]]
|
| 702 |
+
name = "itoa"
|
| 703 |
+
version = "1.0.10"
|
| 704 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 705 |
+
checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
|
| 706 |
+
|
| 707 |
+
[[package]]
|
| 708 |
+
name = "js-sys"
|
| 709 |
+
version = "0.3.68"
|
| 710 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 711 |
+
checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee"
|
| 712 |
+
dependencies = [
|
| 713 |
+
"wasm-bindgen",
|
| 714 |
+
]
|
| 715 |
+
|
| 716 |
+
[[package]]
|
| 717 |
+
name = "kv-log-macro"
|
| 718 |
+
version = "1.0.7"
|
| 719 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 720 |
+
checksum = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
|
| 721 |
+
dependencies = [
|
| 722 |
+
"log",
|
| 723 |
+
]
|
| 724 |
+
|
| 725 |
+
[[package]]
|
| 726 |
+
name = "lazy_static"
|
| 727 |
+
version = "1.4.0"
|
| 728 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 729 |
+
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
| 730 |
+
|
| 731 |
+
[[package]]
|
| 732 |
+
name = "libc"
|
| 733 |
+
version = "0.2.153"
|
| 734 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 735 |
+
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
| 736 |
+
|
| 737 |
+
[[package]]
|
| 738 |
+
name = "linux-raw-sys"
|
| 739 |
+
version = "0.3.8"
|
| 740 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 741 |
+
checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
|
| 742 |
+
|
| 743 |
+
[[package]]
|
| 744 |
+
name = "linux-raw-sys"
|
| 745 |
+
version = "0.4.13"
|
| 746 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 747 |
+
checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
|
| 748 |
+
|
| 749 |
+
[[package]]
|
| 750 |
+
name = "log"
|
| 751 |
+
version = "0.4.17"
|
| 752 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 753 |
+
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
| 754 |
+
dependencies = [
|
| 755 |
+
"cfg-if",
|
| 756 |
+
"value-bag",
|
| 757 |
+
]
|
| 758 |
+
|
| 759 |
+
[[package]]
|
| 760 |
+
name = "memchr"
|
| 761 |
+
version = "2.7.1"
|
| 762 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 763 |
+
checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
|
| 764 |
+
|
| 765 |
+
[[package]]
|
| 766 |
+
name = "num-traits"
|
| 767 |
+
version = "0.2.18"
|
| 768 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 769 |
+
checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
|
| 770 |
+
dependencies = [
|
| 771 |
+
"autocfg",
|
| 772 |
+
]
|
| 773 |
+
|
| 774 |
+
[[package]]
|
| 775 |
+
name = "once_cell"
|
| 776 |
+
version = "1.19.0"
|
| 777 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 778 |
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
| 779 |
+
|
| 780 |
+
[[package]]
|
| 781 |
+
name = "oorandom"
|
| 782 |
+
version = "11.1.3"
|
| 783 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 784 |
+
checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
| 785 |
+
|
| 786 |
+
[[package]]
|
| 787 |
+
name = "os_str_bytes"
|
| 788 |
+
version = "6.6.1"
|
| 789 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 790 |
+
checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1"
|
| 791 |
+
|
| 792 |
+
[[package]]
|
| 793 |
+
name = "parking"
|
| 794 |
+
version = "2.2.0"
|
| 795 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 796 |
+
checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae"
|
| 797 |
+
|
| 798 |
+
[[package]]
|
| 799 |
+
name = "pin-project-lite"
|
| 800 |
+
version = "0.2.13"
|
| 801 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 802 |
+
checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58"
|
| 803 |
+
|
| 804 |
+
[[package]]
|
| 805 |
+
name = "pin-utils"
|
| 806 |
+
version = "0.1.0"
|
| 807 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 808 |
+
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
| 809 |
+
|
| 810 |
+
[[package]]
|
| 811 |
+
name = "piper"
|
| 812 |
+
version = "0.2.1"
|
| 813 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 814 |
+
checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4"
|
| 815 |
+
dependencies = [
|
| 816 |
+
"atomic-waker",
|
| 817 |
+
"fastrand 2.0.1",
|
| 818 |
+
"futures-io",
|
| 819 |
+
]
|
| 820 |
+
|
| 821 |
+
[[package]]
|
| 822 |
+
name = "plotters"
|
| 823 |
+
version = "0.3.5"
|
| 824 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 825 |
+
checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45"
|
| 826 |
+
dependencies = [
|
| 827 |
+
"num-traits",
|
| 828 |
+
"plotters-backend",
|
| 829 |
+
"plotters-svg",
|
| 830 |
+
"wasm-bindgen",
|
| 831 |
+
"web-sys",
|
| 832 |
+
]
|
| 833 |
+
|
| 834 |
+
[[package]]
|
| 835 |
+
name = "plotters-backend"
|
| 836 |
+
version = "0.3.5"
|
| 837 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 838 |
+
checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609"
|
| 839 |
+
|
| 840 |
+
[[package]]
|
| 841 |
+
name = "plotters-svg"
|
| 842 |
+
version = "0.3.5"
|
| 843 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 844 |
+
checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab"
|
| 845 |
+
dependencies = [
|
| 846 |
+
"plotters-backend",
|
| 847 |
+
]
|
| 848 |
+
|
| 849 |
+
[[package]]
|
| 850 |
+
name = "polling"
|
| 851 |
+
version = "2.8.0"
|
| 852 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 853 |
+
checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce"
|
| 854 |
+
dependencies = [
|
| 855 |
+
"autocfg",
|
| 856 |
+
"bitflags 1.3.2",
|
| 857 |
+
"cfg-if",
|
| 858 |
+
"concurrent-queue",
|
| 859 |
+
"libc",
|
| 860 |
+
"log",
|
| 861 |
+
"pin-project-lite",
|
| 862 |
+
"windows-sys 0.48.0",
|
| 863 |
+
]
|
| 864 |
+
|
| 865 |
+
[[package]]
|
| 866 |
+
name = "polling"
|
| 867 |
+
version = "3.4.0"
|
| 868 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 869 |
+
checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14"
|
| 870 |
+
dependencies = [
|
| 871 |
+
"cfg-if",
|
| 872 |
+
"concurrent-queue",
|
| 873 |
+
"pin-project-lite",
|
| 874 |
+
"rustix 0.38.9",
|
| 875 |
+
"tracing",
|
| 876 |
+
"windows-sys 0.52.0",
|
| 877 |
+
]
|
| 878 |
+
|
| 879 |
+
[[package]]
|
| 880 |
+
name = "ppv-lite86"
|
| 881 |
+
version = "0.2.17"
|
| 882 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 883 |
+
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
| 884 |
+
|
| 885 |
+
[[package]]
|
| 886 |
+
name = "proc-macro-error"
|
| 887 |
+
version = "1.0.4"
|
| 888 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 889 |
+
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
| 890 |
+
dependencies = [
|
| 891 |
+
"proc-macro-error-attr",
|
| 892 |
+
"proc-macro2",
|
| 893 |
+
"quote",
|
| 894 |
+
"syn 1.0.109",
|
| 895 |
+
"version_check",
|
| 896 |
+
]
|
| 897 |
+
|
| 898 |
+
[[package]]
|
| 899 |
+
name = "proc-macro-error-attr"
|
| 900 |
+
version = "1.0.4"
|
| 901 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 902 |
+
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
| 903 |
+
dependencies = [
|
| 904 |
+
"proc-macro2",
|
| 905 |
+
"quote",
|
| 906 |
+
"version_check",
|
| 907 |
+
]
|
| 908 |
+
|
| 909 |
+
[[package]]
|
| 910 |
+
name = "proc-macro2"
|
| 911 |
+
version = "1.0.78"
|
| 912 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 913 |
+
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
|
| 914 |
+
dependencies = [
|
| 915 |
+
"unicode-ident",
|
| 916 |
+
]
|
| 917 |
+
|
| 918 |
+
[[package]]
|
| 919 |
+
name = "quote"
|
| 920 |
+
version = "1.0.35"
|
| 921 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 922 |
+
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
|
| 923 |
+
dependencies = [
|
| 924 |
+
"proc-macro2",
|
| 925 |
+
]
|
| 926 |
+
|
| 927 |
+
[[package]]
|
| 928 |
+
name = "rand"
|
| 929 |
+
version = "0.8.5"
|
| 930 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 931 |
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| 932 |
+
dependencies = [
|
| 933 |
+
"libc",
|
| 934 |
+
"rand_chacha",
|
| 935 |
+
"rand_core",
|
| 936 |
+
]
|
| 937 |
+
|
| 938 |
+
[[package]]
|
| 939 |
+
name = "rand_chacha"
|
| 940 |
+
version = "0.3.1"
|
| 941 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 942 |
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
| 943 |
+
dependencies = [
|
| 944 |
+
"ppv-lite86",
|
| 945 |
+
"rand_core",
|
| 946 |
+
]
|
| 947 |
+
|
| 948 |
+
[[package]]
|
| 949 |
+
name = "rand_core"
|
| 950 |
+
version = "0.6.4"
|
| 951 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 952 |
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
| 953 |
+
dependencies = [
|
| 954 |
+
"getrandom",
|
| 955 |
+
]
|
| 956 |
+
|
| 957 |
+
[[package]]
|
| 958 |
+
name = "rayon"
|
| 959 |
+
version = "1.9.0"
|
| 960 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 961 |
+
checksum = "e4963ed1bc86e4f3ee217022bd855b297cef07fb9eac5dfa1f788b220b49b3bd"
|
| 962 |
+
dependencies = [
|
| 963 |
+
"either",
|
| 964 |
+
"rayon-core",
|
| 965 |
+
]
|
| 966 |
+
|
| 967 |
+
[[package]]
|
| 968 |
+
name = "rayon-core"
|
| 969 |
+
version = "1.12.1"
|
| 970 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 971 |
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
| 972 |
+
dependencies = [
|
| 973 |
+
"crossbeam-deque",
|
| 974 |
+
"crossbeam-utils",
|
| 975 |
+
]
|
| 976 |
+
|
| 977 |
+
[[package]]
|
| 978 |
+
name = "regex"
|
| 979 |
+
version = "1.8.4"
|
| 980 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 981 |
+
checksum = "d0ab3ca65655bb1e41f2a8c8cd662eb4fb035e67c3f78da1d61dffe89d07300f"
|
| 982 |
+
dependencies = [
|
| 983 |
+
"regex-syntax",
|
| 984 |
+
]
|
| 985 |
+
|
| 986 |
+
[[package]]
|
| 987 |
+
name = "regex-syntax"
|
| 988 |
+
version = "0.7.5"
|
| 989 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 990 |
+
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
|
| 991 |
+
|
| 992 |
+
[[package]]
|
| 993 |
+
name = "rstest"
|
| 994 |
+
version = "0.13.0"
|
| 995 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 996 |
+
checksum = "b939295f93cb1d12bc1a83cf9ee963199b133fb8a79832dd51b68bb9f59a04dc"
|
| 997 |
+
dependencies = [
|
| 998 |
+
"async-std",
|
| 999 |
+
"futures",
|
| 1000 |
+
"futures-timer",
|
| 1001 |
+
"rstest_macros",
|
| 1002 |
+
"rustc_version",
|
| 1003 |
+
]
|
| 1004 |
+
|
| 1005 |
+
[[package]]
|
| 1006 |
+
name = "rstest_macros"
|
| 1007 |
+
version = "0.13.0"
|
| 1008 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1009 |
+
checksum = "f78aba848123782ba59340928ec7d876ebe745aa0365d6af8a630f19a5c16116"
|
| 1010 |
+
dependencies = [
|
| 1011 |
+
"cfg-if",
|
| 1012 |
+
"proc-macro2",
|
| 1013 |
+
"quote",
|
| 1014 |
+
"rustc_version",
|
| 1015 |
+
"syn 1.0.109",
|
| 1016 |
+
]
|
| 1017 |
+
|
| 1018 |
+
[[package]]
|
| 1019 |
+
name = "rstest_reuse"
|
| 1020 |
+
version = "0.6.0"
|
| 1021 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1022 |
+
checksum = "88530b681abe67924d42cca181d070e3ac20e0740569441a9e35a7cedd2b34a4"
|
| 1023 |
+
dependencies = [
|
| 1024 |
+
"quote",
|
| 1025 |
+
"rand",
|
| 1026 |
+
"rustc_version",
|
| 1027 |
+
"syn 2.0.52",
|
| 1028 |
+
]
|
| 1029 |
+
|
| 1030 |
+
[[package]]
|
| 1031 |
+
name = "rustc_version"
|
| 1032 |
+
version = "0.4.0"
|
| 1033 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1034 |
+
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
| 1035 |
+
dependencies = [
|
| 1036 |
+
"semver",
|
| 1037 |
+
]
|
| 1038 |
+
|
| 1039 |
+
[[package]]
|
| 1040 |
+
name = "rustix"
|
| 1041 |
+
version = "0.37.27"
|
| 1042 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1043 |
+
checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2"
|
| 1044 |
+
dependencies = [
|
| 1045 |
+
"bitflags 1.3.2",
|
| 1046 |
+
"errno",
|
| 1047 |
+
"io-lifetimes",
|
| 1048 |
+
"libc",
|
| 1049 |
+
"linux-raw-sys 0.3.8",
|
| 1050 |
+
"windows-sys 0.48.0",
|
| 1051 |
+
]
|
| 1052 |
+
|
| 1053 |
+
[[package]]
|
| 1054 |
+
name = "rustix"
|
| 1055 |
+
version = "0.38.9"
|
| 1056 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1057 |
+
checksum = "9bfe0f2582b4931a45d1fa608f8a8722e8b3c7ac54dd6d5f3b3212791fedef49"
|
| 1058 |
+
dependencies = [
|
| 1059 |
+
"bitflags 2.4.2",
|
| 1060 |
+
"errno",
|
| 1061 |
+
"libc",
|
| 1062 |
+
"linux-raw-sys 0.4.13",
|
| 1063 |
+
"windows-sys 0.48.0",
|
| 1064 |
+
]
|
| 1065 |
+
|
| 1066 |
+
[[package]]
|
| 1067 |
+
name = "rustversion"
|
| 1068 |
+
version = "1.0.14"
|
| 1069 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1070 |
+
checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4"
|
| 1071 |
+
|
| 1072 |
+
[[package]]
|
| 1073 |
+
name = "ryu"
|
| 1074 |
+
version = "1.0.17"
|
| 1075 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1076 |
+
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
|
| 1077 |
+
|
| 1078 |
+
[[package]]
|
| 1079 |
+
name = "same-file"
|
| 1080 |
+
version = "1.0.6"
|
| 1081 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1082 |
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
| 1083 |
+
dependencies = [
|
| 1084 |
+
"winapi-util",
|
| 1085 |
+
]
|
| 1086 |
+
|
| 1087 |
+
[[package]]
|
| 1088 |
+
name = "semver"
|
| 1089 |
+
version = "1.0.22"
|
| 1090 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1091 |
+
checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca"
|
| 1092 |
+
|
| 1093 |
+
[[package]]
|
| 1094 |
+
name = "serde"
|
| 1095 |
+
version = "1.0.197"
|
| 1096 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1097 |
+
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
|
| 1098 |
+
dependencies = [
|
| 1099 |
+
"serde_derive",
|
| 1100 |
+
]
|
| 1101 |
+
|
| 1102 |
+
[[package]]
|
| 1103 |
+
name = "serde_derive"
|
| 1104 |
+
version = "1.0.197"
|
| 1105 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1106 |
+
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
|
| 1107 |
+
dependencies = [
|
| 1108 |
+
"proc-macro2",
|
| 1109 |
+
"quote",
|
| 1110 |
+
"syn 2.0.52",
|
| 1111 |
+
]
|
| 1112 |
+
|
| 1113 |
+
[[package]]
|
| 1114 |
+
name = "serde_json"
|
| 1115 |
+
version = "1.0.114"
|
| 1116 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1117 |
+
checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0"
|
| 1118 |
+
dependencies = [
|
| 1119 |
+
"itoa",
|
| 1120 |
+
"ryu",
|
| 1121 |
+
"serde",
|
| 1122 |
+
]
|
| 1123 |
+
|
| 1124 |
+
[[package]]
|
| 1125 |
+
name = "slab"
|
| 1126 |
+
version = "0.4.9"
|
| 1127 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1128 |
+
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
| 1129 |
+
dependencies = [
|
| 1130 |
+
"autocfg",
|
| 1131 |
+
]
|
| 1132 |
+
|
| 1133 |
+
[[package]]
|
| 1134 |
+
name = "socket2"
|
| 1135 |
+
version = "0.4.10"
|
| 1136 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1137 |
+
checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d"
|
| 1138 |
+
dependencies = [
|
| 1139 |
+
"libc",
|
| 1140 |
+
"winapi",
|
| 1141 |
+
]
|
| 1142 |
+
|
| 1143 |
+
[[package]]
|
| 1144 |
+
name = "strsim"
|
| 1145 |
+
version = "0.10.0"
|
| 1146 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1147 |
+
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
| 1148 |
+
|
| 1149 |
+
[[package]]
|
| 1150 |
+
name = "strum"
|
| 1151 |
+
version = "0.25.0"
|
| 1152 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1153 |
+
checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125"
|
| 1154 |
+
dependencies = [
|
| 1155 |
+
"strum_macros",
|
| 1156 |
+
]
|
| 1157 |
+
|
| 1158 |
+
[[package]]
|
| 1159 |
+
name = "strum_macros"
|
| 1160 |
+
version = "0.25.3"
|
| 1161 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1162 |
+
checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0"
|
| 1163 |
+
dependencies = [
|
| 1164 |
+
"heck",
|
| 1165 |
+
"proc-macro2",
|
| 1166 |
+
"quote",
|
| 1167 |
+
"rustversion",
|
| 1168 |
+
"syn 2.0.52",
|
| 1169 |
+
]
|
| 1170 |
+
|
| 1171 |
+
[[package]]
|
| 1172 |
+
name = "syn"
|
| 1173 |
+
version = "1.0.109"
|
| 1174 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1175 |
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
| 1176 |
+
dependencies = [
|
| 1177 |
+
"proc-macro2",
|
| 1178 |
+
"quote",
|
| 1179 |
+
"unicode-ident",
|
| 1180 |
+
]
|
| 1181 |
+
|
| 1182 |
+
[[package]]
|
| 1183 |
+
name = "syn"
|
| 1184 |
+
version = "2.0.52"
|
| 1185 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1186 |
+
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
|
| 1187 |
+
dependencies = [
|
| 1188 |
+
"proc-macro2",
|
| 1189 |
+
"quote",
|
| 1190 |
+
"unicode-ident",
|
| 1191 |
+
]
|
| 1192 |
+
|
| 1193 |
+
[[package]]
|
| 1194 |
+
name = "termcolor"
|
| 1195 |
+
version = "1.4.1"
|
| 1196 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1197 |
+
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
| 1198 |
+
dependencies = [
|
| 1199 |
+
"winapi-util",
|
| 1200 |
+
]
|
| 1201 |
+
|
| 1202 |
+
[[package]]
|
| 1203 |
+
name = "textwrap"
|
| 1204 |
+
version = "0.16.1"
|
| 1205 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1206 |
+
checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
|
| 1207 |
+
|
| 1208 |
+
[[package]]
|
| 1209 |
+
name = "tinytemplate"
|
| 1210 |
+
version = "1.2.1"
|
| 1211 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1212 |
+
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
| 1213 |
+
dependencies = [
|
| 1214 |
+
"serde",
|
| 1215 |
+
"serde_json",
|
| 1216 |
+
]
|
| 1217 |
+
|
| 1218 |
+
[[package]]
|
| 1219 |
+
name = "tracing"
|
| 1220 |
+
version = "0.1.40"
|
| 1221 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1222 |
+
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
|
| 1223 |
+
dependencies = [
|
| 1224 |
+
"pin-project-lite",
|
| 1225 |
+
"tracing-core",
|
| 1226 |
+
]
|
| 1227 |
+
|
| 1228 |
+
[[package]]
|
| 1229 |
+
name = "tracing-core"
|
| 1230 |
+
version = "0.1.32"
|
| 1231 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1232 |
+
checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
|
| 1233 |
+
|
| 1234 |
+
[[package]]
|
| 1235 |
+
name = "unicode-ident"
|
| 1236 |
+
version = "1.0.12"
|
| 1237 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1238 |
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
| 1239 |
+
|
| 1240 |
+
[[package]]
|
| 1241 |
+
name = "value-bag"
|
| 1242 |
+
version = "1.0.0-alpha.9"
|
| 1243 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1244 |
+
checksum = "2209b78d1249f7e6f3293657c9779fe31ced465df091bbd433a1cf88e916ec55"
|
| 1245 |
+
dependencies = [
|
| 1246 |
+
"ctor",
|
| 1247 |
+
"version_check",
|
| 1248 |
+
]
|
| 1249 |
+
|
| 1250 |
+
[[package]]
|
| 1251 |
+
name = "version_check"
|
| 1252 |
+
version = "0.9.4"
|
| 1253 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1254 |
+
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
| 1255 |
+
|
| 1256 |
+
[[package]]
|
| 1257 |
+
name = "waker-fn"
|
| 1258 |
+
version = "1.1.1"
|
| 1259 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1260 |
+
checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690"
|
| 1261 |
+
|
| 1262 |
+
[[package]]
|
| 1263 |
+
name = "walkdir"
|
| 1264 |
+
version = "2.5.0"
|
| 1265 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1266 |
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
| 1267 |
+
dependencies = [
|
| 1268 |
+
"same-file",
|
| 1269 |
+
"winapi-util",
|
| 1270 |
+
]
|
| 1271 |
+
|
| 1272 |
+
[[package]]
|
| 1273 |
+
name = "wasi"
|
| 1274 |
+
version = "0.11.0+wasi-snapshot-preview1"
|
| 1275 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1276 |
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
| 1277 |
+
|
| 1278 |
+
[[package]]
|
| 1279 |
+
name = "wasm-bindgen"
|
| 1280 |
+
version = "0.2.91"
|
| 1281 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1282 |
+
checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f"
|
| 1283 |
+
dependencies = [
|
| 1284 |
+
"cfg-if",
|
| 1285 |
+
"wasm-bindgen-macro",
|
| 1286 |
+
]
|
| 1287 |
+
|
| 1288 |
+
[[package]]
|
| 1289 |
+
name = "wasm-bindgen-backend"
|
| 1290 |
+
version = "0.2.91"
|
| 1291 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1292 |
+
checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b"
|
| 1293 |
+
dependencies = [
|
| 1294 |
+
"bumpalo",
|
| 1295 |
+
"log",
|
| 1296 |
+
"once_cell",
|
| 1297 |
+
"proc-macro2",
|
| 1298 |
+
"quote",
|
| 1299 |
+
"syn 2.0.52",
|
| 1300 |
+
"wasm-bindgen-shared",
|
| 1301 |
+
]
|
| 1302 |
+
|
| 1303 |
+
[[package]]
|
| 1304 |
+
name = "wasm-bindgen-futures"
|
| 1305 |
+
version = "0.4.41"
|
| 1306 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1307 |
+
checksum = "877b9c3f61ceea0e56331985743b13f3d25c406a7098d45180fb5f09bc19ed97"
|
| 1308 |
+
dependencies = [
|
| 1309 |
+
"cfg-if",
|
| 1310 |
+
"js-sys",
|
| 1311 |
+
"wasm-bindgen",
|
| 1312 |
+
"web-sys",
|
| 1313 |
+
]
|
| 1314 |
+
|
| 1315 |
+
[[package]]
|
| 1316 |
+
name = "wasm-bindgen-macro"
|
| 1317 |
+
version = "0.2.91"
|
| 1318 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1319 |
+
checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed"
|
| 1320 |
+
dependencies = [
|
| 1321 |
+
"quote",
|
| 1322 |
+
"wasm-bindgen-macro-support",
|
| 1323 |
+
]
|
| 1324 |
+
|
| 1325 |
+
[[package]]
|
| 1326 |
+
name = "wasm-bindgen-macro-support"
|
| 1327 |
+
version = "0.2.91"
|
| 1328 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1329 |
+
checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66"
|
| 1330 |
+
dependencies = [
|
| 1331 |
+
"proc-macro2",
|
| 1332 |
+
"quote",
|
| 1333 |
+
"syn 2.0.52",
|
| 1334 |
+
"wasm-bindgen-backend",
|
| 1335 |
+
"wasm-bindgen-shared",
|
| 1336 |
+
]
|
| 1337 |
+
|
| 1338 |
+
[[package]]
|
| 1339 |
+
name = "wasm-bindgen-shared"
|
| 1340 |
+
version = "0.2.91"
|
| 1341 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1342 |
+
checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838"
|
| 1343 |
+
|
| 1344 |
+
[[package]]
|
| 1345 |
+
name = "web-sys"
|
| 1346 |
+
version = "0.3.68"
|
| 1347 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1348 |
+
checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446"
|
| 1349 |
+
dependencies = [
|
| 1350 |
+
"js-sys",
|
| 1351 |
+
"wasm-bindgen",
|
| 1352 |
+
]
|
| 1353 |
+
|
| 1354 |
+
[[package]]
|
| 1355 |
+
name = "winapi"
|
| 1356 |
+
version = "0.3.9"
|
| 1357 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1358 |
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
| 1359 |
+
dependencies = [
|
| 1360 |
+
"winapi-i686-pc-windows-gnu",
|
| 1361 |
+
"winapi-x86_64-pc-windows-gnu",
|
| 1362 |
+
]
|
| 1363 |
+
|
| 1364 |
+
[[package]]
|
| 1365 |
+
name = "winapi-i686-pc-windows-gnu"
|
| 1366 |
+
version = "0.4.0"
|
| 1367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1368 |
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
| 1369 |
+
|
| 1370 |
+
[[package]]
|
| 1371 |
+
name = "winapi-util"
|
| 1372 |
+
version = "0.1.6"
|
| 1373 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1374 |
+
checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
|
| 1375 |
+
dependencies = [
|
| 1376 |
+
"winapi",
|
| 1377 |
+
]
|
| 1378 |
+
|
| 1379 |
+
[[package]]
|
| 1380 |
+
name = "winapi-x86_64-pc-windows-gnu"
|
| 1381 |
+
version = "0.4.0"
|
| 1382 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1383 |
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
| 1384 |
+
|
| 1385 |
+
[[package]]
|
| 1386 |
+
name = "windows-sys"
|
| 1387 |
+
version = "0.48.0"
|
| 1388 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1389 |
+
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
| 1390 |
+
dependencies = [
|
| 1391 |
+
"windows-targets 0.48.5",
|
| 1392 |
+
]
|
| 1393 |
+
|
| 1394 |
+
[[package]]
|
| 1395 |
+
name = "windows-sys"
|
| 1396 |
+
version = "0.52.0"
|
| 1397 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1398 |
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
| 1399 |
+
dependencies = [
|
| 1400 |
+
"windows-targets 0.52.4",
|
| 1401 |
+
]
|
| 1402 |
+
|
| 1403 |
+
[[package]]
|
| 1404 |
+
name = "windows-targets"
|
| 1405 |
+
version = "0.48.5"
|
| 1406 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1407 |
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
| 1408 |
+
dependencies = [
|
| 1409 |
+
"windows_aarch64_gnullvm 0.48.5",
|
| 1410 |
+
"windows_aarch64_msvc 0.48.5",
|
| 1411 |
+
"windows_i686_gnu 0.48.5",
|
| 1412 |
+
"windows_i686_msvc 0.48.5",
|
| 1413 |
+
"windows_x86_64_gnu 0.48.5",
|
| 1414 |
+
"windows_x86_64_gnullvm 0.48.5",
|
| 1415 |
+
"windows_x86_64_msvc 0.48.5",
|
| 1416 |
+
]
|
| 1417 |
+
|
| 1418 |
+
[[package]]
|
| 1419 |
+
name = "windows-targets"
|
| 1420 |
+
version = "0.52.4"
|
| 1421 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1422 |
+
checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b"
|
| 1423 |
+
dependencies = [
|
| 1424 |
+
"windows_aarch64_gnullvm 0.52.4",
|
| 1425 |
+
"windows_aarch64_msvc 0.52.4",
|
| 1426 |
+
"windows_i686_gnu 0.52.4",
|
| 1427 |
+
"windows_i686_msvc 0.52.4",
|
| 1428 |
+
"windows_x86_64_gnu 0.52.4",
|
| 1429 |
+
"windows_x86_64_gnullvm 0.52.4",
|
| 1430 |
+
"windows_x86_64_msvc 0.52.4",
|
| 1431 |
+
]
|
| 1432 |
+
|
| 1433 |
+
[[package]]
|
| 1434 |
+
name = "windows_aarch64_gnullvm"
|
| 1435 |
+
version = "0.48.5"
|
| 1436 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1437 |
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
| 1438 |
+
|
| 1439 |
+
[[package]]
|
| 1440 |
+
name = "windows_aarch64_gnullvm"
|
| 1441 |
+
version = "0.52.4"
|
| 1442 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1443 |
+
checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9"
|
| 1444 |
+
|
| 1445 |
+
[[package]]
|
| 1446 |
+
name = "windows_aarch64_msvc"
|
| 1447 |
+
version = "0.48.5"
|
| 1448 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1449 |
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
| 1450 |
+
|
| 1451 |
+
[[package]]
|
| 1452 |
+
name = "windows_aarch64_msvc"
|
| 1453 |
+
version = "0.52.4"
|
| 1454 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1455 |
+
checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675"
|
| 1456 |
+
|
| 1457 |
+
[[package]]
|
| 1458 |
+
name = "windows_i686_gnu"
|
| 1459 |
+
version = "0.48.5"
|
| 1460 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1461 |
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
| 1462 |
+
|
| 1463 |
+
[[package]]
|
| 1464 |
+
name = "windows_i686_gnu"
|
| 1465 |
+
version = "0.52.4"
|
| 1466 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1467 |
+
checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3"
|
| 1468 |
+
|
| 1469 |
+
[[package]]
|
| 1470 |
+
name = "windows_i686_msvc"
|
| 1471 |
+
version = "0.48.5"
|
| 1472 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1473 |
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
| 1474 |
+
|
| 1475 |
+
[[package]]
|
| 1476 |
+
name = "windows_i686_msvc"
|
| 1477 |
+
version = "0.52.4"
|
| 1478 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1479 |
+
checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02"
|
| 1480 |
+
|
| 1481 |
+
[[package]]
|
| 1482 |
+
name = "windows_x86_64_gnu"
|
| 1483 |
+
version = "0.48.5"
|
| 1484 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1485 |
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
| 1486 |
+
|
| 1487 |
+
[[package]]
|
| 1488 |
+
name = "windows_x86_64_gnu"
|
| 1489 |
+
version = "0.52.4"
|
| 1490 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1491 |
+
checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03"
|
| 1492 |
+
|
| 1493 |
+
[[package]]
|
| 1494 |
+
name = "windows_x86_64_gnullvm"
|
| 1495 |
+
version = "0.48.5"
|
| 1496 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1497 |
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
| 1498 |
+
|
| 1499 |
+
[[package]]
|
| 1500 |
+
name = "windows_x86_64_gnullvm"
|
| 1501 |
+
version = "0.52.4"
|
| 1502 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1503 |
+
checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177"
|
| 1504 |
+
|
| 1505 |
+
[[package]]
|
| 1506 |
+
name = "windows_x86_64_msvc"
|
| 1507 |
+
version = "0.48.5"
|
| 1508 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1509 |
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
| 1510 |
+
|
| 1511 |
+
[[package]]
|
| 1512 |
+
name = "windows_x86_64_msvc"
|
| 1513 |
+
version = "0.52.4"
|
| 1514 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 1515 |
+
checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/Cargo.toml
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
| 2 |
+
#
|
| 3 |
+
# When uploading crates to the registry Cargo will automatically
|
| 4 |
+
# "normalize" Cargo.toml files for maximal compatibility
|
| 5 |
+
# with all versions of Cargo and also rewrite `path` dependencies
|
| 6 |
+
# to registry (e.g., crates.io) dependencies.
|
| 7 |
+
#
|
| 8 |
+
# If you are reading this file be aware that the original Cargo.toml
|
| 9 |
+
# will likely look very different (and much more reasonable).
|
| 10 |
+
# See Cargo.toml.orig for the original contents.
|
| 11 |
+
|
| 12 |
+
[package]
|
| 13 |
+
edition = "2018"
|
| 14 |
+
rust-version = "1.48.0"
|
| 15 |
+
name = "base64"
|
| 16 |
+
version = "0.22.1"
|
| 17 |
+
authors = ["Marshall Pierce <marshall@mpierce.org>"]
|
| 18 |
+
description = "encodes and decodes base64 as bytes or utf8"
|
| 19 |
+
documentation = "https://docs.rs/base64"
|
| 20 |
+
readme = "README.md"
|
| 21 |
+
keywords = [
|
| 22 |
+
"base64",
|
| 23 |
+
"utf8",
|
| 24 |
+
"encode",
|
| 25 |
+
"decode",
|
| 26 |
+
"no_std",
|
| 27 |
+
]
|
| 28 |
+
categories = ["encoding"]
|
| 29 |
+
license = "MIT OR Apache-2.0"
|
| 30 |
+
repository = "https://github.com/marshallpierce/rust-base64"
|
| 31 |
+
|
| 32 |
+
[package.metadata.docs.rs]
|
| 33 |
+
rustdoc-args = ["--generate-link-to-definition"]
|
| 34 |
+
|
| 35 |
+
[profile.bench]
|
| 36 |
+
debug = 2
|
| 37 |
+
|
| 38 |
+
[profile.test]
|
| 39 |
+
opt-level = 3
|
| 40 |
+
|
| 41 |
+
[[example]]
|
| 42 |
+
name = "base64"
|
| 43 |
+
required-features = ["std"]
|
| 44 |
+
|
| 45 |
+
[[test]]
|
| 46 |
+
name = "tests"
|
| 47 |
+
required-features = ["alloc"]
|
| 48 |
+
|
| 49 |
+
[[test]]
|
| 50 |
+
name = "encode"
|
| 51 |
+
required-features = ["alloc"]
|
| 52 |
+
|
| 53 |
+
[[bench]]
|
| 54 |
+
name = "benchmarks"
|
| 55 |
+
harness = false
|
| 56 |
+
required-features = ["std"]
|
| 57 |
+
|
| 58 |
+
[dev-dependencies.clap]
|
| 59 |
+
version = "3.2.25"
|
| 60 |
+
features = ["derive"]
|
| 61 |
+
|
| 62 |
+
[dev-dependencies.criterion]
|
| 63 |
+
version = "0.4.0"
|
| 64 |
+
|
| 65 |
+
[dev-dependencies.once_cell]
|
| 66 |
+
version = "1"
|
| 67 |
+
|
| 68 |
+
[dev-dependencies.rand]
|
| 69 |
+
version = "0.8.5"
|
| 70 |
+
features = ["small_rng"]
|
| 71 |
+
|
| 72 |
+
[dev-dependencies.rstest]
|
| 73 |
+
version = "0.13.0"
|
| 74 |
+
|
| 75 |
+
[dev-dependencies.rstest_reuse]
|
| 76 |
+
version = "0.6.0"
|
| 77 |
+
|
| 78 |
+
[dev-dependencies.strum]
|
| 79 |
+
version = "0.25"
|
| 80 |
+
features = ["derive"]
|
| 81 |
+
|
| 82 |
+
[features]
|
| 83 |
+
alloc = []
|
| 84 |
+
default = ["std"]
|
| 85 |
+
std = ["alloc"]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "base64"
|
| 3 |
+
version = "0.22.1"
|
| 4 |
+
authors = ["Marshall Pierce <marshall@mpierce.org>"]
|
| 5 |
+
description = "encodes and decodes base64 as bytes or utf8"
|
| 6 |
+
repository = "https://github.com/marshallpierce/rust-base64"
|
| 7 |
+
documentation = "https://docs.rs/base64"
|
| 8 |
+
readme = "README.md"
|
| 9 |
+
keywords = ["base64", "utf8", "encode", "decode", "no_std"]
|
| 10 |
+
categories = ["encoding"]
|
| 11 |
+
license = "MIT OR Apache-2.0"
|
| 12 |
+
edition = "2018"
|
| 13 |
+
# dev-dependencies require 1.65, but the main code doesn't
|
| 14 |
+
# This option was added in 1.56, keep it for when we bump MSRV.
|
| 15 |
+
rust-version = "1.48.0"
|
| 16 |
+
|
| 17 |
+
[[bench]]
|
| 18 |
+
name = "benchmarks"
|
| 19 |
+
harness = false
|
| 20 |
+
required-features = ["std"]
|
| 21 |
+
|
| 22 |
+
[[example]]
|
| 23 |
+
name = "base64"
|
| 24 |
+
required-features = ["std"]
|
| 25 |
+
|
| 26 |
+
[[test]]
|
| 27 |
+
name = "tests"
|
| 28 |
+
required-features = ["alloc"]
|
| 29 |
+
|
| 30 |
+
[[test]]
|
| 31 |
+
name = "encode"
|
| 32 |
+
required-features = ["alloc"]
|
| 33 |
+
|
| 34 |
+
[package.metadata.docs.rs]
|
| 35 |
+
rustdoc-args = ["--generate-link-to-definition"]
|
| 36 |
+
|
| 37 |
+
[dev-dependencies]
|
| 38 |
+
criterion = "0.4.0"
|
| 39 |
+
rand = { version = "0.8.5", features = ["small_rng"] }
|
| 40 |
+
# Latest is 4.4.13 but specifies MSRV in Cargo.toml which means we can't depend
|
| 41 |
+
# on it (even though we won't compile it in MSRV CI).
|
| 42 |
+
clap = { version = "3.2.25", features = ["derive"] }
|
| 43 |
+
strum = { version = "0.25", features = ["derive"] }
|
| 44 |
+
# test fixtures for engine tests
|
| 45 |
+
rstest = "0.13.0"
|
| 46 |
+
rstest_reuse = "0.6.0"
|
| 47 |
+
once_cell = "1"
|
| 48 |
+
|
| 49 |
+
[features]
|
| 50 |
+
default = ["std"]
|
| 51 |
+
alloc = []
|
| 52 |
+
std = ["alloc"]
|
| 53 |
+
|
| 54 |
+
[profile.bench]
|
| 55 |
+
# Useful for better disassembly when using `perf record` and `perf annotate`
|
| 56 |
+
debug = true
|
| 57 |
+
|
| 58 |
+
[profile.test]
|
| 59 |
+
# Faster tests save much more than the increase in compilation time
|
| 60 |
+
opt-level = 3
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/LICENSE-MIT
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The MIT License (MIT)
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2015 Alice Maz
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in
|
| 13 |
+
all copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 21 |
+
THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/README.md
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# [base64](https://crates.io/crates/base64)
|
| 2 |
+
|
| 3 |
+
[](https://crates.io/crates/base64) [](https://docs.rs/base64) [](https://circleci.com/gh/marshallpierce/rust-base64/tree/master) [](https://codecov.io/gh/marshallpierce/rust-base64) [](https://github.com/rust-secure-code/safety-dance/)
|
| 4 |
+
|
| 5 |
+
<a href="https://www.jetbrains.com/?from=rust-base64"><img src="/icon_CLion.svg" height="40px"/></a>
|
| 6 |
+
|
| 7 |
+
Made with CLion. Thanks to JetBrains for supporting open source!
|
| 8 |
+
|
| 9 |
+
It's base64. What more could anyone want?
|
| 10 |
+
|
| 11 |
+
This library's goals are to be *correct* and *fast*. It's thoroughly tested and widely used. It exposes functionality at
|
| 12 |
+
multiple levels of abstraction so you can choose the level of convenience vs performance that you want,
|
| 13 |
+
e.g. `decode_engine_slice` decodes into an existing `&mut [u8]` and is pretty fast (2.6GiB/s for a 3 KiB input),
|
| 14 |
+
whereas `decode_engine` allocates a new `Vec<u8>` and returns it, which might be more convenient in some cases, but is
|
| 15 |
+
slower (although still fast enough for almost any purpose) at 2.1 GiB/s.
|
| 16 |
+
|
| 17 |
+
See the [docs](https://docs.rs/base64) for all the details.
|
| 18 |
+
|
| 19 |
+
## FAQ
|
| 20 |
+
|
| 21 |
+
### I need to decode base64 with whitespace/null bytes/other random things interspersed in it. What should I do?
|
| 22 |
+
|
| 23 |
+
Remove non-base64 characters from your input before decoding.
|
| 24 |
+
|
| 25 |
+
If you have a `Vec` of base64, [retain](https://doc.rust-lang.org/std/vec/struct.Vec.html#method.retain) can be used to
|
| 26 |
+
strip out whatever you need removed.
|
| 27 |
+
|
| 28 |
+
If you have a `Read` (e.g. reading a file or network socket), there are various approaches.
|
| 29 |
+
|
| 30 |
+
- Use [iter_read](https://crates.io/crates/iter-read) together with `Read`'s `bytes()` to filter out unwanted bytes.
|
| 31 |
+
- Implement `Read` with a `read()` impl that delegates to your actual `Read`, and then drops any bytes you don't want.
|
| 32 |
+
|
| 33 |
+
### I need to line-wrap base64, e.g. for MIME/PEM.
|
| 34 |
+
|
| 35 |
+
[line-wrap](https://crates.io/crates/line-wrap) does just that.
|
| 36 |
+
|
| 37 |
+
### I want canonical base64 encoding/decoding.
|
| 38 |
+
|
| 39 |
+
First, don't do this. You should no more expect Base64 to be canonical than you should expect compression algorithms to
|
| 40 |
+
produce canonical output across all usage in the wild (hint: they don't).
|
| 41 |
+
However, [people are drawn to their own destruction like moths to a flame](https://eprint.iacr.org/2022/361), so here we
|
| 42 |
+
are.
|
| 43 |
+
|
| 44 |
+
There are two opportunities for non-canonical encoding (and thus, detection of the same during decoding): the final bits
|
| 45 |
+
of the last encoded token in two or three token suffixes, and the `=` token used to inflate the suffix to a full four
|
| 46 |
+
tokens.
|
| 47 |
+
|
| 48 |
+
The trailing bits issue is unavoidable: with 6 bits available in each encoded token, 1 input byte takes 2 tokens,
|
| 49 |
+
with the second one having some bits unused. Same for two input bytes: 16 bits, but 3 tokens have 18 bits. Unless we
|
| 50 |
+
decide to stop shipping whole bytes around, we're stuck with those extra bits that a sneaky or buggy encoder might set
|
| 51 |
+
to 1 instead of 0.
|
| 52 |
+
|
| 53 |
+
The `=` pad bytes, on the other hand, are entirely a self-own by the Base64 standard. They do not affect decoding other
|
| 54 |
+
than to provide an opportunity to say "that padding is incorrect". Exabytes of storage and transfer have no doubt been
|
| 55 |
+
wasted on pointless `=` bytes. Somehow we all seem to be quite comfortable with, say, hex-encoded data just stopping
|
| 56 |
+
when it's done rather than requiring a confirmation that the author of the encoder could count to four. Anyway, there
|
| 57 |
+
are two ways to make pad bytes predictable: require canonical padding to the next multiple of four bytes as per the RFC,
|
| 58 |
+
or, if you control all producers and consumers, save a few bytes by requiring no padding (especially applicable to the
|
| 59 |
+
url-safe alphabet).
|
| 60 |
+
|
| 61 |
+
All `Engine` implementations must at a minimum support treating non-canonical padding of both types as an error, and
|
| 62 |
+
optionally may allow other behaviors.
|
| 63 |
+
|
| 64 |
+
## Rust version compatibility
|
| 65 |
+
|
| 66 |
+
The minimum supported Rust version is 1.48.0.
|
| 67 |
+
|
| 68 |
+
# Contributing
|
| 69 |
+
|
| 70 |
+
Contributions are very welcome. However, because this library is used widely, and in security-sensitive contexts, all
|
| 71 |
+
PRs will be carefully scrutinized. Beyond that, this sort of low level library simply needs to be 100% correct. Nobody
|
| 72 |
+
wants to chase bugs in encoding of any sort.
|
| 73 |
+
|
| 74 |
+
All this means that it takes me a fair amount of time to review each PR, so it might take quite a while to carve out the
|
| 75 |
+
free time to give each PR the attention it deserves. I will get to everyone eventually!
|
| 76 |
+
|
| 77 |
+
## Developing
|
| 78 |
+
|
| 79 |
+
Benchmarks are in `benches/`.
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
cargo bench
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## no_std
|
| 86 |
+
|
| 87 |
+
This crate supports no_std. By default the crate targets std via the `std` feature. You can deactivate
|
| 88 |
+
the `default-features` to target `core` instead. In that case you lose out on all the functionality revolving
|
| 89 |
+
around `std::io`, `std::error::Error`, and heap allocations. There is an additional `alloc` feature that you can activate
|
| 90 |
+
to bring back the support for heap allocations.
|
| 91 |
+
|
| 92 |
+
## Profiling
|
| 93 |
+
|
| 94 |
+
On Linux, you can use [perf](https://perf.wiki.kernel.org/index.php/Main_Page) for profiling. Then compile the
|
| 95 |
+
benchmarks with `cargo bench --no-run`.
|
| 96 |
+
|
| 97 |
+
Run the benchmark binary with `perf` (shown here filtering to one particular benchmark, which will make the results
|
| 98 |
+
easier to read). `perf` is only available to the root user on most systems as it fiddles with event counters in your
|
| 99 |
+
CPU, so use `sudo`. We need to run the actual benchmark binary, hence the path into `target`. You can see the actual
|
| 100 |
+
full path with `cargo bench -v`; it will print out the commands it runs. If you use the exact path
|
| 101 |
+
that `bench` outputs, make sure you get the one that's for the benchmarks, not the tests. You may also want
|
| 102 |
+
to `cargo clean` so you have only one `benchmarks-` binary (they tend to accumulate).
|
| 103 |
+
|
| 104 |
+
```bash
|
| 105 |
+
sudo perf record target/release/deps/benchmarks-* --bench decode_10mib_reuse
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
Then analyze the results, again with perf:
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
sudo perf annotate -l
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
You'll see a bunch of interleaved rust source and assembly like this. The section with `lib.rs:327` is telling us that
|
| 115 |
+
4.02% of samples saw the `movzbl` aka bit shift as the active instruction. However, this percentage is not as exact as
|
| 116 |
+
it seems due to a phenomenon called *skid*. Basically, a consequence of how fancy modern CPUs are is that this sort of
|
| 117 |
+
instruction profiling is inherently inaccurate, especially in branch-heavy code.
|
| 118 |
+
|
| 119 |
+
```text
|
| 120 |
+
lib.rs:322 0.70 : 10698: mov %rdi,%rax
|
| 121 |
+
2.82 : 1069b: shr $0x38,%rax
|
| 122 |
+
: if morsel == decode_tables::INVALID_VALUE {
|
| 123 |
+
: bad_byte_index = input_index;
|
| 124 |
+
: break;
|
| 125 |
+
: };
|
| 126 |
+
: accum = (morsel as u64) << 58;
|
| 127 |
+
lib.rs:327 4.02 : 1069f: movzbl (%r9,%rax,1),%r15d
|
| 128 |
+
: // fast loop of 8 bytes at a time
|
| 129 |
+
: while input_index < length_of_full_chunks {
|
| 130 |
+
: let mut accum: u64;
|
| 131 |
+
:
|
| 132 |
+
: let input_chunk = BigEndian::read_u64(&input_bytes[input_index..(input_index + 8)]);
|
| 133 |
+
: morsel = decode_table[(input_chunk >> 56) as usize];
|
| 134 |
+
lib.rs:322 3.68 : 106a4: cmp $0xff,%r15
|
| 135 |
+
: if morsel == decode_tables::INVALID_VALUE {
|
| 136 |
+
0.00 : 106ab: je 1090e <base64::decode_config_buf::hbf68a45fefa299c1+0x46e>
|
| 137 |
+
```
|
| 138 |
+
|
| 139 |
+
## Fuzzing
|
| 140 |
+
|
| 141 |
+
This uses [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz). See `fuzz/fuzzers` for the available fuzzing scripts.
|
| 142 |
+
To run, use an invocation like these:
|
| 143 |
+
|
| 144 |
+
```bash
|
| 145 |
+
cargo +nightly fuzz run roundtrip
|
| 146 |
+
cargo +nightly fuzz run roundtrip_no_pad
|
| 147 |
+
cargo +nightly fuzz run roundtrip_random_config -- -max_len=10240
|
| 148 |
+
cargo +nightly fuzz run decode_random
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
## License
|
| 152 |
+
|
| 153 |
+
This project is dual-licensed under MIT and Apache 2.0.
|
| 154 |
+
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/RELEASE-NOTES.md
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 0.22.1
|
| 2 |
+
|
| 3 |
+
- Correct the symbols used for the predefined `alphabet::BIN_HEX`.
|
| 4 |
+
|
| 5 |
+
# 0.22.0
|
| 6 |
+
|
| 7 |
+
- `DecodeSliceError::OutputSliceTooSmall` is now conservative rather than precise. That is, the error will only occur if the decoded output _cannot_ fit, meaning that `Engine::decode_slice` can now be used with exactly-sized output slices. As part of this, `Engine::internal_decode` now returns `DecodeSliceError` instead of `DecodeError`, but that is not expected to affect any external callers.
|
| 8 |
+
- `DecodeError::InvalidLength` now refers specifically to the _number of valid symbols_ being invalid (i.e. `len % 4 == 1`), rather than just the number of input bytes. This avoids confusing scenarios when based on interpretation you could make a case for either `InvalidLength` or `InvalidByte` being appropriate.
|
| 9 |
+
- Decoding is somewhat faster (5-10%)
|
| 10 |
+
|
| 11 |
+
# 0.21.7
|
| 12 |
+
|
| 13 |
+
- Support getting an alphabet's contents as a str via `Alphabet::as_str()`
|
| 14 |
+
|
| 15 |
+
# 0.21.6
|
| 16 |
+
|
| 17 |
+
- Improved introductory documentation and example
|
| 18 |
+
|
| 19 |
+
# 0.21.5
|
| 20 |
+
|
| 21 |
+
- Add `Debug` and `Clone` impls for the general purpose Engine
|
| 22 |
+
|
| 23 |
+
# 0.21.4
|
| 24 |
+
|
| 25 |
+
- Make `encoded_len` `const`, allowing the creation of arrays sized to encode compile-time-known data lengths
|
| 26 |
+
|
| 27 |
+
# 0.21.3
|
| 28 |
+
|
| 29 |
+
- Implement `source` instead of `cause` on Error types
|
| 30 |
+
- Roll back MSRV to 1.48.0 so Debian can continue to live in a time warp
|
| 31 |
+
- Slightly faster chunked encoding for short inputs
|
| 32 |
+
- Decrease binary size
|
| 33 |
+
|
| 34 |
+
# 0.21.2
|
| 35 |
+
|
| 36 |
+
- Rollback MSRV to 1.57.0 -- only dev dependencies need 1.60, not the main code
|
| 37 |
+
|
| 38 |
+
# 0.21.1
|
| 39 |
+
|
| 40 |
+
- Remove the possibility of panicking during decoded length calculations
|
| 41 |
+
- `DecoderReader` no longer sometimes erroneously ignores
|
| 42 |
+
padding [#226](https://github.com/marshallpierce/rust-base64/issues/226)
|
| 43 |
+
|
| 44 |
+
## Breaking changes
|
| 45 |
+
|
| 46 |
+
- `Engine.internal_decode` return type changed
|
| 47 |
+
- Update MSRV to 1.60.0
|
| 48 |
+
|
| 49 |
+
# 0.21.0
|
| 50 |
+
|
| 51 |
+
## Migration
|
| 52 |
+
|
| 53 |
+
### Functions
|
| 54 |
+
|
| 55 |
+
| < 0.20 function | 0.21 equivalent |
|
| 56 |
+
|-------------------------|-------------------------------------------------------------------------------------|
|
| 57 |
+
| `encode()` | `engine::general_purpose::STANDARD.encode()` or `prelude::BASE64_STANDARD.encode()` |
|
| 58 |
+
| `encode_config()` | `engine.encode()` |
|
| 59 |
+
| `encode_config_buf()` | `engine.encode_string()` |
|
| 60 |
+
| `encode_config_slice()` | `engine.encode_slice()` |
|
| 61 |
+
| `decode()` | `engine::general_purpose::STANDARD.decode()` or `prelude::BASE64_STANDARD.decode()` |
|
| 62 |
+
| `decode_config()` | `engine.decode()` |
|
| 63 |
+
| `decode_config_buf()` | `engine.decode_vec()` |
|
| 64 |
+
| `decode_config_slice()` | `engine.decode_slice()` |
|
| 65 |
+
|
| 66 |
+
The short-lived 0.20 functions were the 0.13 functions with `config` replaced with `engine`.
|
| 67 |
+
|
| 68 |
+
### Padding
|
| 69 |
+
|
| 70 |
+
If applicable, use the preset engines `engine::STANDARD`, `engine::STANDARD_NO_PAD`, `engine::URL_SAFE`,
|
| 71 |
+
or `engine::URL_SAFE_NO_PAD`.
|
| 72 |
+
The `NO_PAD` ones require that padding is absent when decoding, and the others require that
|
| 73 |
+
canonical padding is present .
|
| 74 |
+
|
| 75 |
+
If you need the < 0.20 behavior that did not care about padding, or want to recreate < 0.20.0's predefined `Config`s
|
| 76 |
+
precisely, see the following table.
|
| 77 |
+
|
| 78 |
+
| 0.13.1 Config | 0.20.0+ alphabet | `encode_padding` | `decode_padding_mode` |
|
| 79 |
+
|-----------------|------------------|------------------|-----------------------|
|
| 80 |
+
| STANDARD | STANDARD | true | Indifferent |
|
| 81 |
+
| STANDARD_NO_PAD | STANDARD | false | Indifferent |
|
| 82 |
+
| URL_SAFE | URL_SAFE | true | Indifferent |
|
| 83 |
+
| URL_SAFE_NO_PAD | URL_SAFE | false | Indifferent |
|
| 84 |
+
|
| 85 |
+
# 0.21.0-rc.1
|
| 86 |
+
|
| 87 |
+
- Restore the ability to decode into a slice of precisely the correct length with `Engine.decode_slice_unchecked`.
|
| 88 |
+
- Add `Engine` as a `pub use` in `prelude`.
|
| 89 |
+
|
| 90 |
+
# 0.21.0-beta.2
|
| 91 |
+
|
| 92 |
+
## Breaking changes
|
| 93 |
+
|
| 94 |
+
- Re-exports of preconfigured engines in `engine` are removed in favor of `base64::prelude::...` that are better suited
|
| 95 |
+
to those who wish to `use` the entire path to a name.
|
| 96 |
+
|
| 97 |
+
# 0.21.0-beta.1
|
| 98 |
+
|
| 99 |
+
## Breaking changes
|
| 100 |
+
|
| 101 |
+
- `FastPortable` was only meant to be an interim name, and shouldn't have shipped in 0.20. It is now `GeneralPurpose` to
|
| 102 |
+
make its intended usage more clear.
|
| 103 |
+
- `GeneralPurpose` and its config are now `pub use`'d in the `engine` module for convenience.
|
| 104 |
+
- Change a few `from()` functions to be `new()`. `from()` causes confusing compiler errors because of confusion
|
| 105 |
+
with `From::from`, and is a little misleading because some of those invocations are not very cheap as one would
|
| 106 |
+
usually expect from a `from` call.
|
| 107 |
+
- `encode*` and `decode*` top level functions are now methods on `Engine`.
|
| 108 |
+
- `DEFAULT_ENGINE` was replaced by `engine::general_purpose::STANDARD`
|
| 109 |
+
- Predefined engine consts `engine::general_purpose::{STANDARD, STANDARD_NO_PAD, URL_SAFE, URL_SAFE_NO_PAD}`
|
| 110 |
+
- These are `pub use`d into `engine` as well
|
| 111 |
+
- The `*_slice` decode/encode functions now return an error instead of panicking when the output slice is too small
|
| 112 |
+
- As part of this, there isn't now a public way to decode into a slice _exactly_ the size needed for inputs that
|
| 113 |
+
aren't multiples of 4 tokens. If adding up to 2 bytes to always be a multiple of 3 bytes for the decode buffer is
|
| 114 |
+
a problem, file an issue.
|
| 115 |
+
|
| 116 |
+
## Other changes
|
| 117 |
+
|
| 118 |
+
- `decoded_len_estimate()` is provided to make it easy to size decode buffers correctly.
|
| 119 |
+
|
| 120 |
+
# 0.20.0
|
| 121 |
+
|
| 122 |
+
## Breaking changes
|
| 123 |
+
|
| 124 |
+
- Update MSRV to 1.57.0
|
| 125 |
+
- Decoding can now either ignore padding, require correct padding, or require no padding. The default is to require
|
| 126 |
+
correct padding.
|
| 127 |
+
- The `NO_PAD` config now requires that padding be absent when decoding.
|
| 128 |
+
|
| 129 |
+
## 0.20.0-alpha.1
|
| 130 |
+
|
| 131 |
+
### Breaking changes
|
| 132 |
+
|
| 133 |
+
- Extended the `Config` concept into the `Engine` abstraction, allowing the user to pick different encoding / decoding
|
| 134 |
+
implementations.
|
| 135 |
+
- What was formerly the only algorithm is now the `FastPortable` engine, so named because it's portable (works on
|
| 136 |
+
any CPU) and relatively fast.
|
| 137 |
+
- This opens the door to a portable constant-time
|
| 138 |
+
implementation ([#153](https://github.com/marshallpierce/rust-base64/pull/153),
|
| 139 |
+
presumably `ConstantTimePortable`?) for security-sensitive applications that need side-channel resistance, and
|
| 140 |
+
CPU-specific SIMD implementations for more speed.
|
| 141 |
+
- Standard base64 per the RFC is available via `DEFAULT_ENGINE`. To use different alphabets or other settings (
|
| 142 |
+
padding, etc), create your own engine instance.
|
| 143 |
+
- `CharacterSet` is now `Alphabet` (per the RFC), and allows creating custom alphabets. The corresponding tables that
|
| 144 |
+
were previously code-generated are now built dynamically.
|
| 145 |
+
- Since there are already multiple breaking changes, various functions are renamed to be more consistent and
|
| 146 |
+
discoverable.
|
| 147 |
+
- MSRV is now 1.47.0 to allow various things to use `const fn`.
|
| 148 |
+
- `DecoderReader` now owns its inner reader, and can expose it via `into_inner()`. For symmetry, `EncoderWriter` can do
|
| 149 |
+
the same with its writer.
|
| 150 |
+
- `encoded_len` is now public so you can size encode buffers precisely.
|
| 151 |
+
|
| 152 |
+
# 0.13.1
|
| 153 |
+
|
| 154 |
+
- More precise decode buffer sizing, avoiding unnecessary allocation in `decode_config`.
|
| 155 |
+
|
| 156 |
+
# 0.13.0
|
| 157 |
+
|
| 158 |
+
- Config methods are const
|
| 159 |
+
- Added `EncoderStringWriter` to allow encoding directly to a String
|
| 160 |
+
- `EncoderWriter` now owns its delegate writer rather than keeping a reference to it (though refs still work)
|
| 161 |
+
- As a consequence, it is now possible to extract the delegate writer from an `EncoderWriter` via `finish()`, which
|
| 162 |
+
returns `Result<W>` instead of `Result<()>`. If you were calling `finish()` explicitly, you will now need to
|
| 163 |
+
use `let _ = foo.finish()` instead of just `foo.finish()` to avoid a warning about the unused value.
|
| 164 |
+
- When decoding input that has both an invalid length and an invalid symbol as the last byte, `InvalidByte` will be
|
| 165 |
+
emitted instead of `InvalidLength` to make the problem more obvious.
|
| 166 |
+
|
| 167 |
+
# 0.12.2
|
| 168 |
+
|
| 169 |
+
- Add `BinHex` alphabet
|
| 170 |
+
|
| 171 |
+
# 0.12.1
|
| 172 |
+
|
| 173 |
+
- Add `Bcrypt` alphabet
|
| 174 |
+
|
| 175 |
+
# 0.12.0
|
| 176 |
+
|
| 177 |
+
- A `Read` implementation (`DecoderReader`) to let users transparently decoded data from a b64 input source
|
| 178 |
+
- IMAP's modified b64 alphabet
|
| 179 |
+
- Relaxed type restrictions to just `AsRef<[ut8]>` for main `encode*`/`decode*` functions
|
| 180 |
+
- A minor performance improvement in encoding
|
| 181 |
+
|
| 182 |
+
# 0.11.0
|
| 183 |
+
|
| 184 |
+
- Minimum rust version 1.34.0
|
| 185 |
+
- `no_std` is now supported via the two new features `alloc` and `std`.
|
| 186 |
+
|
| 187 |
+
# 0.10.1
|
| 188 |
+
|
| 189 |
+
- Minimum rust version 1.27.2
|
| 190 |
+
- Fix bug in streaming encoding ([#90](https://github.com/marshallpierce/rust-base64/pull/90)): if the underlying writer
|
| 191 |
+
didn't write all the bytes given to it, the remaining bytes would not be retried later. See the docs
|
| 192 |
+
on `EncoderWriter::write`.
|
| 193 |
+
- Make it configurable whether or not to return an error when decoding detects excess trailing bits.
|
| 194 |
+
|
| 195 |
+
# 0.10.0
|
| 196 |
+
|
| 197 |
+
- Remove line wrapping. Line wrapping was never a great conceptual fit in this library, and other features (streaming
|
| 198 |
+
encoding, etc) either couldn't support it or could support only special cases of it with a great increase in
|
| 199 |
+
complexity. Line wrapping has been pulled out into a [line-wrap](https://crates.io/crates/line-wrap) crate, so it's
|
| 200 |
+
still available if you need it.
|
| 201 |
+
- `Base64Display` creation no longer uses a `Result` because it can't fail, which means its helper methods for
|
| 202 |
+
common
|
| 203 |
+
configs that `unwrap()` for you are no longer needed
|
| 204 |
+
- Add a streaming encoder `Write` impl to transparently base64 as you write.
|
| 205 |
+
- Remove the remaining `unsafe` code.
|
| 206 |
+
- Remove whitespace stripping to simplify `no_std` support. No out of the box configs use it, and it's trivial to do
|
| 207 |
+
yourself if needed: `filter(|b| !b" \n\t\r\x0b\x0c".contains(b)`.
|
| 208 |
+
- Detect invalid trailing symbols when decoding and return an error rather than silently ignoring them.
|
| 209 |
+
|
| 210 |
+
# 0.9.3
|
| 211 |
+
|
| 212 |
+
- Update safemem
|
| 213 |
+
|
| 214 |
+
# 0.9.2
|
| 215 |
+
|
| 216 |
+
- Derive `Clone` for `DecodeError`.
|
| 217 |
+
|
| 218 |
+
# 0.9.1
|
| 219 |
+
|
| 220 |
+
- Add support for `crypt(3)`'s base64 variant.
|
| 221 |
+
|
| 222 |
+
# 0.9.0
|
| 223 |
+
|
| 224 |
+
- `decode_config_slice` function for no-allocation decoding, analogous to `encode_config_slice`
|
| 225 |
+
- Decode performance optimization
|
| 226 |
+
|
| 227 |
+
# 0.8.0
|
| 228 |
+
|
| 229 |
+
- `encode_config_slice` function for no-allocation encoding
|
| 230 |
+
|
| 231 |
+
# 0.7.0
|
| 232 |
+
|
| 233 |
+
- `STANDARD_NO_PAD` config
|
| 234 |
+
- `Base64Display` heap-free wrapper for use in format strings, etc
|
| 235 |
+
|
| 236 |
+
# 0.6.0
|
| 237 |
+
|
| 238 |
+
- Decode performance improvements
|
| 239 |
+
- Use `unsafe` in fewer places
|
| 240 |
+
- Added fuzzers
|
| 241 |
+
|
| 242 |
+
# 0.5.2
|
| 243 |
+
|
| 244 |
+
- Avoid usize overflow when calculating length
|
| 245 |
+
- Better line wrapping performance
|
| 246 |
+
|
| 247 |
+
# 0.5.1
|
| 248 |
+
|
| 249 |
+
- Temporarily disable line wrapping
|
| 250 |
+
- Add Apache 2.0 license
|
| 251 |
+
|
| 252 |
+
# 0.5.0
|
| 253 |
+
|
| 254 |
+
- MIME support, including configurable line endings and line wrapping
|
| 255 |
+
- Removed `decode_ws`
|
| 256 |
+
- Renamed `Base64Error` to `DecodeError`
|
| 257 |
+
|
| 258 |
+
# 0.4.1
|
| 259 |
+
|
| 260 |
+
- Allow decoding a `AsRef<[u8]>` instead of just a `&str`
|
| 261 |
+
|
| 262 |
+
# 0.4.0
|
| 263 |
+
|
| 264 |
+
- Configurable padding
|
| 265 |
+
- Encode performance improvements
|
| 266 |
+
|
| 267 |
+
# 0.3.0
|
| 268 |
+
|
| 269 |
+
- Added encode/decode functions that do not allocate their own storage
|
| 270 |
+
- Decode performance improvements
|
| 271 |
+
- Extraneous padding bytes are no longer ignored. Now, an error will be returned.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/clippy.toml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
msrv = "1.48.0"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/base64-0.22.1/icon_CLion.svg
ADDED
|
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "417dccdeff249e0c011327de7d92e0d6fbe7cc43"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/target
|
| 2 |
+
/Cargo.lock
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/CHANGELOG.md
ADDED
|
@@ -0,0 +1,449 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 1.11.1 (February 3rd, 2026)
|
| 2 |
+
|
| 3 |
+
- Fix integer overflow in `BytesMut::reserve`
|
| 4 |
+
|
| 5 |
+
# 1.11.0 (November 14th, 2025)
|
| 6 |
+
|
| 7 |
+
- Bump MSRV to 1.57 (#788)
|
| 8 |
+
|
| 9 |
+
### Fixed
|
| 10 |
+
|
| 11 |
+
- fix: `BytesMut` only reuse if src has remaining (#803)
|
| 12 |
+
- Specialize `BytesMut::put::<Bytes>` (#793)
|
| 13 |
+
- Reserve capacity in `BytesMut::put` (#794)
|
| 14 |
+
- Change `BytesMut::remaining_mut` to use `isize::MAX` instead of `usize::MAX` (#795)
|
| 15 |
+
|
| 16 |
+
### Internal changes
|
| 17 |
+
|
| 18 |
+
- Guarantee address in `slice()` for empty slices. (#780)
|
| 19 |
+
- Rename `Vtable::to_*` -> `Vtable::into_*` (#776)
|
| 20 |
+
- Fix latest clippy warnings (#787)
|
| 21 |
+
- Ignore `BytesMut::freeze` doctest on wasm (#790)
|
| 22 |
+
- Move `drop_fn` of `from_owner` into vtable (#801)
|
| 23 |
+
|
| 24 |
+
# 1.10.1 (March 5th, 2025)
|
| 25 |
+
|
| 26 |
+
### Fixed
|
| 27 |
+
|
| 28 |
+
- Fix memory leak when using `to_vec` with `Bytes::from_owner` (#773)
|
| 29 |
+
|
| 30 |
+
# 1.10.0 (February 3rd, 2025)
|
| 31 |
+
|
| 32 |
+
### Added
|
| 33 |
+
|
| 34 |
+
- Add feature to support platforms without atomic CAS (#467)
|
| 35 |
+
- `try_get_*` methods for `Buf` trait (#753)
|
| 36 |
+
- Implement `Buf::chunks_vectored` for `Take` (#617)
|
| 37 |
+
- Implement `Buf::chunks_vectored` for `VecDeque<u8>` (#708)
|
| 38 |
+
|
| 39 |
+
### Fixed
|
| 40 |
+
|
| 41 |
+
- Remove incorrect guarantee for `chunks_vectored` (#754)
|
| 42 |
+
- Ensure that tests pass under `panic=abort` (#749)
|
| 43 |
+
|
| 44 |
+
# 1.9.0 (November 27, 2024)
|
| 45 |
+
|
| 46 |
+
### Added
|
| 47 |
+
|
| 48 |
+
- Add `Bytes::from_owner` to enable externally-allocated memory (#742)
|
| 49 |
+
|
| 50 |
+
### Documented
|
| 51 |
+
|
| 52 |
+
- Fix typo in Buf::chunk() comment (#744)
|
| 53 |
+
|
| 54 |
+
### Internal changes
|
| 55 |
+
|
| 56 |
+
- Replace BufMut::put with BufMut::put_slice in Writer impl (#745)
|
| 57 |
+
- Rename hex_impl! to fmt_impl! and reuse it for fmt::Debug (#743)
|
| 58 |
+
|
| 59 |
+
# 1.8.0 (October 21, 2024)
|
| 60 |
+
|
| 61 |
+
- Guarantee address in `split_off`/`split_to` for empty slices (#740)
|
| 62 |
+
|
| 63 |
+
# 1.7.2 (September 17, 2024)
|
| 64 |
+
|
| 65 |
+
### Fixed
|
| 66 |
+
|
| 67 |
+
- Fix default impl of `Buf::{get_int, get_int_le}` (#732)
|
| 68 |
+
|
| 69 |
+
### Documented
|
| 70 |
+
|
| 71 |
+
- Fix double spaces in comments and doc comments (#731)
|
| 72 |
+
|
| 73 |
+
### Internal changes
|
| 74 |
+
|
| 75 |
+
- Ensure BytesMut::advance reduces capacity (#728)
|
| 76 |
+
|
| 77 |
+
# 1.7.1 (August 1, 2024)
|
| 78 |
+
|
| 79 |
+
This release reverts the following change due to a regression:
|
| 80 |
+
|
| 81 |
+
- Reuse capacity when possible in `<BytesMut as Buf>::advance` impl (#698)
|
| 82 |
+
|
| 83 |
+
The revert can be found at #726.
|
| 84 |
+
|
| 85 |
+
# 1.7.0 (July 31, 2024)
|
| 86 |
+
|
| 87 |
+
### Added
|
| 88 |
+
|
| 89 |
+
- Add conversion from `Bytes` to `BytesMut` (#695, #710)
|
| 90 |
+
- Add reclaim method without additional allocation (#686)
|
| 91 |
+
|
| 92 |
+
### Documented
|
| 93 |
+
|
| 94 |
+
- Clarify how `BytesMut::zeroed` works (#714)
|
| 95 |
+
- Clarify the behavior of `Buf::chunk` (#717)
|
| 96 |
+
|
| 97 |
+
### Changed
|
| 98 |
+
|
| 99 |
+
- Change length condition of `BytesMut::truncate`
|
| 100 |
+
- Reuse capacity when possible in `<BytesMut as Buf>::advance` impl (#698)
|
| 101 |
+
- Improve `must_use` suggestion of `BytesMut::split` (#699)
|
| 102 |
+
|
| 103 |
+
### Internal changes
|
| 104 |
+
|
| 105 |
+
- Use `ManuallyDrop` instead of `mem::forget` (#678)
|
| 106 |
+
- Don't set `len` in `BytesMut::reserve` (#682)
|
| 107 |
+
- Optimize `Bytes::copy_to_bytes` (#688)
|
| 108 |
+
- Refactor `BytesMut::truncate` (#694)
|
| 109 |
+
- Refactor `BytesMut::resize` (#696)
|
| 110 |
+
- Reorder assertion in `Bytes::split_to`, `Bytes::split_off` (#689, #693)
|
| 111 |
+
- Use `offset_from` in more places (#705)
|
| 112 |
+
- Correct the wrong usage of `IntoIter` (#707)
|
| 113 |
+
|
| 114 |
+
# 1.6.1 (July 13, 2024)
|
| 115 |
+
|
| 116 |
+
This release fixes a bug where `Bytes::is_unique` returns incorrect values when
|
| 117 |
+
the `Bytes` originates from a shared `BytesMut`. (#718)
|
| 118 |
+
|
| 119 |
+
# 1.6.0 (March 22, 2024)
|
| 120 |
+
|
| 121 |
+
### Added
|
| 122 |
+
|
| 123 |
+
- Add `Bytes::is_unique` (#643)
|
| 124 |
+
|
| 125 |
+
### Documented
|
| 126 |
+
|
| 127 |
+
- Fix changelog typo (#628)
|
| 128 |
+
- Fix some spelling mistakes (#633)
|
| 129 |
+
- Typo fix (#637)
|
| 130 |
+
- Fix broken links (#639)
|
| 131 |
+
- Add security policy (#649)
|
| 132 |
+
|
| 133 |
+
### Internal changes
|
| 134 |
+
|
| 135 |
+
- Move comment to correct constant (#629)
|
| 136 |
+
- Various cleanup (#635)
|
| 137 |
+
- Simplify `UninitSlice::as_uninit_slice_mut()` logic (#644)
|
| 138 |
+
- Use `self.` instead of `Self::` (#642)
|
| 139 |
+
- `BytesMut`: Assert alignment of `Shared` (#652)
|
| 140 |
+
- Remove unnecessary namespace qualifier (#660)
|
| 141 |
+
- Remove an unnecessary else branch (#662)
|
| 142 |
+
- Remove unreachable else branch (#661)
|
| 143 |
+
- make parameter mut in `From<Vec>` (#667)
|
| 144 |
+
- Restore commented tests (#665)
|
| 145 |
+
- Use `sub` instead of `offset` (#668)
|
| 146 |
+
- Calculate original capacity only if necessary (#666)
|
| 147 |
+
- `set_vec_pos` does not need a second parameter (#672)
|
| 148 |
+
- `get_vec_pos`: use `&self` instead of `&mut self` (#670)
|
| 149 |
+
- Refactor `split_at`/`split_to` (#663)
|
| 150 |
+
- Use `Iterator` from the prelude (#673)
|
| 151 |
+
- `copy_to_bytes`: Add panic section to docs (#676)
|
| 152 |
+
- Remove redundant reserve call (#674)
|
| 153 |
+
- Use `ManuallyDrop` instead of `mem::forget` (#675)
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
# 1.5.0 (September 7, 2023)
|
| 157 |
+
|
| 158 |
+
### Added
|
| 159 |
+
|
| 160 |
+
- Add `UninitSlice::{new,uninit}` (#598, #599)
|
| 161 |
+
- Implement `BufMut` for `&mut [MaybeUninit<u8>]` (#597)
|
| 162 |
+
|
| 163 |
+
### Changed
|
| 164 |
+
|
| 165 |
+
- Mark `BytesMut::extend_from_slice` as inline (#595)
|
| 166 |
+
|
| 167 |
+
# 1.4.0 (January 31, 2023)
|
| 168 |
+
|
| 169 |
+
### Added
|
| 170 |
+
|
| 171 |
+
- Make `IntoIter` constructor public (#581)
|
| 172 |
+
|
| 173 |
+
### Fixed
|
| 174 |
+
|
| 175 |
+
- Avoid large reallocations when freezing `BytesMut` (#592)
|
| 176 |
+
|
| 177 |
+
### Documented
|
| 178 |
+
|
| 179 |
+
- Document which functions require `std` (#591)
|
| 180 |
+
- Fix duplicate "the the" typos (#585)
|
| 181 |
+
|
| 182 |
+
# 1.3.0 (November 20, 2022)
|
| 183 |
+
|
| 184 |
+
### Added
|
| 185 |
+
|
| 186 |
+
- Rename and expose `BytesMut::spare_capacity_mut` (#572)
|
| 187 |
+
- Implement native-endian get and put functions for `Buf` and `BufMut` (#576)
|
| 188 |
+
|
| 189 |
+
### Fixed
|
| 190 |
+
|
| 191 |
+
- Don't have important data in unused capacity when calling reserve (#563)
|
| 192 |
+
|
| 193 |
+
### Documented
|
| 194 |
+
|
| 195 |
+
- `Bytes::new` etc should return `Self` not `Bytes` (#568)
|
| 196 |
+
|
| 197 |
+
# 1.2.1 (July 30, 2022)
|
| 198 |
+
|
| 199 |
+
### Fixed
|
| 200 |
+
|
| 201 |
+
- Fix unbounded memory growth when using `reserve` (#560)
|
| 202 |
+
|
| 203 |
+
# 1.2.0 (July 19, 2022)
|
| 204 |
+
|
| 205 |
+
### Added
|
| 206 |
+
|
| 207 |
+
- Add `BytesMut::zeroed` (#517)
|
| 208 |
+
- Implement `Extend<Bytes>` for `BytesMut` (#527)
|
| 209 |
+
- Add conversion from `BytesMut` to `Vec<u8>` (#543, #554)
|
| 210 |
+
- Add conversion from `Bytes` to `Vec<u8>` (#547)
|
| 211 |
+
- Add `UninitSlice::as_uninit_slice_mut()` (#548)
|
| 212 |
+
- Add const to `Bytes::{len,is_empty}` (#514)
|
| 213 |
+
|
| 214 |
+
### Changed
|
| 215 |
+
|
| 216 |
+
- Reuse vector in `BytesMut::reserve` (#539, #544)
|
| 217 |
+
|
| 218 |
+
### Fixed
|
| 219 |
+
|
| 220 |
+
- Make miri happy (#515, #523, #542, #545, #553)
|
| 221 |
+
- Make tsan happy (#541)
|
| 222 |
+
- Fix `remaining_mut()` on chain (#488)
|
| 223 |
+
- Fix amortized asymptotics of `BytesMut` (#555)
|
| 224 |
+
|
| 225 |
+
### Documented
|
| 226 |
+
|
| 227 |
+
- Redraw layout diagram with box drawing characters (#539)
|
| 228 |
+
- Clarify `BytesMut::unsplit` docs (#535)
|
| 229 |
+
|
| 230 |
+
# 1.1.0 (August 25, 2021)
|
| 231 |
+
|
| 232 |
+
### Added
|
| 233 |
+
|
| 234 |
+
- `BufMut::put_bytes(self, val, cnt)` (#487)
|
| 235 |
+
- Implement `From<Box<[u8]>>` for `Bytes` (#504)
|
| 236 |
+
|
| 237 |
+
### Changed
|
| 238 |
+
|
| 239 |
+
- Override `put_slice` for `&mut [u8]` (#483)
|
| 240 |
+
- Panic on integer overflow in `Chain::remaining` (#482)
|
| 241 |
+
- Add inline tags to `UninitSlice` methods (#443)
|
| 242 |
+
- Override `copy_to_bytes` for Chain and Take (#481)
|
| 243 |
+
- Keep capacity when unsplit on empty other buf (#502)
|
| 244 |
+
|
| 245 |
+
### Documented
|
| 246 |
+
|
| 247 |
+
- Clarify `BufMut` allocation guarantees (#501)
|
| 248 |
+
- Clarify `BufMut::put_int` behavior (#486)
|
| 249 |
+
- Clarify actions of `clear` and `truncate`. (#508)
|
| 250 |
+
|
| 251 |
+
# 1.0.1 (January 11, 2021)
|
| 252 |
+
|
| 253 |
+
### Changed
|
| 254 |
+
- mark `Vec::put_slice` with `#[inline]` (#459)
|
| 255 |
+
|
| 256 |
+
### Fixed
|
| 257 |
+
- Fix deprecation warning (#457)
|
| 258 |
+
- use `Box::into_raw` instead of `mem::forget`-in-disguise (#458)
|
| 259 |
+
|
| 260 |
+
# 1.0.0 (December 22, 2020)
|
| 261 |
+
|
| 262 |
+
### Changed
|
| 263 |
+
- Rename `Buf`/`BufMut` methods `bytes()` and `bytes_mut()` to `chunk()` and `chunk_mut()` (#450)
|
| 264 |
+
|
| 265 |
+
### Removed
|
| 266 |
+
- remove unused Buf implementation. (#449)
|
| 267 |
+
|
| 268 |
+
# 0.6.0 (October 21, 2020)
|
| 269 |
+
|
| 270 |
+
API polish in preparation for a 1.0 release.
|
| 271 |
+
|
| 272 |
+
### Changed
|
| 273 |
+
- `BufMut` is now an `unsafe` trait (#432).
|
| 274 |
+
- `BufMut::bytes_mut()` returns `&mut UninitSlice`, a type owned by `bytes` to
|
| 275 |
+
avoid undefined behavior (#433).
|
| 276 |
+
- `Buf::copy_to_bytes(len)` replaces `Buf::into_bytes()` (#439).
|
| 277 |
+
- `Buf`/`BufMut` utility methods are moved onto the trait and `*Ext` traits are
|
| 278 |
+
removed (#431).
|
| 279 |
+
|
| 280 |
+
### Removed
|
| 281 |
+
- `BufMut::bytes_vectored_mut()` (#430).
|
| 282 |
+
- `new` methods on combinator types (#434).
|
| 283 |
+
|
| 284 |
+
# 0.5.6 (July 13, 2020)
|
| 285 |
+
|
| 286 |
+
- Improve `BytesMut` to reuse buffer when fully `advance`d.
|
| 287 |
+
- Mark `BytesMut::{as_mut, set_len}` with `#[inline]`.
|
| 288 |
+
- Relax synchronization when cloning in shared vtable of `Bytes`.
|
| 289 |
+
- Move `loom` to `dev-dependencies`.
|
| 290 |
+
|
| 291 |
+
# 0.5.5 (June 18, 2020)
|
| 292 |
+
|
| 293 |
+
### Added
|
| 294 |
+
- Allow using the `serde` feature in `no_std` environments (#385).
|
| 295 |
+
|
| 296 |
+
### Fix
|
| 297 |
+
- Fix `BufMut::advance_mut` to panic if advanced passed the capacity (#354)..
|
| 298 |
+
- Fix `BytesMut::freeze` ignoring amount previously `advance`d (#352).
|
| 299 |
+
|
| 300 |
+
# 0.5.4 (January 23, 2020)
|
| 301 |
+
|
| 302 |
+
### Added
|
| 303 |
+
- Make `Bytes::new` a `const fn`.
|
| 304 |
+
- Add `From<BytesMut>` for `Bytes`.
|
| 305 |
+
|
| 306 |
+
### Fix
|
| 307 |
+
- Fix reversed arguments in `PartialOrd` for `Bytes`.
|
| 308 |
+
- Fix `Bytes::truncate` losing original capacity when repr is an unshared `Vec`.
|
| 309 |
+
- Fix `Bytes::from(Vec)` when allocator gave `Vec` a pointer with LSB set.
|
| 310 |
+
- Fix panic in `Bytes::slice_ref` if argument is an empty slice.
|
| 311 |
+
|
| 312 |
+
# 0.5.3 (December 12, 2019)
|
| 313 |
+
|
| 314 |
+
### Added
|
| 315 |
+
- `must_use` attributes to `split`, `split_off`, and `split_to` methods (#337).
|
| 316 |
+
|
| 317 |
+
### Fix
|
| 318 |
+
- Potential freeing of a null pointer in `Bytes` when constructed with an empty `Vec<u8>` (#341, #342).
|
| 319 |
+
- Calling `Bytes::truncate` with a size large than the length will no longer clear the `Bytes` (#333).
|
| 320 |
+
|
| 321 |
+
# 0.5.2 (November 27, 2019)
|
| 322 |
+
|
| 323 |
+
### Added
|
| 324 |
+
- `Limit` methods `into_inner`, `get_ref`, `get_mut`, `limit`, and `set_limit` (#325).
|
| 325 |
+
|
| 326 |
+
# 0.5.1 (November 25, 2019)
|
| 327 |
+
|
| 328 |
+
### Fix
|
| 329 |
+
- Growth documentation for `BytesMut` (#321)
|
| 330 |
+
|
| 331 |
+
# 0.5.0 (November 25, 2019)
|
| 332 |
+
|
| 333 |
+
### Fix
|
| 334 |
+
- Potential overflow in `copy_to_slice`
|
| 335 |
+
|
| 336 |
+
### Changed
|
| 337 |
+
- Increased minimum supported Rust version to 1.39.
|
| 338 |
+
- `Bytes` is now a "trait object", allowing for custom allocation strategies (#298)
|
| 339 |
+
- `BytesMut` implicitly grows internal storage. `remaining_mut()` returns
|
| 340 |
+
`usize::MAX` (#316).
|
| 341 |
+
- `BufMut::bytes_mut` returns `&mut [MaybeUninit<u8>]` to reflect the unknown
|
| 342 |
+
initialization state (#305).
|
| 343 |
+
- `Buf` / `BufMut` implementations for `&[u8]` and `&mut [u8]`
|
| 344 |
+
respectively (#261).
|
| 345 |
+
- Move `Buf` / `BufMut` "extra" functions to an extension trait (#306).
|
| 346 |
+
- `BufMutExt::limit` (#309).
|
| 347 |
+
- `Bytes::slice` takes a `RangeBounds` argument (#265).
|
| 348 |
+
- `Bytes::from_static` is now a `const fn` (#311).
|
| 349 |
+
- A multitude of smaller performance optimizations.
|
| 350 |
+
|
| 351 |
+
### Added
|
| 352 |
+
- `no_std` support (#281).
|
| 353 |
+
- `get_*`, `put_*`, `get_*_le`, and `put_*le` accessors for handling byte order.
|
| 354 |
+
- `BorrowMut` implementation for `BytesMut` (#185).
|
| 355 |
+
|
| 356 |
+
### Removed
|
| 357 |
+
- `IntoBuf` (#288).
|
| 358 |
+
- `Buf` implementation for `&str` (#301).
|
| 359 |
+
- `byteorder` dependency (#280).
|
| 360 |
+
- `iovec` dependency, use `std::IoSlice` instead (#263).
|
| 361 |
+
- optional `either` dependency (#315).
|
| 362 |
+
- optional `i128` feature -- now available on stable. (#276).
|
| 363 |
+
|
| 364 |
+
# 0.4.12 (March 6, 2019)
|
| 365 |
+
|
| 366 |
+
### Added
|
| 367 |
+
- Implement `FromIterator<&'a u8>` for `BytesMut`/`Bytes` (#244).
|
| 368 |
+
- Implement `Buf` for `VecDeque` (#249).
|
| 369 |
+
|
| 370 |
+
# 0.4.11 (November 17, 2018)
|
| 371 |
+
|
| 372 |
+
* Use raw pointers for potentially racy loads (#233).
|
| 373 |
+
* Implement `BufRead` for `buf::Reader` (#232).
|
| 374 |
+
* Documentation tweaks (#234).
|
| 375 |
+
|
| 376 |
+
# 0.4.10 (September 4, 2018)
|
| 377 |
+
|
| 378 |
+
* impl `Buf` and `BufMut` for `Either` (#225).
|
| 379 |
+
* Add `Bytes::slice_ref` (#208).
|
| 380 |
+
|
| 381 |
+
# 0.4.9 (July 12, 2018)
|
| 382 |
+
|
| 383 |
+
* Add 128 bit number support behind a feature flag (#209).
|
| 384 |
+
* Implement `IntoBuf` for `&mut [u8]`
|
| 385 |
+
|
| 386 |
+
# 0.4.8 (May 25, 2018)
|
| 387 |
+
|
| 388 |
+
* Fix panic in `BytesMut` `FromIterator` implementation.
|
| 389 |
+
* Bytes: Recycle space when reserving space in vec mode (#197).
|
| 390 |
+
* Bytes: Add resize fn (#203).
|
| 391 |
+
|
| 392 |
+
# 0.4.7 (April 27, 2018)
|
| 393 |
+
|
| 394 |
+
* Make `Buf` and `BufMut` usable as trait objects (#186).
|
| 395 |
+
* impl BorrowMut for BytesMut (#185).
|
| 396 |
+
* Improve accessor performance (#195).
|
| 397 |
+
|
| 398 |
+
# 0.4.6 (Janary 8, 2018)
|
| 399 |
+
|
| 400 |
+
* Implement FromIterator for Bytes/BytesMut (#148).
|
| 401 |
+
* Add `advance` fn to Bytes/BytesMut (#166).
|
| 402 |
+
* Add `unsplit` fn to `BytesMut` (#162, #173).
|
| 403 |
+
* Improvements to Bytes split fns (#92).
|
| 404 |
+
|
| 405 |
+
# 0.4.5 (August 12, 2017)
|
| 406 |
+
|
| 407 |
+
* Fix range bug in `Take::bytes`
|
| 408 |
+
* Misc performance improvements
|
| 409 |
+
* Add extra `PartialEq` implementations.
|
| 410 |
+
* Add `Bytes::with_capacity`
|
| 411 |
+
* Implement `AsMut[u8]` for `BytesMut`
|
| 412 |
+
|
| 413 |
+
# 0.4.4 (May 26, 2017)
|
| 414 |
+
|
| 415 |
+
* Add serde support behind feature flag
|
| 416 |
+
* Add `extend_from_slice` on `Bytes` and `BytesMut`
|
| 417 |
+
* Add `truncate` and `clear` on `Bytes`
|
| 418 |
+
* Misc additional std trait implementations
|
| 419 |
+
* Misc performance improvements
|
| 420 |
+
|
| 421 |
+
# 0.4.3 (April 30, 2017)
|
| 422 |
+
|
| 423 |
+
* Fix Vec::advance_mut bug
|
| 424 |
+
* Bump minimum Rust version to 1.15
|
| 425 |
+
* Misc performance tweaks
|
| 426 |
+
|
| 427 |
+
# 0.4.2 (April 5, 2017)
|
| 428 |
+
|
| 429 |
+
* Misc performance tweaks
|
| 430 |
+
* Improved `Debug` implementation for `Bytes`
|
| 431 |
+
* Avoid some incorrect assert panics
|
| 432 |
+
|
| 433 |
+
# 0.4.1 (March 15, 2017)
|
| 434 |
+
|
| 435 |
+
* Expose `buf` module and have most types available from there vs. root.
|
| 436 |
+
* Implement `IntoBuf` for `T: Buf`.
|
| 437 |
+
* Add `FromBuf` and `Buf::collect`.
|
| 438 |
+
* Add iterator adapter for `Buf`.
|
| 439 |
+
* Add scatter/gather support to `Buf` and `BufMut`.
|
| 440 |
+
* Add `Buf::chain`.
|
| 441 |
+
* Reduce allocations on repeated calls to `BytesMut::reserve`.
|
| 442 |
+
* Implement `Debug` for more types.
|
| 443 |
+
* Remove `Source` in favor of `IntoBuf`.
|
| 444 |
+
* Implement `Extend` for `BytesMut`.
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
# 0.4.0 (February 24, 2017)
|
| 448 |
+
|
| 449 |
+
* Initial release
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.lock
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 3
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "aho-corasick"
|
| 7 |
+
version = "1.1.4"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"memchr",
|
| 12 |
+
]
|
| 13 |
+
|
| 14 |
+
[[package]]
|
| 15 |
+
name = "bytes"
|
| 16 |
+
version = "1.11.1"
|
| 17 |
+
dependencies = [
|
| 18 |
+
"loom",
|
| 19 |
+
"portable-atomic",
|
| 20 |
+
"serde",
|
| 21 |
+
"serde_test",
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
[[package]]
|
| 25 |
+
name = "cc"
|
| 26 |
+
version = "1.2.45"
|
| 27 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 28 |
+
checksum = "35900b6c8d709fb1d854671ae27aeaa9eec2f8b01b364e1619a40da3e6fe2afe"
|
| 29 |
+
dependencies = [
|
| 30 |
+
"find-msvc-tools",
|
| 31 |
+
"shlex",
|
| 32 |
+
]
|
| 33 |
+
|
| 34 |
+
[[package]]
|
| 35 |
+
name = "cfg-if"
|
| 36 |
+
version = "1.0.4"
|
| 37 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 38 |
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
| 39 |
+
|
| 40 |
+
[[package]]
|
| 41 |
+
name = "find-msvc-tools"
|
| 42 |
+
version = "0.1.4"
|
| 43 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 44 |
+
checksum = "52051878f80a721bb68ebfbc930e07b65ba72f2da88968ea5c06fd6ca3d3a127"
|
| 45 |
+
|
| 46 |
+
[[package]]
|
| 47 |
+
name = "generator"
|
| 48 |
+
version = "0.8.7"
|
| 49 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 50 |
+
checksum = "605183a538e3e2a9c1038635cc5c2d194e2ee8fd0d1b66b8349fad7dbacce5a2"
|
| 51 |
+
dependencies = [
|
| 52 |
+
"cc",
|
| 53 |
+
"cfg-if",
|
| 54 |
+
"libc",
|
| 55 |
+
"log",
|
| 56 |
+
"rustversion",
|
| 57 |
+
"windows",
|
| 58 |
+
]
|
| 59 |
+
|
| 60 |
+
[[package]]
|
| 61 |
+
name = "lazy_static"
|
| 62 |
+
version = "1.5.0"
|
| 63 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 64 |
+
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
| 65 |
+
|
| 66 |
+
[[package]]
|
| 67 |
+
name = "libc"
|
| 68 |
+
version = "0.2.177"
|
| 69 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 70 |
+
checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
|
| 71 |
+
|
| 72 |
+
[[package]]
|
| 73 |
+
name = "log"
|
| 74 |
+
version = "0.4.28"
|
| 75 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 76 |
+
checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
|
| 77 |
+
|
| 78 |
+
[[package]]
|
| 79 |
+
name = "loom"
|
| 80 |
+
version = "0.7.2"
|
| 81 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 82 |
+
checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca"
|
| 83 |
+
dependencies = [
|
| 84 |
+
"cfg-if",
|
| 85 |
+
"generator",
|
| 86 |
+
"scoped-tls",
|
| 87 |
+
"tracing",
|
| 88 |
+
"tracing-subscriber",
|
| 89 |
+
]
|
| 90 |
+
|
| 91 |
+
[[package]]
|
| 92 |
+
name = "matchers"
|
| 93 |
+
version = "0.2.0"
|
| 94 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 95 |
+
checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9"
|
| 96 |
+
dependencies = [
|
| 97 |
+
"regex-automata",
|
| 98 |
+
]
|
| 99 |
+
|
| 100 |
+
[[package]]
|
| 101 |
+
name = "memchr"
|
| 102 |
+
version = "2.7.6"
|
| 103 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 104 |
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
| 105 |
+
|
| 106 |
+
[[package]]
|
| 107 |
+
name = "nu-ansi-term"
|
| 108 |
+
version = "0.50.3"
|
| 109 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 110 |
+
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
|
| 111 |
+
dependencies = [
|
| 112 |
+
"windows-sys",
|
| 113 |
+
]
|
| 114 |
+
|
| 115 |
+
[[package]]
|
| 116 |
+
name = "once_cell"
|
| 117 |
+
version = "1.21.3"
|
| 118 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 119 |
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
| 120 |
+
|
| 121 |
+
[[package]]
|
| 122 |
+
name = "pin-project-lite"
|
| 123 |
+
version = "0.2.16"
|
| 124 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 125 |
+
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
|
| 126 |
+
|
| 127 |
+
[[package]]
|
| 128 |
+
name = "portable-atomic"
|
| 129 |
+
version = "1.11.1"
|
| 130 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 131 |
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
| 132 |
+
|
| 133 |
+
[[package]]
|
| 134 |
+
name = "proc-macro2"
|
| 135 |
+
version = "1.0.103"
|
| 136 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 137 |
+
checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
|
| 138 |
+
dependencies = [
|
| 139 |
+
"unicode-ident",
|
| 140 |
+
]
|
| 141 |
+
|
| 142 |
+
[[package]]
|
| 143 |
+
name = "quote"
|
| 144 |
+
version = "1.0.42"
|
| 145 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 146 |
+
checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
|
| 147 |
+
dependencies = [
|
| 148 |
+
"proc-macro2",
|
| 149 |
+
]
|
| 150 |
+
|
| 151 |
+
[[package]]
|
| 152 |
+
name = "regex-automata"
|
| 153 |
+
version = "0.4.13"
|
| 154 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 155 |
+
checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c"
|
| 156 |
+
dependencies = [
|
| 157 |
+
"aho-corasick",
|
| 158 |
+
"memchr",
|
| 159 |
+
"regex-syntax",
|
| 160 |
+
]
|
| 161 |
+
|
| 162 |
+
[[package]]
|
| 163 |
+
name = "regex-syntax"
|
| 164 |
+
version = "0.8.8"
|
| 165 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 166 |
+
checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
|
| 167 |
+
|
| 168 |
+
[[package]]
|
| 169 |
+
name = "rustversion"
|
| 170 |
+
version = "1.0.22"
|
| 171 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 172 |
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
| 173 |
+
|
| 174 |
+
[[package]]
|
| 175 |
+
name = "scoped-tls"
|
| 176 |
+
version = "1.0.1"
|
| 177 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 178 |
+
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
|
| 179 |
+
|
| 180 |
+
[[package]]
|
| 181 |
+
name = "serde"
|
| 182 |
+
version = "1.0.228"
|
| 183 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 184 |
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
| 185 |
+
dependencies = [
|
| 186 |
+
"serde_core",
|
| 187 |
+
]
|
| 188 |
+
|
| 189 |
+
[[package]]
|
| 190 |
+
name = "serde_core"
|
| 191 |
+
version = "1.0.228"
|
| 192 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 193 |
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
| 194 |
+
dependencies = [
|
| 195 |
+
"serde_derive",
|
| 196 |
+
]
|
| 197 |
+
|
| 198 |
+
[[package]]
|
| 199 |
+
name = "serde_derive"
|
| 200 |
+
version = "1.0.228"
|
| 201 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 202 |
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
| 203 |
+
dependencies = [
|
| 204 |
+
"proc-macro2",
|
| 205 |
+
"quote",
|
| 206 |
+
"syn",
|
| 207 |
+
]
|
| 208 |
+
|
| 209 |
+
[[package]]
|
| 210 |
+
name = "serde_test"
|
| 211 |
+
version = "1.0.177"
|
| 212 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 213 |
+
checksum = "7f901ee573cab6b3060453d2d5f0bae4e6d628c23c0a962ff9b5f1d7c8d4f1ed"
|
| 214 |
+
dependencies = [
|
| 215 |
+
"serde",
|
| 216 |
+
]
|
| 217 |
+
|
| 218 |
+
[[package]]
|
| 219 |
+
name = "sharded-slab"
|
| 220 |
+
version = "0.1.7"
|
| 221 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 222 |
+
checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
|
| 223 |
+
dependencies = [
|
| 224 |
+
"lazy_static",
|
| 225 |
+
]
|
| 226 |
+
|
| 227 |
+
[[package]]
|
| 228 |
+
name = "shlex"
|
| 229 |
+
version = "1.3.0"
|
| 230 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 231 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 232 |
+
|
| 233 |
+
[[package]]
|
| 234 |
+
name = "smallvec"
|
| 235 |
+
version = "1.15.1"
|
| 236 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 237 |
+
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
| 238 |
+
|
| 239 |
+
[[package]]
|
| 240 |
+
name = "syn"
|
| 241 |
+
version = "2.0.110"
|
| 242 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 243 |
+
checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
|
| 244 |
+
dependencies = [
|
| 245 |
+
"proc-macro2",
|
| 246 |
+
"quote",
|
| 247 |
+
"unicode-ident",
|
| 248 |
+
]
|
| 249 |
+
|
| 250 |
+
[[package]]
|
| 251 |
+
name = "thread_local"
|
| 252 |
+
version = "1.1.9"
|
| 253 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 254 |
+
checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185"
|
| 255 |
+
dependencies = [
|
| 256 |
+
"cfg-if",
|
| 257 |
+
]
|
| 258 |
+
|
| 259 |
+
[[package]]
|
| 260 |
+
name = "tracing"
|
| 261 |
+
version = "0.1.41"
|
| 262 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 263 |
+
checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
|
| 264 |
+
dependencies = [
|
| 265 |
+
"pin-project-lite",
|
| 266 |
+
"tracing-core",
|
| 267 |
+
]
|
| 268 |
+
|
| 269 |
+
[[package]]
|
| 270 |
+
name = "tracing-core"
|
| 271 |
+
version = "0.1.34"
|
| 272 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 273 |
+
checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678"
|
| 274 |
+
dependencies = [
|
| 275 |
+
"once_cell",
|
| 276 |
+
"valuable",
|
| 277 |
+
]
|
| 278 |
+
|
| 279 |
+
[[package]]
|
| 280 |
+
name = "tracing-log"
|
| 281 |
+
version = "0.2.0"
|
| 282 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 283 |
+
checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
|
| 284 |
+
dependencies = [
|
| 285 |
+
"log",
|
| 286 |
+
"once_cell",
|
| 287 |
+
"tracing-core",
|
| 288 |
+
]
|
| 289 |
+
|
| 290 |
+
[[package]]
|
| 291 |
+
name = "tracing-subscriber"
|
| 292 |
+
version = "0.3.20"
|
| 293 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 294 |
+
checksum = "2054a14f5307d601f88daf0553e1cbf472acc4f2c51afab632431cdcd72124d5"
|
| 295 |
+
dependencies = [
|
| 296 |
+
"matchers",
|
| 297 |
+
"nu-ansi-term",
|
| 298 |
+
"once_cell",
|
| 299 |
+
"regex-automata",
|
| 300 |
+
"sharded-slab",
|
| 301 |
+
"smallvec",
|
| 302 |
+
"thread_local",
|
| 303 |
+
"tracing",
|
| 304 |
+
"tracing-core",
|
| 305 |
+
"tracing-log",
|
| 306 |
+
]
|
| 307 |
+
|
| 308 |
+
[[package]]
|
| 309 |
+
name = "unicode-ident"
|
| 310 |
+
version = "1.0.22"
|
| 311 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 312 |
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
| 313 |
+
|
| 314 |
+
[[package]]
|
| 315 |
+
name = "valuable"
|
| 316 |
+
version = "0.1.1"
|
| 317 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 318 |
+
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
|
| 319 |
+
|
| 320 |
+
[[package]]
|
| 321 |
+
name = "windows"
|
| 322 |
+
version = "0.61.3"
|
| 323 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 324 |
+
checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893"
|
| 325 |
+
dependencies = [
|
| 326 |
+
"windows-collections",
|
| 327 |
+
"windows-core",
|
| 328 |
+
"windows-future",
|
| 329 |
+
"windows-link 0.1.3",
|
| 330 |
+
"windows-numerics",
|
| 331 |
+
]
|
| 332 |
+
|
| 333 |
+
[[package]]
|
| 334 |
+
name = "windows-collections"
|
| 335 |
+
version = "0.2.0"
|
| 336 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 337 |
+
checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8"
|
| 338 |
+
dependencies = [
|
| 339 |
+
"windows-core",
|
| 340 |
+
]
|
| 341 |
+
|
| 342 |
+
[[package]]
|
| 343 |
+
name = "windows-core"
|
| 344 |
+
version = "0.61.2"
|
| 345 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 346 |
+
checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
|
| 347 |
+
dependencies = [
|
| 348 |
+
"windows-implement",
|
| 349 |
+
"windows-interface",
|
| 350 |
+
"windows-link 0.1.3",
|
| 351 |
+
"windows-result",
|
| 352 |
+
"windows-strings",
|
| 353 |
+
]
|
| 354 |
+
|
| 355 |
+
[[package]]
|
| 356 |
+
name = "windows-future"
|
| 357 |
+
version = "0.2.1"
|
| 358 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 359 |
+
checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e"
|
| 360 |
+
dependencies = [
|
| 361 |
+
"windows-core",
|
| 362 |
+
"windows-link 0.1.3",
|
| 363 |
+
"windows-threading",
|
| 364 |
+
]
|
| 365 |
+
|
| 366 |
+
[[package]]
|
| 367 |
+
name = "windows-implement"
|
| 368 |
+
version = "0.60.2"
|
| 369 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 370 |
+
checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
|
| 371 |
+
dependencies = [
|
| 372 |
+
"proc-macro2",
|
| 373 |
+
"quote",
|
| 374 |
+
"syn",
|
| 375 |
+
]
|
| 376 |
+
|
| 377 |
+
[[package]]
|
| 378 |
+
name = "windows-interface"
|
| 379 |
+
version = "0.59.3"
|
| 380 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 381 |
+
checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
|
| 382 |
+
dependencies = [
|
| 383 |
+
"proc-macro2",
|
| 384 |
+
"quote",
|
| 385 |
+
"syn",
|
| 386 |
+
]
|
| 387 |
+
|
| 388 |
+
[[package]]
|
| 389 |
+
name = "windows-link"
|
| 390 |
+
version = "0.1.3"
|
| 391 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 392 |
+
checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a"
|
| 393 |
+
|
| 394 |
+
[[package]]
|
| 395 |
+
name = "windows-link"
|
| 396 |
+
version = "0.2.1"
|
| 397 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 398 |
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
| 399 |
+
|
| 400 |
+
[[package]]
|
| 401 |
+
name = "windows-numerics"
|
| 402 |
+
version = "0.2.0"
|
| 403 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 404 |
+
checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1"
|
| 405 |
+
dependencies = [
|
| 406 |
+
"windows-core",
|
| 407 |
+
"windows-link 0.1.3",
|
| 408 |
+
]
|
| 409 |
+
|
| 410 |
+
[[package]]
|
| 411 |
+
name = "windows-result"
|
| 412 |
+
version = "0.3.4"
|
| 413 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 414 |
+
checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
|
| 415 |
+
dependencies = [
|
| 416 |
+
"windows-link 0.1.3",
|
| 417 |
+
]
|
| 418 |
+
|
| 419 |
+
[[package]]
|
| 420 |
+
name = "windows-strings"
|
| 421 |
+
version = "0.4.2"
|
| 422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 423 |
+
checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
|
| 424 |
+
dependencies = [
|
| 425 |
+
"windows-link 0.1.3",
|
| 426 |
+
]
|
| 427 |
+
|
| 428 |
+
[[package]]
|
| 429 |
+
name = "windows-sys"
|
| 430 |
+
version = "0.61.2"
|
| 431 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 432 |
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
| 433 |
+
dependencies = [
|
| 434 |
+
"windows-link 0.2.1",
|
| 435 |
+
]
|
| 436 |
+
|
| 437 |
+
[[package]]
|
| 438 |
+
name = "windows-threading"
|
| 439 |
+
version = "0.1.0"
|
| 440 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 441 |
+
checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6"
|
| 442 |
+
dependencies = [
|
| 443 |
+
"windows-link 0.1.3",
|
| 444 |
+
]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.toml
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
| 2 |
+
#
|
| 3 |
+
# When uploading crates to the registry Cargo will automatically
|
| 4 |
+
# "normalize" Cargo.toml files for maximal compatibility
|
| 5 |
+
# with all versions of Cargo and also rewrite `path` dependencies
|
| 6 |
+
# to registry (e.g., crates.io) dependencies.
|
| 7 |
+
#
|
| 8 |
+
# If you are reading this file be aware that the original Cargo.toml
|
| 9 |
+
# will likely look very different (and much more reasonable).
|
| 10 |
+
# See Cargo.toml.orig for the original contents.
|
| 11 |
+
|
| 12 |
+
[package]
|
| 13 |
+
edition = "2021"
|
| 14 |
+
rust-version = "1.57"
|
| 15 |
+
name = "bytes"
|
| 16 |
+
version = "1.11.1"
|
| 17 |
+
authors = [
|
| 18 |
+
"Carl Lerche <me@carllerche.com>",
|
| 19 |
+
"Sean McArthur <sean@seanmonstar.com>",
|
| 20 |
+
]
|
| 21 |
+
build = false
|
| 22 |
+
autolib = false
|
| 23 |
+
autobins = false
|
| 24 |
+
autoexamples = false
|
| 25 |
+
autotests = false
|
| 26 |
+
autobenches = false
|
| 27 |
+
description = "Types and traits for working with bytes"
|
| 28 |
+
readme = "README.md"
|
| 29 |
+
keywords = [
|
| 30 |
+
"buffers",
|
| 31 |
+
"zero-copy",
|
| 32 |
+
"io",
|
| 33 |
+
]
|
| 34 |
+
categories = [
|
| 35 |
+
"network-programming",
|
| 36 |
+
"data-structures",
|
| 37 |
+
]
|
| 38 |
+
license = "MIT"
|
| 39 |
+
repository = "https://github.com/tokio-rs/bytes"
|
| 40 |
+
|
| 41 |
+
[package.metadata.docs.rs]
|
| 42 |
+
rustdoc-args = [
|
| 43 |
+
"--cfg",
|
| 44 |
+
"docsrs",
|
| 45 |
+
]
|
| 46 |
+
|
| 47 |
+
[features]
|
| 48 |
+
default = ["std"]
|
| 49 |
+
std = []
|
| 50 |
+
|
| 51 |
+
[lib]
|
| 52 |
+
name = "bytes"
|
| 53 |
+
path = "src/lib.rs"
|
| 54 |
+
|
| 55 |
+
[[test]]
|
| 56 |
+
name = "test_buf"
|
| 57 |
+
path = "tests/test_buf.rs"
|
| 58 |
+
|
| 59 |
+
[[test]]
|
| 60 |
+
name = "test_buf_mut"
|
| 61 |
+
path = "tests/test_buf_mut.rs"
|
| 62 |
+
|
| 63 |
+
[[test]]
|
| 64 |
+
name = "test_bytes"
|
| 65 |
+
path = "tests/test_bytes.rs"
|
| 66 |
+
|
| 67 |
+
[[test]]
|
| 68 |
+
name = "test_bytes_odd_alloc"
|
| 69 |
+
path = "tests/test_bytes_odd_alloc.rs"
|
| 70 |
+
|
| 71 |
+
[[test]]
|
| 72 |
+
name = "test_bytes_vec_alloc"
|
| 73 |
+
path = "tests/test_bytes_vec_alloc.rs"
|
| 74 |
+
|
| 75 |
+
[[test]]
|
| 76 |
+
name = "test_chain"
|
| 77 |
+
path = "tests/test_chain.rs"
|
| 78 |
+
|
| 79 |
+
[[test]]
|
| 80 |
+
name = "test_debug"
|
| 81 |
+
path = "tests/test_debug.rs"
|
| 82 |
+
|
| 83 |
+
[[test]]
|
| 84 |
+
name = "test_iter"
|
| 85 |
+
path = "tests/test_iter.rs"
|
| 86 |
+
|
| 87 |
+
[[test]]
|
| 88 |
+
name = "test_limit"
|
| 89 |
+
path = "tests/test_limit.rs"
|
| 90 |
+
|
| 91 |
+
[[test]]
|
| 92 |
+
name = "test_reader"
|
| 93 |
+
path = "tests/test_reader.rs"
|
| 94 |
+
|
| 95 |
+
[[test]]
|
| 96 |
+
name = "test_serde"
|
| 97 |
+
path = "tests/test_serde.rs"
|
| 98 |
+
|
| 99 |
+
[[test]]
|
| 100 |
+
name = "test_take"
|
| 101 |
+
path = "tests/test_take.rs"
|
| 102 |
+
|
| 103 |
+
[[bench]]
|
| 104 |
+
name = "buf"
|
| 105 |
+
path = "benches/buf.rs"
|
| 106 |
+
|
| 107 |
+
[[bench]]
|
| 108 |
+
name = "bytes"
|
| 109 |
+
path = "benches/bytes.rs"
|
| 110 |
+
|
| 111 |
+
[[bench]]
|
| 112 |
+
name = "bytes_mut"
|
| 113 |
+
path = "benches/bytes_mut.rs"
|
| 114 |
+
|
| 115 |
+
[dependencies.extra-platforms]
|
| 116 |
+
version = "1.3"
|
| 117 |
+
features = ["require-cas"]
|
| 118 |
+
optional = true
|
| 119 |
+
default-features = false
|
| 120 |
+
package = "portable-atomic"
|
| 121 |
+
|
| 122 |
+
[dependencies.serde]
|
| 123 |
+
version = "1.0.60"
|
| 124 |
+
features = ["alloc"]
|
| 125 |
+
optional = true
|
| 126 |
+
default-features = false
|
| 127 |
+
|
| 128 |
+
[dev-dependencies.serde_test]
|
| 129 |
+
version = "1.0"
|
| 130 |
+
|
| 131 |
+
[target."cfg(loom)".dev-dependencies.loom]
|
| 132 |
+
version = "0.7"
|
| 133 |
+
|
| 134 |
+
[lints.rust.unexpected_cfgs]
|
| 135 |
+
level = "warn"
|
| 136 |
+
priority = 0
|
| 137 |
+
check-cfg = ["cfg(loom)"]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
|
| 3 |
+
name = "bytes"
|
| 4 |
+
# When releasing to crates.io:
|
| 5 |
+
# - Update CHANGELOG.md.
|
| 6 |
+
# - Create "v1.x.y" git tag.
|
| 7 |
+
version = "1.11.1"
|
| 8 |
+
edition = "2021"
|
| 9 |
+
rust-version = "1.57"
|
| 10 |
+
license = "MIT"
|
| 11 |
+
authors = [
|
| 12 |
+
"Carl Lerche <me@carllerche.com>",
|
| 13 |
+
"Sean McArthur <sean@seanmonstar.com>",
|
| 14 |
+
]
|
| 15 |
+
description = "Types and traits for working with bytes"
|
| 16 |
+
repository = "https://github.com/tokio-rs/bytes"
|
| 17 |
+
readme = "README.md"
|
| 18 |
+
keywords = ["buffers", "zero-copy", "io"]
|
| 19 |
+
categories = ["network-programming", "data-structures"]
|
| 20 |
+
|
| 21 |
+
[features]
|
| 22 |
+
default = ["std"]
|
| 23 |
+
std = []
|
| 24 |
+
|
| 25 |
+
[dependencies]
|
| 26 |
+
serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] }
|
| 27 |
+
# Use portable-atomic crate to support platforms without atomic CAS.
|
| 28 |
+
# See "no_std support" section in readme for more information.
|
| 29 |
+
#
|
| 30 |
+
# Enable require-cas feature to provide a better error message if the end user forgets to use the cfg or feature.
|
| 31 |
+
extra-platforms = { package = "portable-atomic", version = "1.3", optional = true, default-features = false, features = ["require-cas"] }
|
| 32 |
+
|
| 33 |
+
[dev-dependencies]
|
| 34 |
+
serde_test = "1.0"
|
| 35 |
+
|
| 36 |
+
[target.'cfg(loom)'.dev-dependencies]
|
| 37 |
+
loom = "0.7"
|
| 38 |
+
|
| 39 |
+
[package.metadata.docs.rs]
|
| 40 |
+
rustdoc-args = ["--cfg", "docsrs"]
|
| 41 |
+
|
| 42 |
+
[lints.rust]
|
| 43 |
+
unexpected_cfgs = { level = "warn", check-cfg = [
|
| 44 |
+
'cfg(loom)',
|
| 45 |
+
] }
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2018 Carl Lerche
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any
|
| 4 |
+
person obtaining a copy of this software and associated
|
| 5 |
+
documentation files (the "Software"), to deal in the
|
| 6 |
+
Software without restriction, including without
|
| 7 |
+
limitation the rights to use, copy, modify, merge,
|
| 8 |
+
publish, distribute, sublicense, and/or sell copies of
|
| 9 |
+
the Software, and to permit persons to whom the Software
|
| 10 |
+
is furnished to do so, subject to the following
|
| 11 |
+
conditions:
|
| 12 |
+
|
| 13 |
+
The above copyright notice and this permission notice
|
| 14 |
+
shall be included in all copies or substantial portions
|
| 15 |
+
of the Software.
|
| 16 |
+
|
| 17 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
| 18 |
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
| 19 |
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
| 20 |
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
| 21 |
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 22 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 23 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 24 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 25 |
+
DEALINGS IN THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Bytes
|
| 2 |
+
|
| 3 |
+
A utility library for working with bytes.
|
| 4 |
+
|
| 5 |
+
[![Crates.io][crates-badge]][crates-url]
|
| 6 |
+
[![Build Status][ci-badge]][ci-url]
|
| 7 |
+
|
| 8 |
+
[crates-badge]: https://img.shields.io/crates/v/bytes.svg
|
| 9 |
+
[crates-url]: https://crates.io/crates/bytes
|
| 10 |
+
[ci-badge]: https://github.com/tokio-rs/bytes/workflows/CI/badge.svg
|
| 11 |
+
[ci-url]: https://github.com/tokio-rs/bytes/actions
|
| 12 |
+
|
| 13 |
+
[Documentation](https://docs.rs/bytes)
|
| 14 |
+
|
| 15 |
+
## Usage
|
| 16 |
+
|
| 17 |
+
To use `bytes`, first add this to your `Cargo.toml`:
|
| 18 |
+
|
| 19 |
+
```toml
|
| 20 |
+
[dependencies]
|
| 21 |
+
bytes = "1"
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
Next, add this to your crate:
|
| 25 |
+
|
| 26 |
+
```rust
|
| 27 |
+
use bytes::{Bytes, BytesMut, Buf, BufMut};
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
## no_std support
|
| 31 |
+
|
| 32 |
+
To use `bytes` with no_std environment, disable the (enabled by default) `std` feature.
|
| 33 |
+
|
| 34 |
+
```toml
|
| 35 |
+
[dependencies]
|
| 36 |
+
bytes = { version = "1", default-features = false }
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
To use `bytes` with no_std environment without atomic CAS, such as thumbv6m, you also need to enable
|
| 40 |
+
the `extra-platforms` feature. See the [documentation for the `portable-atomic`
|
| 41 |
+
crate](https://docs.rs/portable-atomic) for more information.
|
| 42 |
+
|
| 43 |
+
The MSRV when `extra-platforms` feature is enabled depends on the MSRV of `portable-atomic`.
|
| 44 |
+
|
| 45 |
+
## Serde support
|
| 46 |
+
|
| 47 |
+
Serde support is optional and disabled by default. To enable use the feature `serde`.
|
| 48 |
+
|
| 49 |
+
```toml
|
| 50 |
+
[dependencies]
|
| 51 |
+
bytes = { version = "1", features = ["serde"] }
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
The MSRV when `serde` feature is enabled depends on the MSRV of `serde`.
|
| 55 |
+
|
| 56 |
+
## Building documentation
|
| 57 |
+
|
| 58 |
+
When building the `bytes` documentation the `docsrs` option should be used, otherwise
|
| 59 |
+
feature gates will not be shown. This requires a nightly toolchain:
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
This project is licensed under the [MIT license](LICENSE).
|
| 68 |
+
|
| 69 |
+
### Contribution
|
| 70 |
+
|
| 71 |
+
Unless you explicitly state otherwise, any contribution intentionally submitted
|
| 72 |
+
for inclusion in `bytes` by you, shall be licensed as MIT, without any additional
|
| 73 |
+
terms or conditions.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/SECURITY.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Security Policy
|
| 2 |
+
|
| 3 |
+
Bytes is part of the Tokio project and uses the same security policy as [Tokio][tokio-security].
|
| 4 |
+
|
| 5 |
+
## Report a security issue
|
| 6 |
+
|
| 7 |
+
The process for reporting an issue is the same as for [Tokio][tokio-security]. This includes private reporting via security@tokio.rs.
|
| 8 |
+
|
| 9 |
+
[tokio-security]: https://github.com/tokio-rs/tokio/security/policy
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.11.1/clippy.toml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
msrv = "1.57"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "0767349e1d1253e6849b4c2af2059db661f54343"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/target
|
| 2 |
+
Cargo.lock
|
| 3 |
+
.idea
|
| 4 |
+
*.iml
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/CHANGELOG.md
ADDED
|
@@ -0,0 +1,745 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Changelog
|
| 2 |
+
|
| 3 |
+
All notable changes to this project will be documented in this file.
|
| 4 |
+
|
| 5 |
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
| 6 |
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
| 7 |
+
|
| 8 |
+
## [Unreleased]
|
| 9 |
+
|
| 10 |
+
## [1.2.55](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.54...cc-v1.2.55) - 2026-01-30
|
| 11 |
+
|
| 12 |
+
### Other
|
| 13 |
+
|
| 14 |
+
- Regenerate target info ([#1667](https://github.com/rust-lang/cc-rs/pull/1667))
|
| 15 |
+
- Fix RUSTFLAGS typo in test-linker-plugin-lto ([#1665](https://github.com/rust-lang/cc-rs/pull/1665))
|
| 16 |
+
- Disable PIC for armv7-sony-vita-newlibeabihf ([#1664](https://github.com/rust-lang/cc-rs/pull/1664))
|
| 17 |
+
|
| 18 |
+
## [1.2.54](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.53...cc-v1.2.54) - 2026-01-23
|
| 19 |
+
|
| 20 |
+
### Other
|
| 21 |
+
|
| 22 |
+
- Fix x86_64-unknown-linux-gnuasan parsing ([#1661](https://github.com/rust-lang/cc-rs/pull/1661))
|
| 23 |
+
- Regenerate target info ([#1660](https://github.com/rust-lang/cc-rs/pull/1660))
|
| 24 |
+
|
| 25 |
+
## [1.2.53](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.52...cc-v1.2.53) - 2026-01-16
|
| 26 |
+
|
| 27 |
+
### Other
|
| 28 |
+
|
| 29 |
+
- Add missing RISC-V targets ([#1657](https://github.com/rust-lang/cc-rs/pull/1657))
|
| 30 |
+
|
| 31 |
+
## [1.2.52](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.51...cc-v1.2.52) - 2026-01-09
|
| 32 |
+
|
| 33 |
+
### Other
|
| 34 |
+
|
| 35 |
+
- Fix contradictory doc for CC compiler in crate doc ([#1650](https://github.com/rust-lang/cc-rs/pull/1650))
|
| 36 |
+
- Have CUDA compilaion check for sbsa-linux when targeting aarch64. ([#1647](https://github.com/rust-lang/cc-rs/pull/1647))
|
| 37 |
+
- Update link for -Cdwarf-version; Remove -Z (stabilized in 1.88) ([#1648](https://github.com/rust-lang/cc-rs/pull/1648))
|
| 38 |
+
- Fix Build::env_tool to check for .exe on windows ([#1646](https://github.com/rust-lang/cc-rs/pull/1646))
|
| 39 |
+
|
| 40 |
+
## [1.2.51](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.50...cc-v1.2.51) - 2025-12-26
|
| 41 |
+
|
| 42 |
+
### Other
|
| 43 |
+
|
| 44 |
+
- Regenerate target info ([#1642](https://github.com/rust-lang/cc-rs/pull/1642))
|
| 45 |
+
- Update Readmes ([#1641](https://github.com/rust-lang/cc-rs/pull/1641))
|
| 46 |
+
|
| 47 |
+
## [1.2.50](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.49...cc-v1.2.50) - 2025-12-19
|
| 48 |
+
|
| 49 |
+
### Other
|
| 50 |
+
|
| 51 |
+
- Add tests for `OUT_DIR` escape for '..' file paths (#1631)
|
| 52 |
+
- Fix #283: Make warnings(false) actually suppress compiler warnings ([#1633](https://github.com/rust-lang/cc-rs/pull/1633))
|
| 53 |
+
|
| 54 |
+
## [1.2.49](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.48...cc-v1.2.49) - 2025-12-06
|
| 55 |
+
|
| 56 |
+
### Other
|
| 57 |
+
|
| 58 |
+
- Fix run_output to prevent infinite blocking ([#1627](https://github.com/rust-lang/cc-rs/pull/1627))
|
| 59 |
+
- Fix detect_family deadlock ([#1626](https://github.com/rust-lang/cc-rs/pull/1626))
|
| 60 |
+
- Fix link in new debug_str doc comment ([#1625](https://github.com/rust-lang/cc-rs/pull/1625))
|
| 61 |
+
- Support more of Cargo's debug levels with Build::debug_str ([#1624](https://github.com/rust-lang/cc-rs/pull/1624))
|
| 62 |
+
|
| 63 |
+
## [1.2.48](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.47...cc-v1.2.48) - 2025-11-28
|
| 64 |
+
|
| 65 |
+
### Other
|
| 66 |
+
|
| 67 |
+
- Regenerate target info ([#1620](https://github.com/rust-lang/cc-rs/pull/1620))
|
| 68 |
+
|
| 69 |
+
## [1.2.47](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.46...cc-v1.2.47) - 2025-11-21
|
| 70 |
+
|
| 71 |
+
### Other
|
| 72 |
+
|
| 73 |
+
- add helenos linker identifications ([#1615](https://github.com/rust-lang/cc-rs/pull/1615))
|
| 74 |
+
|
| 75 |
+
## [1.2.46](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.45...cc-v1.2.46) - 2025-11-14
|
| 76 |
+
|
| 77 |
+
### Other
|
| 78 |
+
|
| 79 |
+
- Add Visual Studio 2026 support ([#1609](https://github.com/rust-lang/cc-rs/pull/1609))
|
| 80 |
+
|
| 81 |
+
## [1.2.45](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.44...cc-v1.2.45) - 2025-11-07
|
| 82 |
+
|
| 83 |
+
### Other
|
| 84 |
+
|
| 85 |
+
- Regenerate target info ([#1606](https://github.com/rust-lang/cc-rs/pull/1606))
|
| 86 |
+
- Use a default check for the "env" variable in apple_sdk_name ([#1605](https://github.com/rust-lang/cc-rs/pull/1605))
|
| 87 |
+
|
| 88 |
+
## [1.2.44](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.43...cc-v1.2.44) - 2025-10-31
|
| 89 |
+
|
| 90 |
+
### Other
|
| 91 |
+
|
| 92 |
+
- Fix debug assertion for env/abi mismatch ([#1604](https://github.com/rust-lang/cc-rs/pull/1604))
|
| 93 |
+
- Update CHANGELOG for version 1.2.43 ([#1602](https://github.com/rust-lang/cc-rs/pull/1602))
|
| 94 |
+
- Stop passing an invalid target to `llvm-mingw`'s cross-compilation wrappers ([#1495](https://github.com/rust-lang/cc-rs/pull/1495))
|
| 95 |
+
|
| 96 |
+
## [1.2.43](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.42...cc-v1.2.43) - 2025-10-24
|
| 97 |
+
|
| 98 |
+
### Other
|
| 99 |
+
|
| 100 |
+
- Mark `static_flag` and `shared_flag` as deprecated ([#1582](https://github.com/rust-lang/cc-rs/pull/1582))
|
| 101 |
+
|
| 102 |
+
## [1.2.42](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.41...cc-v1.2.42) - 2025-10-24
|
| 103 |
+
|
| 104 |
+
### Other
|
| 105 |
+
|
| 106 |
+
- Fix check-semver-checks ([#1600](https://github.com/rust-lang/cc-rs/pull/1600))
|
| 107 |
+
- minor improvement for docs ([#1598](https://github.com/rust-lang/cc-rs/pull/1598))
|
| 108 |
+
- Fix linker-plugin-lto: use `-flto=thin` ([#1594](https://github.com/rust-lang/cc-rs/pull/1594))
|
| 109 |
+
- Disable check-buildstd for armv7k-apple-watchos ([#1599](https://github.com/rust-lang/cc-rs/pull/1599))
|
| 110 |
+
- Add elf abi to ppc64 targets ([#1596](https://github.com/rust-lang/cc-rs/pull/1596))
|
| 111 |
+
|
| 112 |
+
## [1.2.41](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.40...cc-v1.2.41) - 2025-10-10
|
| 113 |
+
|
| 114 |
+
### Other
|
| 115 |
+
|
| 116 |
+
- Allow using VCToolsVersion to request a specific msvc version ([#1589](https://github.com/rust-lang/cc-rs/pull/1589))
|
| 117 |
+
- Regenerate target info ([#1592](https://github.com/rust-lang/cc-rs/pull/1592))
|
| 118 |
+
- Regenerate windows sys bindings ([#1591](https://github.com/rust-lang/cc-rs/pull/1591))
|
| 119 |
+
- Update windows-bindgen requirement from 0.64 to 0.65 ([#1590](https://github.com/rust-lang/cc-rs/pull/1590))
|
| 120 |
+
- Fix `get_base_archiver_variant` for clang-cl: use `--print-search-dirs` ([#1587](https://github.com/rust-lang/cc-rs/pull/1587))
|
| 121 |
+
|
| 122 |
+
## [1.2.40](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.39...cc-v1.2.40) - 2025-10-03
|
| 123 |
+
|
| 124 |
+
### Other
|
| 125 |
+
|
| 126 |
+
- Reorder changelog and remove duplicate Unreleased section ([#1579](https://github.com/rust-lang/cc-rs/pull/1579))
|
| 127 |
+
- Prefer clang if linker-plugin-lto specified ([#1573](https://github.com/rust-lang/cc-rs/pull/1573))
|
| 128 |
+
- Fix building for Mac Catalyst ([#1577](https://github.com/rust-lang/cc-rs/pull/1577))
|
| 129 |
+
- Improve ESP microcontroller targets ([#1574](https://github.com/rust-lang/cc-rs/pull/1574))
|
| 130 |
+
|
| 131 |
+
## [1.2.39](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.38...cc-v1.2.39) - 2025-09-26
|
| 132 |
+
|
| 133 |
+
### Other
|
| 134 |
+
|
| 135 |
+
- Fix cross compilation to xtensa-esp32s3-espidf ([#1569](https://github.com/rust-lang/cc-rs/pull/1569))
|
| 136 |
+
- Fix autodetect_wasi_compiler: support non utf-8 path ([#1568](https://github.com/rust-lang/cc-rs/pull/1568))
|
| 137 |
+
- Regenerate target info ([#1567](https://github.com/rust-lang/cc-rs/pull/1567))
|
| 138 |
+
- Fix rustcflags mapping: require -Clinker-plugin-lto for -flto ([#1564](https://github.com/rust-lang/cc-rs/pull/1564))
|
| 139 |
+
- Use `$WASI_SDK_PATH` on WASI targets by default ([#1562](https://github.com/rust-lang/cc-rs/pull/1562))
|
| 140 |
+
- Fix atomicity violations in concurrent cache operations ([#1559](https://github.com/rust-lang/cc-rs/pull/1559))
|
| 141 |
+
|
| 142 |
+
## [1.2.38](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.37...cc-v1.2.38) - 2025-09-19
|
| 143 |
+
|
| 144 |
+
### Other
|
| 145 |
+
|
| 146 |
+
- updated the following local packages: find-msvc-tools
|
| 147 |
+
|
| 148 |
+
## [1.2.37](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.36...cc-v1.2.37) - 2025-09-12
|
| 149 |
+
|
| 150 |
+
### Other
|
| 151 |
+
|
| 152 |
+
- Fix errmsg in RustcCodegenFlags::set_rustc_flag ([#1551](https://github.com/rust-lang/cc-rs/pull/1551))
|
| 153 |
+
- propagate stack protector to Linux C compilers ([#1550](https://github.com/rust-lang/cc-rs/pull/1550))
|
| 154 |
+
- Extract new fn `run_commands_in_parallel` ([#1549](https://github.com/rust-lang/cc-rs/pull/1549))
|
| 155 |
+
|
| 156 |
+
## [1.2.36](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.35...cc-v1.2.36) - 2025-09-05
|
| 157 |
+
|
| 158 |
+
### Other
|
| 159 |
+
|
| 160 |
+
- Regenerate windows sys bindings ([#1548](https://github.com/rust-lang/cc-rs/pull/1548))
|
| 161 |
+
- Update windows-bindgen requirement from 0.62 to 0.63 ([#1547](https://github.com/rust-lang/cc-rs/pull/1547))
|
| 162 |
+
- Add fn get_ucrt_dir for find-msvc-tools ([#1546](https://github.com/rust-lang/cc-rs/pull/1546))
|
| 163 |
+
- Regenerate target info ([#1544](https://github.com/rust-lang/cc-rs/pull/1544))
|
| 164 |
+
- fix publish.yml ([#1543](https://github.com/rust-lang/cc-rs/pull/1543))
|
| 165 |
+
- Replace periods with underscores as well when parsing env variables ([#1541](https://github.com/rust-lang/cc-rs/pull/1541))
|
| 166 |
+
|
| 167 |
+
## [1.2.35](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.34...cc-v1.2.35) - 2025-09-01
|
| 168 |
+
|
| 169 |
+
### Fixed
|
| 170 |
+
|
| 171 |
+
- fix building for aarch64-apple-visionos-sim on nightly ([#1534](https://github.com/rust-lang/cc-rs/pull/1534))
|
| 172 |
+
- fix tests apple_sdkroot_wrong ([#1530](https://github.com/rust-lang/cc-rs/pull/1530))
|
| 173 |
+
|
| 174 |
+
### Other
|
| 175 |
+
|
| 176 |
+
- Regenerate target info ([#1536](https://github.com/rust-lang/cc-rs/pull/1536))
|
| 177 |
+
- Optimize Tool::to_command ([#1535](https://github.com/rust-lang/cc-rs/pull/1535))
|
| 178 |
+
- Extract find-msvc-tools ([#1531](https://github.com/rust-lang/cc-rs/pull/1531))
|
| 179 |
+
- Add prefer_clang_cl_over_msvc ([#1516](https://github.com/rust-lang/cc-rs/pull/1516))
|
| 180 |
+
|
| 181 |
+
## [1.2.34](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.33...cc-v1.2.34) - 2025-08-22
|
| 182 |
+
|
| 183 |
+
### Fixed
|
| 184 |
+
|
| 185 |
+
- add `-mcpu=mvp` and `-mmutable-globals` for `wasm32v1-none` ([#1524](https://github.com/rust-lang/cc-rs/pull/1524))
|
| 186 |
+
|
| 187 |
+
### Other
|
| 188 |
+
|
| 189 |
+
- Optimize parse_version in find_tools.rs ([#1527](https://github.com/rust-lang/cc-rs/pull/1527))
|
| 190 |
+
- Fallback to manually searching for tool dir ([#1526](https://github.com/rust-lang/cc-rs/pull/1526))
|
| 191 |
+
|
| 192 |
+
## [1.2.33](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.32...cc-v1.2.33) - 2025-08-15
|
| 193 |
+
|
| 194 |
+
### Other
|
| 195 |
+
|
| 196 |
+
- Regenerate target info ([#1521](https://github.com/rust-lang/cc-rs/pull/1521))
|
| 197 |
+
- [win][arm64ec] Add testing for Arm64EC Windows ([#1512](https://github.com/rust-lang/cc-rs/pull/1512))
|
| 198 |
+
- Fix parsing of nigthly targets ([#1517](https://github.com/rust-lang/cc-rs/pull/1517))
|
| 199 |
+
- [win][arm64ec] Fix finding assembler and setting is_arm for Arm64EC ([#1511](https://github.com/rust-lang/cc-rs/pull/1511))
|
| 200 |
+
|
| 201 |
+
## [1.2.32](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.31...cc-v1.2.32) - 2025-08-08
|
| 202 |
+
|
| 203 |
+
### Fixed
|
| 204 |
+
|
| 205 |
+
- fix new clippy lint introduced in rust 1.89.0 ([#1509](https://github.com/rust-lang/cc-rs/pull/1509))
|
| 206 |
+
|
| 207 |
+
### Other
|
| 208 |
+
|
| 209 |
+
- clarify cargo default if no rerun emitted ([#1508](https://github.com/rust-lang/cc-rs/pull/1508))
|
| 210 |
+
- extract compile_objects_sequential ([#1507](https://github.com/rust-lang/cc-rs/pull/1507))
|
| 211 |
+
- Windows `find_tools`: add support for finding Clang ([#1506](https://github.com/rust-lang/cc-rs/pull/1506))
|
| 212 |
+
- Add m68k-unknown-linux-gnu cross-compile target ([#1505](https://github.com/rust-lang/cc-rs/pull/1505))
|
| 213 |
+
|
| 214 |
+
## [1.2.31](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.30...cc-v1.2.31) - 2025-08-01
|
| 215 |
+
|
| 216 |
+
### Other
|
| 217 |
+
|
| 218 |
+
- Add doc for using sccache/ccache etc ([#1502](https://github.com/rust-lang/cc-rs/pull/1502))
|
| 219 |
+
- ability to statically link against C++ stdlib ([#1497](https://github.com/rust-lang/cc-rs/pull/1497))
|
| 220 |
+
- Add instructions on using sccache ([#1503](https://github.com/rust-lang/cc-rs/pull/1503))
|
| 221 |
+
- Add support for recognizing some architectures supported by GCC, but not LLVM. ([#1500](https://github.com/rust-lang/cc-rs/pull/1500))
|
| 222 |
+
|
| 223 |
+
## [1.2.30](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.29...cc-v1.2.30) - 2025-07-18
|
| 224 |
+
|
| 225 |
+
### Other
|
| 226 |
+
|
| 227 |
+
- define _REENTRANT by default ([#1496](https://github.com/rust-lang/cc-rs/pull/1496))
|
| 228 |
+
|
| 229 |
+
## [1.2.29](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.28...cc-v1.2.29) - 2025-07-05
|
| 230 |
+
|
| 231 |
+
### Other
|
| 232 |
+
|
| 233 |
+
- Fix target parsing for powerpc ([#1490](https://github.com/rust-lang/cc-rs/pull/1490))
|
| 234 |
+
|
| 235 |
+
## [1.2.28](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.27...cc-v1.2.28) - 2025-07-04
|
| 236 |
+
|
| 237 |
+
### Other
|
| 238 |
+
|
| 239 |
+
- Recognize `mlibc` environment ([#1488](https://github.com/rust-lang/cc-rs/pull/1488))
|
| 240 |
+
- Fix clippy warnings about not using variables in `format!` strings ([#1489](https://github.com/rust-lang/cc-rs/pull/1489))
|
| 241 |
+
|
| 242 |
+
## [1.2.27](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.26...cc-v1.2.27) - 2025-06-13
|
| 243 |
+
|
| 244 |
+
### Other
|
| 245 |
+
|
| 246 |
+
- Regenerate windows sys bindings ([#1485](https://github.com/rust-lang/cc-rs/pull/1485))
|
| 247 |
+
- Update windows-bindgen requirement from 0.61 to 0.62 ([#1484](https://github.com/rust-lang/cc-rs/pull/1484))
|
| 248 |
+
- Regenerate target info ([#1483](https://github.com/rust-lang/cc-rs/pull/1483))
|
| 249 |
+
|
| 250 |
+
## [1.2.26](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.25...cc-v1.2.26) - 2025-06-06
|
| 251 |
+
|
| 252 |
+
### Other
|
| 253 |
+
|
| 254 |
+
- Also set `SDKROOT` when building apple platforms ([#1475](https://github.com/rust-lang/cc-rs/pull/1475))
|
| 255 |
+
- use windows 2022 in CI ([#1479](https://github.com/rust-lang/cc-rs/pull/1479))
|
| 256 |
+
- Detect -Wslash-u-filename warning on clang-cl ([#1477](https://github.com/rust-lang/cc-rs/pull/1477))
|
| 257 |
+
|
| 258 |
+
## [1.2.25](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.24...cc-v1.2.25) - 2025-05-30
|
| 259 |
+
|
| 260 |
+
### Other
|
| 261 |
+
|
| 262 |
+
- make `powerp64` use `powerpc64-linux-gnu` prefix ([#1474](https://github.com/rust-lang/cc-rs/pull/1474))
|
| 263 |
+
|
| 264 |
+
## [1.2.24](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.23...cc-v1.2.24) - 2025-05-23
|
| 265 |
+
|
| 266 |
+
### Other
|
| 267 |
+
|
| 268 |
+
- Regenerate windows sys bindings ([#1471](https://github.com/rust-lang/cc-rs/pull/1471))
|
| 269 |
+
|
| 270 |
+
## [1.2.23](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.22...cc-v1.2.23) - 2025-05-16
|
| 271 |
+
|
| 272 |
+
### Other
|
| 273 |
+
|
| 274 |
+
- support "vxworks" and "nto" OSes on `get_base_archiver_variant` ([#1456](https://github.com/rust-lang/cc-rs/pull/1456))
|
| 275 |
+
|
| 276 |
+
## [1.2.22](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.21...cc-v1.2.22) - 2025-05-09
|
| 277 |
+
|
| 278 |
+
### Other
|
| 279 |
+
|
| 280 |
+
- Add `flags` method to `cc::Build` for adding multiple flags ([#1466](https://github.com/rust-lang/cc-rs/pull/1466))
|
| 281 |
+
|
| 282 |
+
## [1.2.21](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.20...cc-v1.2.21) - 2025-05-02
|
| 283 |
+
|
| 284 |
+
### Other
|
| 285 |
+
|
| 286 |
+
- Fix wasm32-unknown-unknown by passing -c ([#1424](https://github.com/rust-lang/cc-rs/pull/1424))
|
| 287 |
+
|
| 288 |
+
## [1.2.20](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.19...cc-v1.2.20) - 2025-04-25
|
| 289 |
+
|
| 290 |
+
### Other
|
| 291 |
+
|
| 292 |
+
- Regenerate target info ([#1461](https://github.com/rust-lang/cc-rs/pull/1461))
|
| 293 |
+
- Fix parser.rs on latest rustc nightly ([#1459](https://github.com/rust-lang/cc-rs/pull/1459))
|
| 294 |
+
|
| 295 |
+
## [1.2.19](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.18...cc-v1.2.19) - 2025-04-11
|
| 296 |
+
|
| 297 |
+
### Other
|
| 298 |
+
|
| 299 |
+
- Fix musl compilation: Add musl as a prefix fallback ([#1455](https://github.com/rust-lang/cc-rs/pull/1455))
|
| 300 |
+
|
| 301 |
+
## [1.2.18](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.17...cc-v1.2.18) - 2025-04-04
|
| 302 |
+
|
| 303 |
+
### Other
|
| 304 |
+
|
| 305 |
+
- Regenerate target info ([#1450](https://github.com/rust-lang/cc-rs/pull/1450))
|
| 306 |
+
- Use `std::thread::available_parallelism` for determining the default number of jobs ([#1447](https://github.com/rust-lang/cc-rs/pull/1447))
|
| 307 |
+
- Fix mips64-openwrt-linux-musl parsing ([#1449](https://github.com/rust-lang/cc-rs/pull/1449))
|
| 308 |
+
- Use compiler prefix `x86_64-linux-musl` ([#1443](https://github.com/rust-lang/cc-rs/pull/1443))
|
| 309 |
+
|
| 310 |
+
## [1.2.17](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.16...cc-v1.2.17) - 2025-03-21
|
| 311 |
+
|
| 312 |
+
### Other
|
| 313 |
+
|
| 314 |
+
- Regenerate target info ([#1439](https://github.com/rust-lang/cc-rs/pull/1439))
|
| 315 |
+
- Regenerate windows sys bindings ([#1437](https://github.com/rust-lang/cc-rs/pull/1437))
|
| 316 |
+
- Fix wasm32-wali-linux-musl target parsing ([#1434](https://github.com/rust-lang/cc-rs/pull/1434))
|
| 317 |
+
- Parse `rustc` target names ([#1413](https://github.com/rust-lang/cc-rs/pull/1413))
|
| 318 |
+
- Regenerate target info ([#1429](https://github.com/rust-lang/cc-rs/pull/1429))
|
| 319 |
+
- Added base support for `wasm32-wali-linux-musl` target ([#1373](https://github.com/rust-lang/cc-rs/pull/1373))
|
| 320 |
+
|
| 321 |
+
## [1.2.16](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.15...cc-v1.2.16) - 2025-02-28
|
| 322 |
+
|
| 323 |
+
### Fixed
|
| 324 |
+
|
| 325 |
+
- force windows compiler to run in `out_dir` to prevent artifacts in cwd (#1415)
|
| 326 |
+
|
| 327 |
+
### Other
|
| 328 |
+
|
| 329 |
+
- use `/arch:SSE2` for `x86` target arch (#1425)
|
| 330 |
+
- Regenerate windows-sys binding ([#1422](https://github.com/rust-lang/cc-rs/pull/1422))
|
| 331 |
+
- Regenerate target info ([#1418](https://github.com/rust-lang/cc-rs/pull/1418))
|
| 332 |
+
- Add LIB var when compiling flag_check (#1417)
|
| 333 |
+
- Change flag ordering ([#1403](https://github.com/rust-lang/cc-rs/pull/1403))
|
| 334 |
+
- Fix archiver detection for musl cross compilation ([#1404](https://github.com/rust-lang/cc-rs/pull/1404))
|
| 335 |
+
|
| 336 |
+
## [1.2.15](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.14...cc-v1.2.15) - 2025-02-21
|
| 337 |
+
|
| 338 |
+
### Other
|
| 339 |
+
|
| 340 |
+
- Regenerate target info ([#1406](https://github.com/rust-lang/cc-rs/pull/1406))
|
| 341 |
+
- Always read from all `CFLAGS`-style flags ([#1401](https://github.com/rust-lang/cc-rs/pull/1401))
|
| 342 |
+
- Simplify the error output on failed `Command` invocation ([#1397](https://github.com/rust-lang/cc-rs/pull/1397))
|
| 343 |
+
|
| 344 |
+
## [1.2.14](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.13...cc-v1.2.14) - 2025-02-14
|
| 345 |
+
|
| 346 |
+
### Other
|
| 347 |
+
|
| 348 |
+
- Regenerate target info ([#1398](https://github.com/rust-lang/cc-rs/pull/1398))
|
| 349 |
+
- Add support for setting `-gdwarf-{version}` based on RUSTFLAGS ([#1395](https://github.com/rust-lang/cc-rs/pull/1395))
|
| 350 |
+
- Add support for alternative network stack io-sock on QNX 7.1 aarch64 and x86_64 ([#1312](https://github.com/rust-lang/cc-rs/pull/1312))
|
| 351 |
+
|
| 352 |
+
## [1.2.13](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.12...cc-v1.2.13) - 2025-02-08
|
| 353 |
+
|
| 354 |
+
### Other
|
| 355 |
+
|
| 356 |
+
- Fix cross-compiling for Apple platforms ([#1389](https://github.com/rust-lang/cc-rs/pull/1389))
|
| 357 |
+
|
| 358 |
+
## [1.2.12](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.11...cc-v1.2.12) - 2025-02-04
|
| 359 |
+
|
| 360 |
+
### Other
|
| 361 |
+
|
| 362 |
+
- Split impl Build ([#1382](https://github.com/rust-lang/cc-rs/pull/1382))
|
| 363 |
+
- Don't specify both `-target` and `-mtargetos=` on Apple targets ([#1384](https://github.com/rust-lang/cc-rs/pull/1384))
|
| 364 |
+
|
| 365 |
+
## [1.2.11](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.10...cc-v1.2.11) - 2025-01-31
|
| 366 |
+
|
| 367 |
+
### Other
|
| 368 |
+
|
| 369 |
+
- Fix more flag inheritance ([#1380](https://github.com/rust-lang/cc-rs/pull/1380))
|
| 370 |
+
- Include wrapper args. in `stdout` family heuristics to restore classifying `clang --driver-mode=cl` as `Msvc { clang_cl: true }` ([#1378](https://github.com/rust-lang/cc-rs/pull/1378))
|
| 371 |
+
- Constrain `-Clto` and `-Cembed-bitcode` flag inheritance to be `clang`-only ([#1379](https://github.com/rust-lang/cc-rs/pull/1379))
|
| 372 |
+
- Pass deployment target with `-m*-version-min=` ([#1339](https://github.com/rust-lang/cc-rs/pull/1339))
|
| 373 |
+
- Regenerate target info ([#1376](https://github.com/rust-lang/cc-rs/pull/1376))
|
| 374 |
+
|
| 375 |
+
## [1.2.10](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.9...cc-v1.2.10) - 2025-01-17
|
| 376 |
+
|
| 377 |
+
### Other
|
| 378 |
+
|
| 379 |
+
- Fix CC_FORCE_DISABLE=0 evaluating to true ([#1371](https://github.com/rust-lang/cc-rs/pull/1371))
|
| 380 |
+
- Regenerate target info ([#1369](https://github.com/rust-lang/cc-rs/pull/1369))
|
| 381 |
+
- Make hidden lifetimes explicit. ([#1366](https://github.com/rust-lang/cc-rs/pull/1366))
|
| 382 |
+
|
| 383 |
+
## [1.2.9](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.8...cc-v1.2.9) - 2025-01-12
|
| 384 |
+
|
| 385 |
+
### Other
|
| 386 |
+
|
| 387 |
+
- Don't pass inherited PGO flags to GNU compilers (#1363)
|
| 388 |
+
- Adjusted zig cc judgment and avoided zigbuild errors([#1360](https://github.com/rust-lang/cc-rs/pull/1360)) ([#1361](https://github.com/rust-lang/cc-rs/pull/1361))
|
| 389 |
+
- Fix compilation on macOS using clang and fix compilation using zig-cc ([#1364](https://github.com/rust-lang/cc-rs/pull/1364))
|
| 390 |
+
|
| 391 |
+
## [1.2.8](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.7...cc-v1.2.8) - 2025-01-11
|
| 392 |
+
|
| 393 |
+
### Other
|
| 394 |
+
|
| 395 |
+
- Add `is_like_clang_cl()` getter (#1357)
|
| 396 |
+
- Fix clippy error in lib.rs ([#1356](https://github.com/rust-lang/cc-rs/pull/1356))
|
| 397 |
+
- Regenerate target info ([#1352](https://github.com/rust-lang/cc-rs/pull/1352))
|
| 398 |
+
- Fix compiler family detection issue with clang-cl on macOS ([#1328](https://github.com/rust-lang/cc-rs/pull/1328))
|
| 399 |
+
- Update `windows-bindgen` dependency ([#1347](https://github.com/rust-lang/cc-rs/pull/1347))
|
| 400 |
+
- Fix clippy warnings ([#1346](https://github.com/rust-lang/cc-rs/pull/1346))
|
| 401 |
+
|
| 402 |
+
## [1.2.7](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.6...cc-v1.2.7) - 2025-01-03
|
| 403 |
+
|
| 404 |
+
### Other
|
| 405 |
+
|
| 406 |
+
- Regenerate target info ([#1342](https://github.com/rust-lang/cc-rs/pull/1342))
|
| 407 |
+
- Document new supported architecture names in windows::find
|
| 408 |
+
- Make is_flag_supported_inner take an &Tool ([#1337](https://github.com/rust-lang/cc-rs/pull/1337))
|
| 409 |
+
- Fix is_flag_supported on msvc ([#1336](https://github.com/rust-lang/cc-rs/pull/1336))
|
| 410 |
+
- Allow using Visual Studio target names in `find_tool` ([#1335](https://github.com/rust-lang/cc-rs/pull/1335))
|
| 411 |
+
|
| 412 |
+
## [1.2.6](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.5...cc-v1.2.6) - 2024-12-27
|
| 413 |
+
|
| 414 |
+
### Other
|
| 415 |
+
|
| 416 |
+
- Don't inherit the `/Oy` flag for 64-bit targets ([#1330](https://github.com/rust-lang/cc-rs/pull/1330))
|
| 417 |
+
|
| 418 |
+
## [1.2.5](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.4...cc-v1.2.5) - 2024-12-19
|
| 419 |
+
|
| 420 |
+
### Other
|
| 421 |
+
|
| 422 |
+
- Check linking when testing if compiler flags are supported ([#1322](https://github.com/rust-lang/cc-rs/pull/1322))
|
| 423 |
+
|
| 424 |
+
## [1.2.4](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.3...cc-v1.2.4) - 2024-12-13
|
| 425 |
+
|
| 426 |
+
### Other
|
| 427 |
+
|
| 428 |
+
- Add support for C/C++ compiler for Neutrino QNX: `qcc` ([#1319](https://github.com/rust-lang/cc-rs/pull/1319))
|
| 429 |
+
- use -maix64 instead of -m64 ([#1307](https://github.com/rust-lang/cc-rs/pull/1307))
|
| 430 |
+
|
| 431 |
+
## [1.2.3](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.2...cc-v1.2.3) - 2024-12-06
|
| 432 |
+
|
| 433 |
+
### Other
|
| 434 |
+
|
| 435 |
+
- Improve detection of environment when compiling from msbuild or msvc ([#1310](https://github.com/rust-lang/cc-rs/pull/1310))
|
| 436 |
+
- Better error message when failing on unknown targets ([#1313](https://github.com/rust-lang/cc-rs/pull/1313))
|
| 437 |
+
- Optimize RustcCodegenFlags ([#1305](https://github.com/rust-lang/cc-rs/pull/1305))
|
| 438 |
+
|
| 439 |
+
## [1.2.2](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.1...cc-v1.2.2) - 2024-11-29
|
| 440 |
+
|
| 441 |
+
### Other
|
| 442 |
+
|
| 443 |
+
- Inherit flags from rustc ([#1279](https://github.com/rust-lang/cc-rs/pull/1279))
|
| 444 |
+
- Add support for using sccache wrapper with cuda/nvcc ([#1304](https://github.com/rust-lang/cc-rs/pull/1304))
|
| 445 |
+
- Fix msvc stdout not shown on error ([#1303](https://github.com/rust-lang/cc-rs/pull/1303))
|
| 446 |
+
- Regenerate target info ([#1301](https://github.com/rust-lang/cc-rs/pull/1301))
|
| 447 |
+
- Fix compilation of C++ code for armv7-unknown-linux-gnueabihf ([#1298](https://github.com/rust-lang/cc-rs/pull/1298))
|
| 448 |
+
- Fetch target info from Cargo even if `Build::target` is manually set ([#1299](https://github.com/rust-lang/cc-rs/pull/1299))
|
| 449 |
+
- Fix two files with different extensions having the same object name ([#1295](https://github.com/rust-lang/cc-rs/pull/1295))
|
| 450 |
+
- Allow disabling cc's ability to compile via env var CC_FORCE_DISABLE ([#1292](https://github.com/rust-lang/cc-rs/pull/1292))
|
| 451 |
+
- Regenerate target info ([#1293](https://github.com/rust-lang/cc-rs/pull/1293))
|
| 452 |
+
|
| 453 |
+
## [1.2.1](https://github.com/rust-lang/cc-rs/compare/cc-v1.2.0...cc-v1.2.1) - 2024-11-14
|
| 454 |
+
|
| 455 |
+
### Other
|
| 456 |
+
|
| 457 |
+
- When invoking `cl -?`, set stdin to null ([#1288](https://github.com/rust-lang/cc-rs/pull/1288))
|
| 458 |
+
|
| 459 |
+
## [1.2.0](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.37...cc-v1.2.0) - 2024-11-11
|
| 460 |
+
|
| 461 |
+
### Added
|
| 462 |
+
|
| 463 |
+
- add i686-pc-windows-gnullvm prefix detection ([#1283](https://github.com/rust-lang/cc-rs/pull/1283))
|
| 464 |
+
|
| 465 |
+
### Other
|
| 466 |
+
|
| 467 |
+
- Allow only specifying the architecture ([#1285](https://github.com/rust-lang/cc-rs/pull/1285))
|
| 468 |
+
- Fix WASM vs. WASI options ([#1284](https://github.com/rust-lang/cc-rs/pull/1284))
|
| 469 |
+
|
| 470 |
+
## [1.1.37](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.36...cc-v1.1.37) - 2024-11-08
|
| 471 |
+
|
| 472 |
+
### Other
|
| 473 |
+
|
| 474 |
+
- Use relative directory for obj files hash ([#1270](https://github.com/rust-lang/cc-rs/pull/1270))
|
| 475 |
+
- Regenerate target info ([#1280](https://github.com/rust-lang/cc-rs/pull/1280))
|
| 476 |
+
|
| 477 |
+
## [1.1.36](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.35...cc-v1.1.36) - 2024-11-05
|
| 478 |
+
|
| 479 |
+
### Other
|
| 480 |
+
|
| 481 |
+
- Fix CUDA build with clang++. ([#1273](https://github.com/rust-lang/cc-rs/pull/1273))
|
| 482 |
+
|
| 483 |
+
## [1.1.35](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.34...cc-v1.1.35) - 2024-11-04
|
| 484 |
+
|
| 485 |
+
### Other
|
| 486 |
+
|
| 487 |
+
- Remove support for FRC ([#1268](https://github.com/rust-lang/cc-rs/pull/1268))
|
| 488 |
+
- Do not add -fPIC by default on UEFI targets ([#1263](https://github.com/rust-lang/cc-rs/pull/1263))
|
| 489 |
+
- Use -windows-gnu for all UEFI targets ([#1264](https://github.com/rust-lang/cc-rs/pull/1264))
|
| 490 |
+
|
| 491 |
+
## [1.1.34](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.33...cc-v1.1.34) - 2024-11-02
|
| 492 |
+
|
| 493 |
+
### Other
|
| 494 |
+
|
| 495 |
+
- Remove redundant flags ([#1256](https://github.com/rust-lang/cc-rs/pull/1256))
|
| 496 |
+
|
| 497 |
+
## [1.1.33](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.32...cc-v1.1.33) - 2024-11-02
|
| 498 |
+
|
| 499 |
+
### Other
|
| 500 |
+
|
| 501 |
+
- Reduce size of `cc::Build` and size of generated targets ([#1257](https://github.com/rust-lang/cc-rs/pull/1257))
|
| 502 |
+
|
| 503 |
+
## [1.1.32](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.31...cc-v1.1.32) - 2024-11-02
|
| 504 |
+
|
| 505 |
+
### Other
|
| 506 |
+
|
| 507 |
+
- Use `rustc`'s knowledge of LLVM/Clang target triples ([#1252](https://github.com/rust-lang/cc-rs/pull/1252))
|
| 508 |
+
- Use Cargo's target information when possible ([#1225](https://github.com/rust-lang/cc-rs/pull/1225))
|
| 509 |
+
|
| 510 |
+
## [1.1.31](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.30...cc-v1.1.31) - 2024-10-19
|
| 511 |
+
|
| 512 |
+
### Other
|
| 513 |
+
|
| 514 |
+
- Add comment explaining why cc does not rebuild on env PATH change ([#1247](https://github.com/rust-lang/cc-rs/pull/1247))
|
| 515 |
+
|
| 516 |
+
## [1.1.30](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.29...cc-v1.1.30) - 2024-10-11
|
| 517 |
+
|
| 518 |
+
### Other
|
| 519 |
+
|
| 520 |
+
- Don't pass -fPIC by default on wasm ([#1245](https://github.com/rust-lang/cc-rs/pull/1245))
|
| 521 |
+
|
| 522 |
+
## [1.1.29](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.28...cc-v1.1.29) - 2024-10-11
|
| 523 |
+
|
| 524 |
+
### Other
|
| 525 |
+
|
| 526 |
+
- Regenerate target info ([#1243](https://github.com/rust-lang/cc-rs/pull/1243))
|
| 527 |
+
|
| 528 |
+
## [1.1.28](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.27...cc-v1.1.28) - 2024-10-06
|
| 529 |
+
|
| 530 |
+
### Other
|
| 531 |
+
|
| 532 |
+
- Environment variables: For one accepting boolean, treat "0", "false" and empty env as false ([#1238](https://github.com/rust-lang/cc-rs/pull/1238))
|
| 533 |
+
|
| 534 |
+
## [1.1.27](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.26...cc-v1.1.27) - 2024-10-06
|
| 535 |
+
|
| 536 |
+
### Other
|
| 537 |
+
|
| 538 |
+
- Revert "Use debug version of MSVC runtime library on debug ([#1231](https://github.com/rust-lang/cc-rs/pull/1231))" ([#1237](https://github.com/rust-lang/cc-rs/pull/1237))
|
| 539 |
+
- Disable `CC_ENABLE_DEBUG_OUTPUT` if it is set to "0" ([#1234](https://github.com/rust-lang/cc-rs/pull/1234))
|
| 540 |
+
|
| 541 |
+
## [1.1.26](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.25...cc-v1.1.26) - 2024-10-06
|
| 542 |
+
|
| 543 |
+
### Other
|
| 544 |
+
|
| 545 |
+
- Use debug version of MSVC runtime library on debug ([#1231](https://github.com/rust-lang/cc-rs/pull/1231))
|
| 546 |
+
|
| 547 |
+
## [1.1.25](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.24...cc-v1.1.25) - 2024-10-05
|
| 548 |
+
|
| 549 |
+
### Other
|
| 550 |
+
|
| 551 |
+
- Remove incorrect "lib" prefixes in CXXSTDLIB doc comments ([#1228](https://github.com/rust-lang/cc-rs/pull/1228))
|
| 552 |
+
|
| 553 |
+
## [1.1.24](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.23...cc-v1.1.24) - 2024-10-01
|
| 554 |
+
|
| 555 |
+
### Other
|
| 556 |
+
|
| 557 |
+
- Fix wasm32-wasip1-threads: shared-memory disallowed due to not compiled with 'atomics' or 'bulk-memory' features ([#1221](https://github.com/rust-lang/cc-rs/pull/1221))
|
| 558 |
+
- Reduce the need for the host target triple ([#1224](https://github.com/rust-lang/cc-rs/pull/1224))
|
| 559 |
+
- Add auto cancellation for CI jobs ([#1222](https://github.com/rust-lang/cc-rs/pull/1222))
|
| 560 |
+
|
| 561 |
+
## [1.1.23](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.22...cc-v1.1.23) - 2024-09-30
|
| 562 |
+
|
| 563 |
+
### Other
|
| 564 |
+
|
| 565 |
+
- Update doc for detecting changes/upgrades of compilers ([#1218](https://github.com/rust-lang/cc-rs/pull/1218))
|
| 566 |
+
|
| 567 |
+
## [1.1.22](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.21...cc-v1.1.22) - 2024-09-27
|
| 568 |
+
|
| 569 |
+
### Other
|
| 570 |
+
|
| 571 |
+
- Don't rerun if PATH changes ([#1215](https://github.com/rust-lang/cc-rs/pull/1215))
|
| 572 |
+
|
| 573 |
+
## [1.1.21](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.20...cc-v1.1.21) - 2024-09-18
|
| 574 |
+
|
| 575 |
+
### Other
|
| 576 |
+
|
| 577 |
+
- disable pic for targets that end in `-none` ([#1212](https://github.com/rust-lang/cc-rs/pull/1212))
|
| 578 |
+
|
| 579 |
+
## [1.1.20](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.19...cc-v1.1.20) - 2024-09-17
|
| 580 |
+
|
| 581 |
+
### Other
|
| 582 |
+
|
| 583 |
+
- Add buildcache as known Rust and C/C++ compiler wrapper ([#1209](https://github.com/rust-lang/cc-rs/pull/1209))
|
| 584 |
+
|
| 585 |
+
## [1.1.19](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.18...cc-v1.1.19) - 2024-09-15
|
| 586 |
+
|
| 587 |
+
### Other
|
| 588 |
+
|
| 589 |
+
- Add support arm64e-apple-darwin ([#1207](https://github.com/rust-lang/cc-rs/pull/1207))
|
| 590 |
+
|
| 591 |
+
## [1.1.18](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.17...cc-v1.1.18) - 2024-09-07
|
| 592 |
+
|
| 593 |
+
### Other
|
| 594 |
+
- Fixed unsoundness in `StderrForwarder::forward_available` ([#1203](https://github.com/rust-lang/cc-rs/pull/1203))
|
| 595 |
+
|
| 596 |
+
## [1.1.17](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.16...cc-v1.1.17) - 2024-09-06
|
| 597 |
+
|
| 598 |
+
### Fixed
|
| 599 |
+
- fix finding toolchains when invoked by msbuild ([#1201](https://github.com/rust-lang/cc-rs/pull/1201))
|
| 600 |
+
|
| 601 |
+
## [1.1.16](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.15...cc-v1.1.16) - 2024-09-04
|
| 602 |
+
|
| 603 |
+
### Other
|
| 604 |
+
- Treat VxWorks wr-cc as a Gnu compiler ([#1198](https://github.com/rust-lang/cc-rs/pull/1198))
|
| 605 |
+
|
| 606 |
+
## [1.1.15](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.14...cc-v1.1.15) - 2024-08-26
|
| 607 |
+
|
| 608 |
+
### Other
|
| 609 |
+
- Add -mfloat-abi=hard as a default argument when using any arm/thumb-none-eabihf target ([#1194](https://github.com/rust-lang/cc-rs/pull/1194))
|
| 610 |
+
|
| 611 |
+
## [1.1.14](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.13...cc-v1.1.14) - 2024-08-23
|
| 612 |
+
|
| 613 |
+
### Other
|
| 614 |
+
- allow finding tools from path if VisualStudioDir is set
|
| 615 |
+
|
| 616 |
+
## [1.1.13](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.12...cc-v1.1.13) - 2024-08-16
|
| 617 |
+
|
| 618 |
+
### Other
|
| 619 |
+
- Fix detect family: should detect emscripten as clang, closes [#1185](https://github.com/rust-lang/cc-rs/pull/1185) ([#1186](https://github.com/rust-lang/cc-rs/pull/1186))
|
| 620 |
+
|
| 621 |
+
## [1.1.12](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.11...cc-v1.1.12) - 2024-08-15
|
| 622 |
+
|
| 623 |
+
### Other
|
| 624 |
+
- improve docs ([#1183](https://github.com/rust-lang/cc-rs/pull/1183))
|
| 625 |
+
|
| 626 |
+
## [1.1.11](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.10...cc-v1.1.11) - 2024-08-14
|
| 627 |
+
|
| 628 |
+
### Other
|
| 629 |
+
- Add support for parsing shell encoded `*FLAGS` ([#1181](https://github.com/rust-lang/cc-rs/pull/1181))
|
| 630 |
+
- Replace vector of tuples with BTreeMap which already is sorted and free of duplicates ([#1177](https://github.com/rust-lang/cc-rs/pull/1177))
|
| 631 |
+
|
| 632 |
+
## [1.1.10](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.9...cc-v1.1.10) - 2024-08-11
|
| 633 |
+
|
| 634 |
+
### Other
|
| 635 |
+
- Remap Windows targets triples to their LLVM counterparts ([#1176](https://github.com/rust-lang/cc-rs/pull/1176))
|
| 636 |
+
|
| 637 |
+
## [1.1.9](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.8...cc-v1.1.9) - 2024-08-11
|
| 638 |
+
|
| 639 |
+
### Other
|
| 640 |
+
- Add custom CC wrapper to the wrapper whitelist ([#1175](https://github.com/rust-lang/cc-rs/pull/1175))
|
| 641 |
+
|
| 642 |
+
## [1.1.8](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.7...cc-v1.1.8) - 2024-08-06
|
| 643 |
+
|
| 644 |
+
### Other
|
| 645 |
+
- Fix broken link in docs.rs ([#1173](https://github.com/rust-lang/cc-rs/pull/1173))
|
| 646 |
+
|
| 647 |
+
## [1.1.7](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.6...cc-v1.1.7) - 2024-07-29
|
| 648 |
+
|
| 649 |
+
### Other
|
| 650 |
+
- add `.objects` ([#1166](https://github.com/rust-lang/cc-rs/pull/1166))
|
| 651 |
+
|
| 652 |
+
## [1.1.6](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.5...cc-v1.1.6) - 2024-07-19
|
| 653 |
+
|
| 654 |
+
### Other
|
| 655 |
+
- Clippy fixes ([#1163](https://github.com/rust-lang/cc-rs/pull/1163))
|
| 656 |
+
|
| 657 |
+
## [1.1.5](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.4...cc-v1.1.5) - 2024-07-15
|
| 658 |
+
|
| 659 |
+
### Other
|
| 660 |
+
- Fix cyclic compilation: Use vendored once_cell ([#1154](https://github.com/rust-lang/cc-rs/pull/1154))
|
| 661 |
+
|
| 662 |
+
## [1.1.4](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.3...cc-v1.1.4) - 2024-07-14
|
| 663 |
+
|
| 664 |
+
### Other
|
| 665 |
+
- Support compiling on wasm targets (Supersede [#1068](https://github.com/rust-lang/cc-rs/pull/1068)) ([#1160](https://github.com/rust-lang/cc-rs/pull/1160))
|
| 666 |
+
|
| 667 |
+
## [1.1.3](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.2...cc-v1.1.3) - 2024-07-14
|
| 668 |
+
|
| 669 |
+
### Other
|
| 670 |
+
- Reduce msrv to 1.63 ([#1158](https://github.com/rust-lang/cc-rs/pull/1158))
|
| 671 |
+
- Revert "Use raw-dylib for windows-sys ([#1137](https://github.com/rust-lang/cc-rs/pull/1137))" ([#1157](https://github.com/rust-lang/cc-rs/pull/1157))
|
| 672 |
+
- Fix typos ([#1152](https://github.com/rust-lang/cc-rs/pull/1152))
|
| 673 |
+
- Fix `doc_lazy_continuation` lints ([#1153](https://github.com/rust-lang/cc-rs/pull/1153))
|
| 674 |
+
|
| 675 |
+
## [1.1.2](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.1...cc-v1.1.2) - 2024-07-12
|
| 676 |
+
|
| 677 |
+
### Other
|
| 678 |
+
- Add empty `jobserver` feature. ([#1150](https://github.com/rust-lang/cc-rs/pull/1150))
|
| 679 |
+
|
| 680 |
+
## [1.1.1](https://github.com/rust-lang/cc-rs/compare/cc-v1.1.0...cc-v1.1.1) - 2024-07-12
|
| 681 |
+
|
| 682 |
+
### Other
|
| 683 |
+
- Fix is_flag_supported not respecting emit_rerun_if_env_changed ([#1147](https://github.com/rust-lang/cc-rs/pull/1147)) ([#1148](https://github.com/rust-lang/cc-rs/pull/1148))
|
| 684 |
+
|
| 685 |
+
## [1.1.0](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.106...cc-v1.1.0) - 2024-07-08
|
| 686 |
+
|
| 687 |
+
### Added
|
| 688 |
+
- add cargo_output to eliminate last vestiges of stdout pollution ([#1141](https://github.com/rust-lang/cc-rs/pull/1141))
|
| 689 |
+
|
| 690 |
+
## [1.0.106](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.105...cc-v1.0.106) - 2024-07-08
|
| 691 |
+
|
| 692 |
+
### Other
|
| 693 |
+
- Drop support for Visual Studio 12 (2013) ([#1046](https://github.com/rust-lang/cc-rs/pull/1046))
|
| 694 |
+
- Use raw-dylib for windows-sys ([#1137](https://github.com/rust-lang/cc-rs/pull/1137))
|
| 695 |
+
- Bump msrv to 1.67 ([#1143](https://github.com/rust-lang/cc-rs/pull/1143))
|
| 696 |
+
- Bump msrv to 1.65 ([#1140](https://github.com/rust-lang/cc-rs/pull/1140))
|
| 697 |
+
- Fix clippy warnings ([#1138](https://github.com/rust-lang/cc-rs/pull/1138))
|
| 698 |
+
|
| 699 |
+
## [1.0.105](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.104...cc-v1.0.105) - 2024-07-07
|
| 700 |
+
|
| 701 |
+
### Other
|
| 702 |
+
- Regenerate windows sys bindings ([#1132](https://github.com/rust-lang/cc-rs/pull/1132))
|
| 703 |
+
- Fix generate-windows-sys-bindings ([#1133](https://github.com/rust-lang/cc-rs/pull/1133))
|
| 704 |
+
- Fix gen-windows-sys-binding ([#1130](https://github.com/rust-lang/cc-rs/pull/1130))
|
| 705 |
+
- Fix gen-windows-sys-binding ([#1127](https://github.com/rust-lang/cc-rs/pull/1127))
|
| 706 |
+
- Update windows-bindgen requirement from 0.57 to 0.58 ([#1123](https://github.com/rust-lang/cc-rs/pull/1123))
|
| 707 |
+
|
| 708 |
+
## [1.0.104](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.103...cc-v1.0.104) - 2024-07-01
|
| 709 |
+
|
| 710 |
+
### Other
|
| 711 |
+
- Fixed link break about compile-time-requirements ([#1118](https://github.com/rust-lang/cc-rs/pull/1118))
|
| 712 |
+
|
| 713 |
+
## [1.0.103](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.102...cc-v1.0.103) - 2024-06-30
|
| 714 |
+
|
| 715 |
+
### Other
|
| 716 |
+
- Fix compilation for wasm: env WASI_SYSROOT should be optional ([#1114](https://github.com/rust-lang/cc-rs/pull/1114))
|
| 717 |
+
|
| 718 |
+
## [1.0.102](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.101...cc-v1.0.102) - 2024-06-29
|
| 719 |
+
|
| 720 |
+
### Other
|
| 721 |
+
- Fix invalid wasi targets compatibility ([#1105](https://github.com/rust-lang/cc-rs/pull/1105))
|
| 722 |
+
- Speedup regenerate-target-info and regenerate-windows-sys ([#1110](https://github.com/rust-lang/cc-rs/pull/1110))
|
| 723 |
+
|
| 724 |
+
## [1.0.101](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.100...cc-v1.0.101) - 2024-06-25
|
| 725 |
+
|
| 726 |
+
### Other
|
| 727 |
+
- Use `Build::getenv` instead of `env::var*` in anywhere that makes sense ([#1103](https://github.com/rust-lang/cc-rs/pull/1103))
|
| 728 |
+
|
| 729 |
+
## [1.0.100](https://github.com/rust-lang/cc-rs/compare/cc-v1.0.99...cc-v1.0.100) - 2024-06-23
|
| 730 |
+
|
| 731 |
+
### Other
|
| 732 |
+
- Update publish.yml to use release-plz ([#1101](https://github.com/rust-lang/cc-rs/pull/1101))
|
| 733 |
+
- Accept `OsStr` instead of `str` for flags ([#1100](https://github.com/rust-lang/cc-rs/pull/1100))
|
| 734 |
+
- Use `dep:` syntax to avoid implicit features. ([#1099](https://github.com/rust-lang/cc-rs/pull/1099))
|
| 735 |
+
- Minor clippy fixes. ([#1098](https://github.com/rust-lang/cc-rs/pull/1098))
|
| 736 |
+
- Fix WASI compilation for C++ ([#1083](https://github.com/rust-lang/cc-rs/pull/1083))
|
| 737 |
+
- Regenerate windows sys bindings ([#1096](https://github.com/rust-lang/cc-rs/pull/1096))
|
| 738 |
+
- Rename regenerate-windows-sys to regenerate-windows-sys.yml ([#1095](https://github.com/rust-lang/cc-rs/pull/1095))
|
| 739 |
+
- Create regenerate-windows-sys.yml ([#1094](https://github.com/rust-lang/cc-rs/pull/1094))
|
| 740 |
+
- Update windows-bindgen requirement from 0.56 to 0.57 ([#1091](https://github.com/rust-lang/cc-rs/pull/1091))
|
| 741 |
+
- Eagerly close tempfile to fix [#1082](https://github.com/rust-lang/cc-rs/pull/1082) ([#1087](https://github.com/rust-lang/cc-rs/pull/1087))
|
| 742 |
+
- Output msvc.exe in the output directory ([#1090](https://github.com/rust-lang/cc-rs/pull/1090))
|
| 743 |
+
- Fix clippy warnings on Windows ([#1088](https://github.com/rust-lang/cc-rs/pull/1088))
|
| 744 |
+
- Don't try to free DLL on drop ([#1089](https://github.com/rust-lang/cc-rs/pull/1089))
|
| 745 |
+
- Fix panic safety issue in StderrForwarder ([#1079](https://github.com/rust-lang/cc-rs/pull/1079))
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.lock
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 3
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "bitflags"
|
| 7 |
+
version = "2.10.0"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
| 10 |
+
|
| 11 |
+
[[package]]
|
| 12 |
+
name = "cc"
|
| 13 |
+
version = "1.2.55"
|
| 14 |
+
dependencies = [
|
| 15 |
+
"find-msvc-tools",
|
| 16 |
+
"jobserver",
|
| 17 |
+
"libc",
|
| 18 |
+
"shlex",
|
| 19 |
+
"tempfile",
|
| 20 |
+
]
|
| 21 |
+
|
| 22 |
+
[[package]]
|
| 23 |
+
name = "cfg-if"
|
| 24 |
+
version = "1.0.4"
|
| 25 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 26 |
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
| 27 |
+
|
| 28 |
+
[[package]]
|
| 29 |
+
name = "errno"
|
| 30 |
+
version = "0.3.14"
|
| 31 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 32 |
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
| 33 |
+
dependencies = [
|
| 34 |
+
"libc",
|
| 35 |
+
"windows-sys",
|
| 36 |
+
]
|
| 37 |
+
|
| 38 |
+
[[package]]
|
| 39 |
+
name = "fastrand"
|
| 40 |
+
version = "2.3.0"
|
| 41 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 42 |
+
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
| 43 |
+
|
| 44 |
+
[[package]]
|
| 45 |
+
name = "find-msvc-tools"
|
| 46 |
+
version = "0.1.9"
|
| 47 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 48 |
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
| 49 |
+
|
| 50 |
+
[[package]]
|
| 51 |
+
name = "getrandom"
|
| 52 |
+
version = "0.3.4"
|
| 53 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 54 |
+
checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
|
| 55 |
+
dependencies = [
|
| 56 |
+
"cfg-if",
|
| 57 |
+
"libc",
|
| 58 |
+
"r-efi",
|
| 59 |
+
"wasip2",
|
| 60 |
+
]
|
| 61 |
+
|
| 62 |
+
[[package]]
|
| 63 |
+
name = "jobserver"
|
| 64 |
+
version = "0.1.34"
|
| 65 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 66 |
+
checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33"
|
| 67 |
+
dependencies = [
|
| 68 |
+
"getrandom",
|
| 69 |
+
"libc",
|
| 70 |
+
]
|
| 71 |
+
|
| 72 |
+
[[package]]
|
| 73 |
+
name = "libc"
|
| 74 |
+
version = "0.2.180"
|
| 75 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 76 |
+
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
|
| 77 |
+
|
| 78 |
+
[[package]]
|
| 79 |
+
name = "linux-raw-sys"
|
| 80 |
+
version = "0.11.0"
|
| 81 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 82 |
+
checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
|
| 83 |
+
|
| 84 |
+
[[package]]
|
| 85 |
+
name = "once_cell"
|
| 86 |
+
version = "1.21.3"
|
| 87 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 88 |
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
| 89 |
+
|
| 90 |
+
[[package]]
|
| 91 |
+
name = "r-efi"
|
| 92 |
+
version = "5.3.0"
|
| 93 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 94 |
+
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
| 95 |
+
|
| 96 |
+
[[package]]
|
| 97 |
+
name = "rustix"
|
| 98 |
+
version = "1.1.3"
|
| 99 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 100 |
+
checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34"
|
| 101 |
+
dependencies = [
|
| 102 |
+
"bitflags",
|
| 103 |
+
"errno",
|
| 104 |
+
"libc",
|
| 105 |
+
"linux-raw-sys",
|
| 106 |
+
"windows-sys",
|
| 107 |
+
]
|
| 108 |
+
|
| 109 |
+
[[package]]
|
| 110 |
+
name = "shlex"
|
| 111 |
+
version = "1.3.0"
|
| 112 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 113 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 114 |
+
|
| 115 |
+
[[package]]
|
| 116 |
+
name = "tempfile"
|
| 117 |
+
version = "3.24.0"
|
| 118 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 119 |
+
checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c"
|
| 120 |
+
dependencies = [
|
| 121 |
+
"fastrand",
|
| 122 |
+
"getrandom",
|
| 123 |
+
"once_cell",
|
| 124 |
+
"rustix",
|
| 125 |
+
"windows-sys",
|
| 126 |
+
]
|
| 127 |
+
|
| 128 |
+
[[package]]
|
| 129 |
+
name = "wasip2"
|
| 130 |
+
version = "1.0.2+wasi-0.2.9"
|
| 131 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 132 |
+
checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
|
| 133 |
+
dependencies = [
|
| 134 |
+
"wit-bindgen",
|
| 135 |
+
]
|
| 136 |
+
|
| 137 |
+
[[package]]
|
| 138 |
+
name = "windows-link"
|
| 139 |
+
version = "0.2.1"
|
| 140 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 141 |
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
| 142 |
+
|
| 143 |
+
[[package]]
|
| 144 |
+
name = "windows-sys"
|
| 145 |
+
version = "0.61.2"
|
| 146 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 147 |
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
| 148 |
+
dependencies = [
|
| 149 |
+
"windows-link",
|
| 150 |
+
]
|
| 151 |
+
|
| 152 |
+
[[package]]
|
| 153 |
+
name = "wit-bindgen"
|
| 154 |
+
version = "0.51.0"
|
| 155 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 156 |
+
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.toml
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
| 2 |
+
#
|
| 3 |
+
# When uploading crates to the registry Cargo will automatically
|
| 4 |
+
# "normalize" Cargo.toml files for maximal compatibility
|
| 5 |
+
# with all versions of Cargo and also rewrite `path` dependencies
|
| 6 |
+
# to registry (e.g., crates.io) dependencies.
|
| 7 |
+
#
|
| 8 |
+
# If you are reading this file be aware that the original Cargo.toml
|
| 9 |
+
# will likely look very different (and much more reasonable).
|
| 10 |
+
# See Cargo.toml.orig for the original contents.
|
| 11 |
+
|
| 12 |
+
[package]
|
| 13 |
+
edition = "2018"
|
| 14 |
+
rust-version = "1.63"
|
| 15 |
+
name = "cc"
|
| 16 |
+
version = "1.2.55"
|
| 17 |
+
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
| 18 |
+
build = false
|
| 19 |
+
exclude = [
|
| 20 |
+
"/.github",
|
| 21 |
+
"tests",
|
| 22 |
+
"src/bin",
|
| 23 |
+
]
|
| 24 |
+
autolib = false
|
| 25 |
+
autobins = false
|
| 26 |
+
autoexamples = false
|
| 27 |
+
autotests = false
|
| 28 |
+
autobenches = false
|
| 29 |
+
description = """
|
| 30 |
+
A build-time dependency for Cargo build scripts to assist in invoking the native
|
| 31 |
+
C compiler to compile native C code into a static archive to be linked into Rust
|
| 32 |
+
code.
|
| 33 |
+
"""
|
| 34 |
+
homepage = "https://github.com/rust-lang/cc-rs"
|
| 35 |
+
documentation = "https://docs.rs/cc"
|
| 36 |
+
readme = "README.md"
|
| 37 |
+
keywords = ["build-dependencies"]
|
| 38 |
+
categories = ["development-tools::build-utils"]
|
| 39 |
+
license = "MIT OR Apache-2.0"
|
| 40 |
+
repository = "https://github.com/rust-lang/cc-rs"
|
| 41 |
+
|
| 42 |
+
[features]
|
| 43 |
+
jobserver = []
|
| 44 |
+
parallel = [
|
| 45 |
+
"dep:libc",
|
| 46 |
+
"dep:jobserver",
|
| 47 |
+
]
|
| 48 |
+
|
| 49 |
+
[lib]
|
| 50 |
+
name = "cc"
|
| 51 |
+
path = "src/lib.rs"
|
| 52 |
+
|
| 53 |
+
[dependencies.find-msvc-tools]
|
| 54 |
+
version = "0.1.9"
|
| 55 |
+
|
| 56 |
+
[dependencies.jobserver]
|
| 57 |
+
version = "0.1.30"
|
| 58 |
+
optional = true
|
| 59 |
+
default-features = false
|
| 60 |
+
|
| 61 |
+
[dependencies.shlex]
|
| 62 |
+
version = "1.3.0"
|
| 63 |
+
|
| 64 |
+
[dev-dependencies.tempfile]
|
| 65 |
+
version = "3"
|
| 66 |
+
|
| 67 |
+
[target."cfg(unix)".dependencies.libc]
|
| 68 |
+
version = "0.2.62"
|
| 69 |
+
optional = true
|
| 70 |
+
default-features = false
|
| 71 |
+
|
| 72 |
+
[lints.rust.unexpected_cfgs]
|
| 73 |
+
level = "allow"
|
| 74 |
+
priority = 0
|
| 75 |
+
check-cfg = ["cfg(disable_clang_cl_tests)"]
|
| 76 |
+
|
| 77 |
+
[profile.release]
|
| 78 |
+
opt-level = 3
|
| 79 |
+
lto = true
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "cc"
|
| 3 |
+
version = "1.2.55"
|
| 4 |
+
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
| 5 |
+
license = "MIT OR Apache-2.0"
|
| 6 |
+
repository = "https://github.com/rust-lang/cc-rs"
|
| 7 |
+
homepage = "https://github.com/rust-lang/cc-rs"
|
| 8 |
+
documentation = "https://docs.rs/cc"
|
| 9 |
+
description = """
|
| 10 |
+
A build-time dependency for Cargo build scripts to assist in invoking the native
|
| 11 |
+
C compiler to compile native C code into a static archive to be linked into Rust
|
| 12 |
+
code.
|
| 13 |
+
"""
|
| 14 |
+
keywords = ["build-dependencies"]
|
| 15 |
+
readme = "README.md"
|
| 16 |
+
categories = ["development-tools::build-utils"]
|
| 17 |
+
# The binary target is only used by tests.
|
| 18 |
+
exclude = ["/.github", "tests", "src/bin"]
|
| 19 |
+
edition = "2018"
|
| 20 |
+
rust-version = "1.63"
|
| 21 |
+
|
| 22 |
+
[dependencies]
|
| 23 |
+
jobserver = { version = "0.1.30", default-features = false, optional = true }
|
| 24 |
+
shlex = "1.3.0"
|
| 25 |
+
find-msvc-tools = { version = "0.1.9", path = "find-msvc-tools" }
|
| 26 |
+
|
| 27 |
+
[target.'cfg(unix)'.dependencies]
|
| 28 |
+
# Don't turn on the feature "std" for this, see https://github.com/rust-lang/cargo/issues/4866
|
| 29 |
+
# which is still an issue with `resolver = "1"`.
|
| 30 |
+
libc = { version = "0.2.62", default-features = false, optional = true }
|
| 31 |
+
|
| 32 |
+
[features]
|
| 33 |
+
parallel = ["dep:libc", "dep:jobserver"]
|
| 34 |
+
# This is a placeholder feature for people who incorrectly used `cc` with `features = ["jobserver"]`
|
| 35 |
+
# so that they aren't broken. This has never enabled `parallel`, so we won't do that.
|
| 36 |
+
jobserver = []
|
| 37 |
+
|
| 38 |
+
[dev-dependencies]
|
| 39 |
+
tempfile = "3"
|
| 40 |
+
|
| 41 |
+
[workspace]
|
| 42 |
+
members = [
|
| 43 |
+
"find-msvc-tools",
|
| 44 |
+
"dev-tools/cc-test",
|
| 45 |
+
"dev-tools/gen-target-info",
|
| 46 |
+
"dev-tools/gen-windows-sys-binding",
|
| 47 |
+
"dev-tools/wasi-test",
|
| 48 |
+
]
|
| 49 |
+
|
| 50 |
+
[patch.crates-io]
|
| 51 |
+
cc = { path = "." }
|
| 52 |
+
|
| 53 |
+
[lints.rust]
|
| 54 |
+
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(disable_clang_cl_tests)'] }
|
| 55 |
+
|
| 56 |
+
[profile.release]
|
| 57 |
+
opt-level = 3 # Or "s" or "z" for different optimization goals
|
| 58 |
+
lto = true
|
| 59 |
+
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/LICENSE-MIT
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2014 Alex Crichton
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any
|
| 4 |
+
person obtaining a copy of this software and associated
|
| 5 |
+
documentation files (the "Software"), to deal in the
|
| 6 |
+
Software without restriction, including without
|
| 7 |
+
limitation the rights to use, copy, modify, merge,
|
| 8 |
+
publish, distribute, sublicense, and/or sell copies of
|
| 9 |
+
the Software, and to permit persons to whom the Software
|
| 10 |
+
is furnished to do so, subject to the following
|
| 11 |
+
conditions:
|
| 12 |
+
|
| 13 |
+
The above copyright notice and this permission notice
|
| 14 |
+
shall be included in all copies or substantial portions
|
| 15 |
+
of the Software.
|
| 16 |
+
|
| 17 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
| 18 |
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
| 19 |
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
| 20 |
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
| 21 |
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 22 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 23 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 24 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 25 |
+
DEALINGS IN THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# cc-rs
|
| 2 |
+
|
| 3 |
+
A library for
|
| 4 |
+
[Cargo build scripts](https://doc.rust-lang.org/cargo/reference/build-scripts.html)
|
| 5 |
+
to compile a set of C/C++/assembly/CUDA files into a static archive for Cargo to
|
| 6 |
+
link into the crate being built. This crate does not compile code itself; it
|
| 7 |
+
calls out to the default compiler for the platform. This crate will
|
| 8 |
+
automatically detect situations such as cross compilation and various
|
| 9 |
+
environment variables and will build code appropriately.
|
| 10 |
+
|
| 11 |
+
Refer to the [documentation](https://docs.rs/cc) for detailed usage
|
| 12 |
+
instructions.
|
| 13 |
+
|
| 14 |
+
## License
|
| 15 |
+
|
| 16 |
+
This project is licensed under either of
|
| 17 |
+
|
| 18 |
+
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
|
| 19 |
+
https://www.apache.org/licenses/LICENSE-2.0)
|
| 20 |
+
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
|
| 21 |
+
https://opensource.org/license/mit)
|
| 22 |
+
|
| 23 |
+
at your option.
|
| 24 |
+
|
| 25 |
+
### Contribution
|
| 26 |
+
|
| 27 |
+
Unless you explicitly state otherwise, any contribution intentionally submitted
|
| 28 |
+
for inclusion in cc-rs by you, as defined in the Apache-2.0 license, shall be
|
| 29 |
+
dual licensed as above, without any additional terms or conditions.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.55/clippy.toml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
disallowed-methods = [
|
| 2 |
+
{ path = "std::env::var_os", reason = "Please use Build::getenv" },
|
| 3 |
+
{ path = "std::env::var", reason = "Please use Build::getenv" },
|
| 4 |
+
]
|
| 5 |
+
doc-valid-idents = ["AppleClang", "OpenBSD", ".."]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "45caaa970ce443b11106a710ee24bd2480e5ff99"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/CITATION.cff
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Parser settings.
|
| 2 |
+
cff-version: 1.2.0
|
| 3 |
+
message: Please cite this crate using these information.
|
| 4 |
+
|
| 5 |
+
# Version information.
|
| 6 |
+
date-released: 2026-01-09
|
| 7 |
+
version: 0.4.43
|
| 8 |
+
|
| 9 |
+
# Project information.
|
| 10 |
+
abstract: Date and time library for Rust
|
| 11 |
+
authors:
|
| 12 |
+
- alias: quodlibetor
|
| 13 |
+
family-names: Maister
|
| 14 |
+
given-names: Brandon W.
|
| 15 |
+
- alias: djc
|
| 16 |
+
family-names: Ochtman
|
| 17 |
+
given-names: Dirkjan
|
| 18 |
+
- alias: lifthrasiir
|
| 19 |
+
family-names: Seonghoon
|
| 20 |
+
given-names: Kang
|
| 21 |
+
- alias: esheppa
|
| 22 |
+
family-names: Sheppard
|
| 23 |
+
given-names: Eric
|
| 24 |
+
- alias: pitdicker
|
| 25 |
+
family-names: Dicker
|
| 26 |
+
given-names: Paul
|
| 27 |
+
license:
|
| 28 |
+
- Apache-2.0
|
| 29 |
+
- MIT
|
| 30 |
+
repository-artifact: https://crates.io/crates/chrono
|
| 31 |
+
repository-code: https://github.com/chronotope/chrono
|
| 32 |
+
title: chrono
|
| 33 |
+
url: https://docs.rs/chrono
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.43/Cargo.lock
ADDED
|
@@ -0,0 +1,845 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 3
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "ahash"
|
| 7 |
+
version = "0.7.8"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"getrandom",
|
| 12 |
+
"once_cell",
|
| 13 |
+
"version_check",
|
| 14 |
+
]
|
| 15 |
+
|
| 16 |
+
[[package]]
|
| 17 |
+
name = "android_system_properties"
|
| 18 |
+
version = "0.1.5"
|
| 19 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 20 |
+
checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
| 21 |
+
dependencies = [
|
| 22 |
+
"libc",
|
| 23 |
+
]
|
| 24 |
+
|
| 25 |
+
[[package]]
|
| 26 |
+
name = "arbitrary"
|
| 27 |
+
version = "1.4.1"
|
| 28 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 29 |
+
checksum = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
|
| 30 |
+
dependencies = [
|
| 31 |
+
"derive_arbitrary",
|
| 32 |
+
]
|
| 33 |
+
|
| 34 |
+
[[package]]
|
| 35 |
+
name = "autocfg"
|
| 36 |
+
version = "1.4.0"
|
| 37 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 38 |
+
checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
|
| 39 |
+
|
| 40 |
+
[[package]]
|
| 41 |
+
name = "bincode"
|
| 42 |
+
version = "1.3.3"
|
| 43 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 44 |
+
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
| 45 |
+
dependencies = [
|
| 46 |
+
"serde",
|
| 47 |
+
]
|
| 48 |
+
|
| 49 |
+
[[package]]
|
| 50 |
+
name = "bitflags"
|
| 51 |
+
version = "1.3.2"
|
| 52 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 53 |
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
| 54 |
+
|
| 55 |
+
[[package]]
|
| 56 |
+
name = "bitvec"
|
| 57 |
+
version = "1.0.1"
|
| 58 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 59 |
+
checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
|
| 60 |
+
dependencies = [
|
| 61 |
+
"funty",
|
| 62 |
+
"radium",
|
| 63 |
+
"tap",
|
| 64 |
+
"wyz",
|
| 65 |
+
]
|
| 66 |
+
|
| 67 |
+
[[package]]
|
| 68 |
+
name = "bstr"
|
| 69 |
+
version = "1.11.3"
|
| 70 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 71 |
+
checksum = "531a9155a481e2ee699d4f98f43c0ca4ff8ee1bfd55c31e9e98fb29d2b176fe0"
|
| 72 |
+
dependencies = [
|
| 73 |
+
"memchr",
|
| 74 |
+
"regex-automata",
|
| 75 |
+
"serde",
|
| 76 |
+
]
|
| 77 |
+
|
| 78 |
+
[[package]]
|
| 79 |
+
name = "bumpalo"
|
| 80 |
+
version = "3.17.0"
|
| 81 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 82 |
+
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
|
| 83 |
+
|
| 84 |
+
[[package]]
|
| 85 |
+
name = "bytecheck"
|
| 86 |
+
version = "0.6.12"
|
| 87 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 88 |
+
checksum = "23cdc57ce23ac53c931e88a43d06d070a6fd142f2617be5855eb75efc9beb1c2"
|
| 89 |
+
dependencies = [
|
| 90 |
+
"bytecheck_derive",
|
| 91 |
+
"ptr_meta",
|
| 92 |
+
]
|
| 93 |
+
|
| 94 |
+
[[package]]
|
| 95 |
+
name = "bytecheck_derive"
|
| 96 |
+
version = "0.6.12"
|
| 97 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 98 |
+
checksum = "3db406d29fbcd95542e92559bed4d8ad92636d1ca8b3b72ede10b4bcc010e659"
|
| 99 |
+
dependencies = [
|
| 100 |
+
"proc-macro2",
|
| 101 |
+
"quote",
|
| 102 |
+
"syn 1.0.109",
|
| 103 |
+
]
|
| 104 |
+
|
| 105 |
+
[[package]]
|
| 106 |
+
name = "cc"
|
| 107 |
+
version = "1.2.15"
|
| 108 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 109 |
+
checksum = "c736e259eea577f443d5c86c304f9f4ae0295c43f3ba05c21f1d66b5f06001af"
|
| 110 |
+
dependencies = [
|
| 111 |
+
"shlex",
|
| 112 |
+
]
|
| 113 |
+
|
| 114 |
+
[[package]]
|
| 115 |
+
name = "cfg-if"
|
| 116 |
+
version = "1.0.0"
|
| 117 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 118 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 119 |
+
|
| 120 |
+
[[package]]
|
| 121 |
+
name = "chrono"
|
| 122 |
+
version = "0.4.43"
|
| 123 |
+
dependencies = [
|
| 124 |
+
"arbitrary",
|
| 125 |
+
"bincode",
|
| 126 |
+
"defmt",
|
| 127 |
+
"iana-time-zone",
|
| 128 |
+
"js-sys",
|
| 129 |
+
"num-traits",
|
| 130 |
+
"pure-rust-locales",
|
| 131 |
+
"rkyv",
|
| 132 |
+
"serde",
|
| 133 |
+
"serde_derive",
|
| 134 |
+
"serde_json",
|
| 135 |
+
"similar-asserts",
|
| 136 |
+
"wasm-bindgen",
|
| 137 |
+
"wasm-bindgen-test",
|
| 138 |
+
"windows-bindgen",
|
| 139 |
+
"windows-link",
|
| 140 |
+
]
|
| 141 |
+
|
| 142 |
+
[[package]]
|
| 143 |
+
name = "console"
|
| 144 |
+
version = "0.15.10"
|
| 145 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 146 |
+
checksum = "ea3c6ecd8059b57859df5c69830340ed3c41d30e3da0c1cbed90a96ac853041b"
|
| 147 |
+
dependencies = [
|
| 148 |
+
"encode_unicode",
|
| 149 |
+
"libc",
|
| 150 |
+
"once_cell",
|
| 151 |
+
"windows-sys",
|
| 152 |
+
]
|
| 153 |
+
|
| 154 |
+
[[package]]
|
| 155 |
+
name = "core-foundation-sys"
|
| 156 |
+
version = "0.8.7"
|
| 157 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 158 |
+
checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
| 159 |
+
|
| 160 |
+
[[package]]
|
| 161 |
+
name = "defmt"
|
| 162 |
+
version = "1.0.1"
|
| 163 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 164 |
+
checksum = "548d977b6da32fa1d1fda2876453da1e7df63ad0304c8b3dae4dbe7b96f39b78"
|
| 165 |
+
dependencies = [
|
| 166 |
+
"bitflags",
|
| 167 |
+
"defmt-macros",
|
| 168 |
+
]
|
| 169 |
+
|
| 170 |
+
[[package]]
|
| 171 |
+
name = "defmt-macros"
|
| 172 |
+
version = "1.0.1"
|
| 173 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 174 |
+
checksum = "3d4fc12a85bcf441cfe44344c4b72d58493178ce635338a3f3b78943aceb258e"
|
| 175 |
+
dependencies = [
|
| 176 |
+
"defmt-parser",
|
| 177 |
+
"proc-macro-error2",
|
| 178 |
+
"proc-macro2",
|
| 179 |
+
"quote",
|
| 180 |
+
"syn 2.0.98",
|
| 181 |
+
]
|
| 182 |
+
|
| 183 |
+
[[package]]
|
| 184 |
+
name = "defmt-parser"
|
| 185 |
+
version = "1.0.0"
|
| 186 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 187 |
+
checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
|
| 188 |
+
dependencies = [
|
| 189 |
+
"thiserror",
|
| 190 |
+
]
|
| 191 |
+
|
| 192 |
+
[[package]]
|
| 193 |
+
name = "derive_arbitrary"
|
| 194 |
+
version = "1.4.1"
|
| 195 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 196 |
+
checksum = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
|
| 197 |
+
dependencies = [
|
| 198 |
+
"proc-macro2",
|
| 199 |
+
"quote",
|
| 200 |
+
"syn 2.0.98",
|
| 201 |
+
]
|
| 202 |
+
|
| 203 |
+
[[package]]
|
| 204 |
+
name = "encode_unicode"
|
| 205 |
+
version = "1.0.0"
|
| 206 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 207 |
+
checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
|
| 208 |
+
|
| 209 |
+
[[package]]
|
| 210 |
+
name = "funty"
|
| 211 |
+
version = "2.0.0"
|
| 212 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 213 |
+
checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
| 214 |
+
|
| 215 |
+
[[package]]
|
| 216 |
+
name = "getrandom"
|
| 217 |
+
version = "0.2.15"
|
| 218 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 219 |
+
checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
| 220 |
+
dependencies = [
|
| 221 |
+
"cfg-if",
|
| 222 |
+
"libc",
|
| 223 |
+
"wasi",
|
| 224 |
+
]
|
| 225 |
+
|
| 226 |
+
[[package]]
|
| 227 |
+
name = "hashbrown"
|
| 228 |
+
version = "0.12.3"
|
| 229 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 230 |
+
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
| 231 |
+
dependencies = [
|
| 232 |
+
"ahash",
|
| 233 |
+
]
|
| 234 |
+
|
| 235 |
+
[[package]]
|
| 236 |
+
name = "iana-time-zone"
|
| 237 |
+
version = "0.1.61"
|
| 238 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 239 |
+
checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220"
|
| 240 |
+
dependencies = [
|
| 241 |
+
"android_system_properties",
|
| 242 |
+
"core-foundation-sys",
|
| 243 |
+
"iana-time-zone-haiku",
|
| 244 |
+
"js-sys",
|
| 245 |
+
"wasm-bindgen",
|
| 246 |
+
"windows-core",
|
| 247 |
+
]
|
| 248 |
+
|
| 249 |
+
[[package]]
|
| 250 |
+
name = "iana-time-zone-haiku"
|
| 251 |
+
version = "0.1.2"
|
| 252 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 253 |
+
checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
| 254 |
+
dependencies = [
|
| 255 |
+
"cc",
|
| 256 |
+
]
|
| 257 |
+
|
| 258 |
+
[[package]]
|
| 259 |
+
name = "itoa"
|
| 260 |
+
version = "1.0.14"
|
| 261 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 262 |
+
checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
|
| 263 |
+
|
| 264 |
+
[[package]]
|
| 265 |
+
name = "js-sys"
|
| 266 |
+
version = "0.3.77"
|
| 267 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 268 |
+
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
|
| 269 |
+
dependencies = [
|
| 270 |
+
"once_cell",
|
| 271 |
+
"wasm-bindgen",
|
| 272 |
+
]
|
| 273 |
+
|
| 274 |
+
[[package]]
|
| 275 |
+
name = "libc"
|
| 276 |
+
version = "0.2.170"
|
| 277 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 278 |
+
checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
|
| 279 |
+
|
| 280 |
+
[[package]]
|
| 281 |
+
name = "log"
|
| 282 |
+
version = "0.4.26"
|
| 283 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 284 |
+
checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e"
|
| 285 |
+
|
| 286 |
+
[[package]]
|
| 287 |
+
name = "memchr"
|
| 288 |
+
version = "2.7.4"
|
| 289 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 290 |
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
| 291 |
+
|
| 292 |
+
[[package]]
|
| 293 |
+
name = "minicov"
|
| 294 |
+
version = "0.3.7"
|
| 295 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 296 |
+
checksum = "f27fe9f1cc3c22e1687f9446c2083c4c5fc7f0bcf1c7a86bdbded14985895b4b"
|
| 297 |
+
dependencies = [
|
| 298 |
+
"cc",
|
| 299 |
+
"walkdir",
|
| 300 |
+
]
|
| 301 |
+
|
| 302 |
+
[[package]]
|
| 303 |
+
name = "num-traits"
|
| 304 |
+
version = "0.2.19"
|
| 305 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 306 |
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
| 307 |
+
dependencies = [
|
| 308 |
+
"autocfg",
|
| 309 |
+
]
|
| 310 |
+
|
| 311 |
+
[[package]]
|
| 312 |
+
name = "once_cell"
|
| 313 |
+
version = "1.20.3"
|
| 314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 315 |
+
checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
|
| 316 |
+
|
| 317 |
+
[[package]]
|
| 318 |
+
name = "proc-macro-error-attr2"
|
| 319 |
+
version = "2.0.0"
|
| 320 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 321 |
+
checksum = "96de42df36bb9bba5542fe9f1a054b8cc87e172759a1868aa05c1f3acc89dfc5"
|
| 322 |
+
dependencies = [
|
| 323 |
+
"proc-macro2",
|
| 324 |
+
"quote",
|
| 325 |
+
]
|
| 326 |
+
|
| 327 |
+
[[package]]
|
| 328 |
+
name = "proc-macro-error2"
|
| 329 |
+
version = "2.0.1"
|
| 330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 331 |
+
checksum = "11ec05c52be0a07b08061f7dd003e7d7092e0472bc731b4af7bb1ef876109802"
|
| 332 |
+
dependencies = [
|
| 333 |
+
"proc-macro-error-attr2",
|
| 334 |
+
"proc-macro2",
|
| 335 |
+
"quote",
|
| 336 |
+
"syn 2.0.98",
|
| 337 |
+
]
|
| 338 |
+
|
| 339 |
+
[[package]]
|
| 340 |
+
name = "proc-macro2"
|
| 341 |
+
version = "1.0.93"
|
| 342 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 343 |
+
checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
|
| 344 |
+
dependencies = [
|
| 345 |
+
"unicode-ident",
|
| 346 |
+
]
|
| 347 |
+
|
| 348 |
+
[[package]]
|
| 349 |
+
name = "ptr_meta"
|
| 350 |
+
version = "0.1.4"
|
| 351 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 352 |
+
checksum = "0738ccf7ea06b608c10564b31debd4f5bc5e197fc8bfe088f68ae5ce81e7a4f1"
|
| 353 |
+
dependencies = [
|
| 354 |
+
"ptr_meta_derive",
|
| 355 |
+
]
|
| 356 |
+
|
| 357 |
+
[[package]]
|
| 358 |
+
name = "ptr_meta_derive"
|
| 359 |
+
version = "0.1.4"
|
| 360 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 361 |
+
checksum = "16b845dbfca988fa33db069c0e230574d15a3088f147a87b64c7589eb662c9ac"
|
| 362 |
+
dependencies = [
|
| 363 |
+
"proc-macro2",
|
| 364 |
+
"quote",
|
| 365 |
+
"syn 1.0.109",
|
| 366 |
+
]
|
| 367 |
+
|
| 368 |
+
[[package]]
|
| 369 |
+
name = "pure-rust-locales"
|
| 370 |
+
version = "0.8.2"
|
| 371 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 372 |
+
checksum = "869675ad2d7541aea90c6d88c81f46a7f4ea9af8cd0395d38f11a95126998a0d"
|
| 373 |
+
dependencies = [
|
| 374 |
+
"defmt",
|
| 375 |
+
]
|
| 376 |
+
|
| 377 |
+
[[package]]
|
| 378 |
+
name = "quote"
|
| 379 |
+
version = "1.0.38"
|
| 380 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 381 |
+
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
|
| 382 |
+
dependencies = [
|
| 383 |
+
"proc-macro2",
|
| 384 |
+
]
|
| 385 |
+
|
| 386 |
+
[[package]]
|
| 387 |
+
name = "radium"
|
| 388 |
+
version = "0.7.0"
|
| 389 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 390 |
+
checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
|
| 391 |
+
|
| 392 |
+
[[package]]
|
| 393 |
+
name = "regex-automata"
|
| 394 |
+
version = "0.4.9"
|
| 395 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 396 |
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
| 397 |
+
|
| 398 |
+
[[package]]
|
| 399 |
+
name = "rend"
|
| 400 |
+
version = "0.4.2"
|
| 401 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 402 |
+
checksum = "71fe3824f5629716b1589be05dacd749f6aa084c87e00e016714a8cdfccc997c"
|
| 403 |
+
dependencies = [
|
| 404 |
+
"bytecheck",
|
| 405 |
+
]
|
| 406 |
+
|
| 407 |
+
[[package]]
|
| 408 |
+
name = "rkyv"
|
| 409 |
+
version = "0.7.45"
|
| 410 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 411 |
+
checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b"
|
| 412 |
+
dependencies = [
|
| 413 |
+
"bitvec",
|
| 414 |
+
"bytecheck",
|
| 415 |
+
"hashbrown",
|
| 416 |
+
"ptr_meta",
|
| 417 |
+
"rend",
|
| 418 |
+
"rkyv_derive",
|
| 419 |
+
"seahash",
|
| 420 |
+
"tinyvec",
|
| 421 |
+
]
|
| 422 |
+
|
| 423 |
+
[[package]]
|
| 424 |
+
name = "rkyv_derive"
|
| 425 |
+
version = "0.7.45"
|
| 426 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 427 |
+
checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0"
|
| 428 |
+
dependencies = [
|
| 429 |
+
"proc-macro2",
|
| 430 |
+
"quote",
|
| 431 |
+
"syn 1.0.109",
|
| 432 |
+
]
|
| 433 |
+
|
| 434 |
+
[[package]]
|
| 435 |
+
name = "rustversion"
|
| 436 |
+
version = "1.0.19"
|
| 437 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 438 |
+
checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
|
| 439 |
+
|
| 440 |
+
[[package]]
|
| 441 |
+
name = "ryu"
|
| 442 |
+
version = "1.0.19"
|
| 443 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 444 |
+
checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd"
|
| 445 |
+
|
| 446 |
+
[[package]]
|
| 447 |
+
name = "same-file"
|
| 448 |
+
version = "1.0.6"
|
| 449 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 450 |
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
| 451 |
+
dependencies = [
|
| 452 |
+
"winapi-util",
|
| 453 |
+
]
|
| 454 |
+
|
| 455 |
+
[[package]]
|
| 456 |
+
name = "seahash"
|
| 457 |
+
version = "4.1.0"
|
| 458 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 459 |
+
checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
|
| 460 |
+
|
| 461 |
+
[[package]]
|
| 462 |
+
name = "serde"
|
| 463 |
+
version = "1.0.218"
|
| 464 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 465 |
+
checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
|
| 466 |
+
dependencies = [
|
| 467 |
+
"serde_derive",
|
| 468 |
+
]
|
| 469 |
+
|
| 470 |
+
[[package]]
|
| 471 |
+
name = "serde_derive"
|
| 472 |
+
version = "1.0.218"
|
| 473 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 474 |
+
checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
|
| 475 |
+
dependencies = [
|
| 476 |
+
"proc-macro2",
|
| 477 |
+
"quote",
|
| 478 |
+
"syn 2.0.98",
|
| 479 |
+
]
|
| 480 |
+
|
| 481 |
+
[[package]]
|
| 482 |
+
name = "serde_json"
|
| 483 |
+
version = "1.0.139"
|
| 484 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 485 |
+
checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6"
|
| 486 |
+
dependencies = [
|
| 487 |
+
"itoa",
|
| 488 |
+
"memchr",
|
| 489 |
+
"ryu",
|
| 490 |
+
"serde",
|
| 491 |
+
]
|
| 492 |
+
|
| 493 |
+
[[package]]
|
| 494 |
+
name = "shlex"
|
| 495 |
+
version = "1.3.0"
|
| 496 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 497 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 498 |
+
|
| 499 |
+
[[package]]
|
| 500 |
+
name = "similar"
|
| 501 |
+
version = "2.7.0"
|
| 502 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 503 |
+
checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
|
| 504 |
+
dependencies = [
|
| 505 |
+
"bstr",
|
| 506 |
+
"unicode-segmentation",
|
| 507 |
+
]
|
| 508 |
+
|
| 509 |
+
[[package]]
|
| 510 |
+
name = "similar-asserts"
|
| 511 |
+
version = "1.7.0"
|
| 512 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 513 |
+
checksum = "b5b441962c817e33508847a22bd82f03a30cff43642dc2fae8b050566121eb9a"
|
| 514 |
+
dependencies = [
|
| 515 |
+
"console",
|
| 516 |
+
"similar",
|
| 517 |
+
]
|
| 518 |
+
|
| 519 |
+
[[package]]
|
| 520 |
+
name = "syn"
|
| 521 |
+
version = "1.0.109"
|
| 522 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 523 |
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
| 524 |
+
dependencies = [
|
| 525 |
+
"proc-macro2",
|
| 526 |
+
"quote",
|
| 527 |
+
"unicode-ident",
|
| 528 |
+
]
|
| 529 |
+
|
| 530 |
+
[[package]]
|
| 531 |
+
name = "syn"
|
| 532 |
+
version = "2.0.98"
|
| 533 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 534 |
+
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
|
| 535 |
+
dependencies = [
|
| 536 |
+
"proc-macro2",
|
| 537 |
+
"quote",
|
| 538 |
+
"unicode-ident",
|
| 539 |
+
]
|
| 540 |
+
|
| 541 |
+
[[package]]
|
| 542 |
+
name = "tap"
|
| 543 |
+
version = "1.0.1"
|
| 544 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 545 |
+
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
| 546 |
+
|
| 547 |
+
[[package]]
|
| 548 |
+
name = "thiserror"
|
| 549 |
+
version = "2.0.17"
|
| 550 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 551 |
+
checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
|
| 552 |
+
dependencies = [
|
| 553 |
+
"thiserror-impl",
|
| 554 |
+
]
|
| 555 |
+
|
| 556 |
+
[[package]]
|
| 557 |
+
name = "thiserror-impl"
|
| 558 |
+
version = "2.0.17"
|
| 559 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 560 |
+
checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
|
| 561 |
+
dependencies = [
|
| 562 |
+
"proc-macro2",
|
| 563 |
+
"quote",
|
| 564 |
+
"syn 2.0.98",
|
| 565 |
+
]
|
| 566 |
+
|
| 567 |
+
[[package]]
|
| 568 |
+
name = "tinyvec"
|
| 569 |
+
version = "1.8.1"
|
| 570 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 571 |
+
checksum = "022db8904dfa342efe721985167e9fcd16c29b226db4397ed752a761cfce81e8"
|
| 572 |
+
dependencies = [
|
| 573 |
+
"tinyvec_macros",
|
| 574 |
+
]
|
| 575 |
+
|
| 576 |
+
[[package]]
|
| 577 |
+
name = "tinyvec_macros"
|
| 578 |
+
version = "0.1.1"
|
| 579 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 580 |
+
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
| 581 |
+
|
| 582 |
+
[[package]]
|
| 583 |
+
name = "unicode-ident"
|
| 584 |
+
version = "1.0.17"
|
| 585 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 586 |
+
checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"
|
| 587 |
+
|
| 588 |
+
[[package]]
|
| 589 |
+
name = "unicode-segmentation"
|
| 590 |
+
version = "1.12.0"
|
| 591 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 592 |
+
checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
|
| 593 |
+
|
| 594 |
+
[[package]]
|
| 595 |
+
name = "version_check"
|
| 596 |
+
version = "0.9.5"
|
| 597 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 598 |
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
| 599 |
+
|
| 600 |
+
[[package]]
|
| 601 |
+
name = "walkdir"
|
| 602 |
+
version = "2.5.0"
|
| 603 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 604 |
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
| 605 |
+
dependencies = [
|
| 606 |
+
"same-file",
|
| 607 |
+
"winapi-util",
|
| 608 |
+
]
|
| 609 |
+
|
| 610 |
+
[[package]]
|
| 611 |
+
name = "wasi"
|
| 612 |
+
version = "0.11.0+wasi-snapshot-preview1"
|
| 613 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 614 |
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
| 615 |
+
|
| 616 |
+
[[package]]
|
| 617 |
+
name = "wasm-bindgen"
|
| 618 |
+
version = "0.2.100"
|
| 619 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 620 |
+
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
|
| 621 |
+
dependencies = [
|
| 622 |
+
"cfg-if",
|
| 623 |
+
"once_cell",
|
| 624 |
+
"rustversion",
|
| 625 |
+
"wasm-bindgen-macro",
|
| 626 |
+
]
|
| 627 |
+
|
| 628 |
+
[[package]]
|
| 629 |
+
name = "wasm-bindgen-backend"
|
| 630 |
+
version = "0.2.100"
|
| 631 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 632 |
+
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
|
| 633 |
+
dependencies = [
|
| 634 |
+
"bumpalo",
|
| 635 |
+
"log",
|
| 636 |
+
"proc-macro2",
|
| 637 |
+
"quote",
|
| 638 |
+
"syn 2.0.98",
|
| 639 |
+
"wasm-bindgen-shared",
|
| 640 |
+
]
|
| 641 |
+
|
| 642 |
+
[[package]]
|
| 643 |
+
name = "wasm-bindgen-futures"
|
| 644 |
+
version = "0.4.50"
|
| 645 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 646 |
+
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
|
| 647 |
+
dependencies = [
|
| 648 |
+
"cfg-if",
|
| 649 |
+
"js-sys",
|
| 650 |
+
"once_cell",
|
| 651 |
+
"wasm-bindgen",
|
| 652 |
+
"web-sys",
|
| 653 |
+
]
|
| 654 |
+
|
| 655 |
+
[[package]]
|
| 656 |
+
name = "wasm-bindgen-macro"
|
| 657 |
+
version = "0.2.100"
|
| 658 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 659 |
+
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
|
| 660 |
+
dependencies = [
|
| 661 |
+
"quote",
|
| 662 |
+
"wasm-bindgen-macro-support",
|
| 663 |
+
]
|
| 664 |
+
|
| 665 |
+
[[package]]
|
| 666 |
+
name = "wasm-bindgen-macro-support"
|
| 667 |
+
version = "0.2.100"
|
| 668 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 669 |
+
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
|
| 670 |
+
dependencies = [
|
| 671 |
+
"proc-macro2",
|
| 672 |
+
"quote",
|
| 673 |
+
"syn 2.0.98",
|
| 674 |
+
"wasm-bindgen-backend",
|
| 675 |
+
"wasm-bindgen-shared",
|
| 676 |
+
]
|
| 677 |
+
|
| 678 |
+
[[package]]
|
| 679 |
+
name = "wasm-bindgen-shared"
|
| 680 |
+
version = "0.2.100"
|
| 681 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 682 |
+
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
|
| 683 |
+
dependencies = [
|
| 684 |
+
"unicode-ident",
|
| 685 |
+
]
|
| 686 |
+
|
| 687 |
+
[[package]]
|
| 688 |
+
name = "wasm-bindgen-test"
|
| 689 |
+
version = "0.3.50"
|
| 690 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 691 |
+
checksum = "66c8d5e33ca3b6d9fa3b4676d774c5778031d27a578c2b007f905acf816152c3"
|
| 692 |
+
dependencies = [
|
| 693 |
+
"js-sys",
|
| 694 |
+
"minicov",
|
| 695 |
+
"wasm-bindgen",
|
| 696 |
+
"wasm-bindgen-futures",
|
| 697 |
+
"wasm-bindgen-test-macro",
|
| 698 |
+
]
|
| 699 |
+
|
| 700 |
+
[[package]]
|
| 701 |
+
name = "wasm-bindgen-test-macro"
|
| 702 |
+
version = "0.3.50"
|
| 703 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 704 |
+
checksum = "17d5042cc5fa009658f9a7333ef24291b1291a25b6382dd68862a7f3b969f69b"
|
| 705 |
+
dependencies = [
|
| 706 |
+
"proc-macro2",
|
| 707 |
+
"quote",
|
| 708 |
+
"syn 2.0.98",
|
| 709 |
+
]
|
| 710 |
+
|
| 711 |
+
[[package]]
|
| 712 |
+
name = "web-sys"
|
| 713 |
+
version = "0.3.77"
|
| 714 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 715 |
+
checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
|
| 716 |
+
dependencies = [
|
| 717 |
+
"js-sys",
|
| 718 |
+
"wasm-bindgen",
|
| 719 |
+
]
|
| 720 |
+
|
| 721 |
+
[[package]]
|
| 722 |
+
name = "winapi-util"
|
| 723 |
+
version = "0.1.9"
|
| 724 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 725 |
+
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
|
| 726 |
+
dependencies = [
|
| 727 |
+
"windows-sys",
|
| 728 |
+
]
|
| 729 |
+
|
| 730 |
+
[[package]]
|
| 731 |
+
name = "windows-bindgen"
|
| 732 |
+
version = "0.66.0"
|
| 733 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 734 |
+
checksum = "81b7ec123a4eadd44d1f44f76804316b477b2537abed9a2ab950b3c54afa1fcf"
|
| 735 |
+
dependencies = [
|
| 736 |
+
"serde",
|
| 737 |
+
"serde_json",
|
| 738 |
+
"windows-threading",
|
| 739 |
+
]
|
| 740 |
+
|
| 741 |
+
[[package]]
|
| 742 |
+
name = "windows-core"
|
| 743 |
+
version = "0.52.0"
|
| 744 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 745 |
+
checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
|
| 746 |
+
dependencies = [
|
| 747 |
+
"windows-targets",
|
| 748 |
+
]
|
| 749 |
+
|
| 750 |
+
[[package]]
|
| 751 |
+
name = "windows-link"
|
| 752 |
+
version = "0.2.1"
|
| 753 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 754 |
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
| 755 |
+
|
| 756 |
+
[[package]]
|
| 757 |
+
name = "windows-sys"
|
| 758 |
+
version = "0.59.0"
|
| 759 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 760 |
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
| 761 |
+
dependencies = [
|
| 762 |
+
"windows-targets",
|
| 763 |
+
]
|
| 764 |
+
|
| 765 |
+
[[package]]
|
| 766 |
+
name = "windows-targets"
|
| 767 |
+
version = "0.52.6"
|
| 768 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 769 |
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
| 770 |
+
dependencies = [
|
| 771 |
+
"windows_aarch64_gnullvm",
|
| 772 |
+
"windows_aarch64_msvc",
|
| 773 |
+
"windows_i686_gnu",
|
| 774 |
+
"windows_i686_gnullvm",
|
| 775 |
+
"windows_i686_msvc",
|
| 776 |
+
"windows_x86_64_gnu",
|
| 777 |
+
"windows_x86_64_gnullvm",
|
| 778 |
+
"windows_x86_64_msvc",
|
| 779 |
+
]
|
| 780 |
+
|
| 781 |
+
[[package]]
|
| 782 |
+
name = "windows-threading"
|
| 783 |
+
version = "0.2.1"
|
| 784 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 785 |
+
checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
|
| 786 |
+
dependencies = [
|
| 787 |
+
"windows-link",
|
| 788 |
+
]
|
| 789 |
+
|
| 790 |
+
[[package]]
|
| 791 |
+
name = "windows_aarch64_gnullvm"
|
| 792 |
+
version = "0.52.6"
|
| 793 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 794 |
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
| 795 |
+
|
| 796 |
+
[[package]]
|
| 797 |
+
name = "windows_aarch64_msvc"
|
| 798 |
+
version = "0.52.6"
|
| 799 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 800 |
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
| 801 |
+
|
| 802 |
+
[[package]]
|
| 803 |
+
name = "windows_i686_gnu"
|
| 804 |
+
version = "0.52.6"
|
| 805 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 806 |
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
| 807 |
+
|
| 808 |
+
[[package]]
|
| 809 |
+
name = "windows_i686_gnullvm"
|
| 810 |
+
version = "0.52.6"
|
| 811 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 812 |
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
| 813 |
+
|
| 814 |
+
[[package]]
|
| 815 |
+
name = "windows_i686_msvc"
|
| 816 |
+
version = "0.52.6"
|
| 817 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 818 |
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
| 819 |
+
|
| 820 |
+
[[package]]
|
| 821 |
+
name = "windows_x86_64_gnu"
|
| 822 |
+
version = "0.52.6"
|
| 823 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 824 |
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
| 825 |
+
|
| 826 |
+
[[package]]
|
| 827 |
+
name = "windows_x86_64_gnullvm"
|
| 828 |
+
version = "0.52.6"
|
| 829 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 830 |
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
| 831 |
+
|
| 832 |
+
[[package]]
|
| 833 |
+
name = "windows_x86_64_msvc"
|
| 834 |
+
version = "0.52.6"
|
| 835 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 836 |
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
| 837 |
+
|
| 838 |
+
[[package]]
|
| 839 |
+
name = "wyz"
|
| 840 |
+
version = "0.5.1"
|
| 841 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 842 |
+
checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
|
| 843 |
+
dependencies = [
|
| 844 |
+
"tap",
|
| 845 |
+
]
|