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/bitflags-2.10.0/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/.gitignore +5 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/CODE_OF_CONDUCT.md +73 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/Cargo.toml.orig +41 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/README.md +88 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/SECURITY.md +13 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/spec.md +556 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.lock +917 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.toml +635 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.toml.orig +538 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/LICENSE-APACHE +202 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/LICENSE-MIT +19 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/README.md +49 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/Cargo.toml +96 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/Cargo.toml.orig +37 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/LICENSE-APACHE +202 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/LICENSE-MIT +26 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/README.md +23 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/CHANGELOG.md +508 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/Cargo.lock +413 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/Cargo.toml +121 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/Cargo.toml.orig +67 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/LICENSE-APACHE +201 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/LICENSE-MIT +26 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/README.md +81 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/SECURITY.md +13 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.lock +590 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.toml +143 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.toml.orig +115 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/README.md +63 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.cargo-ok +1 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.cargo_vcs_info.json +6 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.gitignore +2 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/CHANGELOG.md +97 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.lock +535 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.toml +65 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.toml.orig +41 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/LICENSE +21 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/README.md +58 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/rust.yml +22 -0
- .cargo/registry/src/index.crates.io-1949cf8c6b5b557f/http-body-1.0.1/.cargo-ok +1 -0
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "7cc8595e93d04d180d39e2f25242dca85dd71228"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
wip
|
| 2 |
+
target
|
| 3 |
+
Cargo.lock
|
| 4 |
+
|
| 5 |
+
/.idea/
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Contributor Covenant Code of Conduct
|
| 2 |
+
|
| 3 |
+
## Our Pledge
|
| 4 |
+
|
| 5 |
+
In the interest of fostering an open and welcoming environment, we as
|
| 6 |
+
contributors and maintainers pledge to making participation in our project and
|
| 7 |
+
our community a harassment-free experience for everyone, regardless of age, body
|
| 8 |
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
| 9 |
+
education, socio-economic status, nationality, personal appearance, race,
|
| 10 |
+
religion, or sexual identity and orientation.
|
| 11 |
+
|
| 12 |
+
## Our Standards
|
| 13 |
+
|
| 14 |
+
Examples of behavior that contributes to creating a positive environment
|
| 15 |
+
include:
|
| 16 |
+
|
| 17 |
+
* Using welcoming and inclusive language
|
| 18 |
+
* Being respectful of differing viewpoints and experiences
|
| 19 |
+
* Gracefully accepting constructive criticism
|
| 20 |
+
* Focusing on what is best for the community
|
| 21 |
+
* Showing empathy towards other community members
|
| 22 |
+
|
| 23 |
+
Examples of unacceptable behavior by participants include:
|
| 24 |
+
|
| 25 |
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
| 26 |
+
advances
|
| 27 |
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
| 28 |
+
* Public or private harassment
|
| 29 |
+
* Publishing others' private information, such as a physical or electronic
|
| 30 |
+
address, without explicit permission
|
| 31 |
+
* Other conduct which could reasonably be considered inappropriate in a
|
| 32 |
+
professional setting
|
| 33 |
+
|
| 34 |
+
## Our Responsibilities
|
| 35 |
+
|
| 36 |
+
Project maintainers are responsible for clarifying the standards of acceptable
|
| 37 |
+
behavior and are expected to take appropriate and fair corrective action in
|
| 38 |
+
response to any instances of unacceptable behavior.
|
| 39 |
+
|
| 40 |
+
Project maintainers have the right and responsibility to remove, edit, or
|
| 41 |
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
| 42 |
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
| 43 |
+
permanently any contributor for other behaviors that they deem inappropriate,
|
| 44 |
+
threatening, offensive, or harmful.
|
| 45 |
+
|
| 46 |
+
## Scope
|
| 47 |
+
|
| 48 |
+
This Code of Conduct applies both within project spaces and in public spaces
|
| 49 |
+
when an individual is representing the project or its community. Examples of
|
| 50 |
+
representing a project or community include using an official project e-mail
|
| 51 |
+
address, posting via an official social media account, or acting as an appointed
|
| 52 |
+
representative at an online or offline event. Representation of a project may be
|
| 53 |
+
further defined and clarified by project maintainers.
|
| 54 |
+
|
| 55 |
+
## Enforcement
|
| 56 |
+
|
| 57 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
| 58 |
+
reported by contacting the project team at coc@senaite.org. All
|
| 59 |
+
complaints will be reviewed and investigated and will result in a response that
|
| 60 |
+
is deemed necessary and appropriate to the circumstances. The project team is
|
| 61 |
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
| 62 |
+
Further details of specific enforcement policies may be posted separately.
|
| 63 |
+
|
| 64 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
| 65 |
+
faith may face temporary or permanent repercussions as determined by other
|
| 66 |
+
members of the project's leadership.
|
| 67 |
+
|
| 68 |
+
## Attribution
|
| 69 |
+
|
| 70 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
| 71 |
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
| 72 |
+
|
| 73 |
+
[homepage]: https://www.contributor-covenant.org
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "bitflags"
|
| 3 |
+
# NB: When modifying, also modify the number in readme (for breaking changes)
|
| 4 |
+
version = "2.10.0"
|
| 5 |
+
edition = "2021"
|
| 6 |
+
rust-version = "1.56.0"
|
| 7 |
+
authors = ["The Rust Project Developers"]
|
| 8 |
+
license = "MIT OR Apache-2.0"
|
| 9 |
+
keywords = ["bit", "bitmask", "bitflags", "flags"]
|
| 10 |
+
readme = "README.md"
|
| 11 |
+
repository = "https://github.com/bitflags/bitflags"
|
| 12 |
+
homepage = "https://github.com/bitflags/bitflags"
|
| 13 |
+
documentation = "https://docs.rs/bitflags"
|
| 14 |
+
categories = ["no-std"]
|
| 15 |
+
description = """
|
| 16 |
+
A macro to generate structures which behave like bitflags.
|
| 17 |
+
"""
|
| 18 |
+
exclude = ["/tests", "/.github"]
|
| 19 |
+
|
| 20 |
+
[dependencies]
|
| 21 |
+
serde_core = { version = "1.0.228", optional = true, default-features = false }
|
| 22 |
+
arbitrary = { version = "1.0", optional = true }
|
| 23 |
+
bytemuck = { version = "1.12", optional = true }
|
| 24 |
+
|
| 25 |
+
[dev-dependencies]
|
| 26 |
+
trybuild = "1.0.18"
|
| 27 |
+
rustversion = "1.0"
|
| 28 |
+
serde_json = "1.0"
|
| 29 |
+
serde_test = "1.0.19"
|
| 30 |
+
serde_lib = { version = "1.0.103", features = ["derive"], package = "serde" }
|
| 31 |
+
zerocopy = { version = "0.8", features = ["derive"] }
|
| 32 |
+
arbitrary = { version = "1.0", features = ["derive"] }
|
| 33 |
+
bytemuck = { version = "1.12.2", features = ["derive"] }
|
| 34 |
+
|
| 35 |
+
[features]
|
| 36 |
+
std = []
|
| 37 |
+
serde = ["serde_core"]
|
| 38 |
+
example_generated = []
|
| 39 |
+
|
| 40 |
+
[package.metadata.docs.rs]
|
| 41 |
+
features = ["example_generated"]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bitflags
|
| 2 |
+
========
|
| 3 |
+
|
| 4 |
+
[](https://github.com/bitflags/bitflags/actions)
|
| 5 |
+
[](https://crates.io/crates/bitflags)
|
| 6 |
+
[](https://docs.rs/bitflags)
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
`bitflags` generates flags enums with well-defined semantics and ergonomic end-user APIs.
|
| 10 |
+
|
| 11 |
+
You can use `bitflags` to:
|
| 12 |
+
|
| 13 |
+
- provide more user-friendly bindings to C APIs where flags may or may not be fully known in advance.
|
| 14 |
+
- generate efficient options types with string parsing and formatting support.
|
| 15 |
+
|
| 16 |
+
You can't use `bitflags` to:
|
| 17 |
+
|
| 18 |
+
- guarantee only bits corresponding to defined flags will ever be set. `bitflags` allows access to the underlying bits type so arbitrary bits may be set.
|
| 19 |
+
- define bitfields. `bitflags` only generates types where set bits denote the presence of some combination of flags.
|
| 20 |
+
|
| 21 |
+
- [Documentation](https://docs.rs/bitflags)
|
| 22 |
+
- [Specification](https://github.com/bitflags/bitflags/blob/main/spec.md)
|
| 23 |
+
- [Release notes](https://github.com/bitflags/bitflags/releases)
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
Add this to your `Cargo.toml`:
|
| 28 |
+
|
| 29 |
+
```toml
|
| 30 |
+
[dependencies]
|
| 31 |
+
bitflags = "2.10.0"
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
and this to your source code:
|
| 35 |
+
|
| 36 |
+
```rust
|
| 37 |
+
use bitflags::bitflags;
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## Example
|
| 41 |
+
|
| 42 |
+
Generate a flags structure:
|
| 43 |
+
|
| 44 |
+
```rust
|
| 45 |
+
use bitflags::bitflags;
|
| 46 |
+
|
| 47 |
+
// The `bitflags!` macro generates `struct`s that manage a set of flags.
|
| 48 |
+
bitflags! {
|
| 49 |
+
/// Represents a set of flags.
|
| 50 |
+
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
| 51 |
+
struct Flags: u32 {
|
| 52 |
+
/// The value `A`, at bit position `0`.
|
| 53 |
+
const A = 0b00000001;
|
| 54 |
+
/// The value `B`, at bit position `1`.
|
| 55 |
+
const B = 0b00000010;
|
| 56 |
+
/// The value `C`, at bit position `2`.
|
| 57 |
+
const C = 0b00000100;
|
| 58 |
+
|
| 59 |
+
/// The combination of `A`, `B`, and `C`.
|
| 60 |
+
const ABC = Self::A.bits() | Self::B.bits() | Self::C.bits();
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
fn main() {
|
| 65 |
+
let e1 = Flags::A | Flags::C;
|
| 66 |
+
let e2 = Flags::B | Flags::C;
|
| 67 |
+
assert_eq!((e1 | e2), Flags::ABC); // union
|
| 68 |
+
assert_eq!((e1 & e2), Flags::C); // intersection
|
| 69 |
+
assert_eq!((e1 - e2), Flags::A); // set difference
|
| 70 |
+
assert_eq!(!e2, Flags::A); // set complement
|
| 71 |
+
}
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
## Cargo features
|
| 75 |
+
|
| 76 |
+
The `bitflags` library defines a few Cargo features that you can opt-in to:
|
| 77 |
+
|
| 78 |
+
- `std`: Implement the `Error` trait on error types used by `bitflags`.
|
| 79 |
+
- `serde`: Support deriving `serde` traits on generated flags types.
|
| 80 |
+
- `arbitrary`: Support deriving `arbitrary` traits on generated flags types.
|
| 81 |
+
- `bytemuck`: Support deriving `bytemuck` traits on generated flags types.
|
| 82 |
+
|
| 83 |
+
Also see [`bitflags_derive`](https://github.com/bitflags/bitflags-derive) for other flags-aware traits.
|
| 84 |
+
|
| 85 |
+
## Rust Version Support
|
| 86 |
+
|
| 87 |
+
The minimum supported Rust version is documented in the `Cargo.toml` file.
|
| 88 |
+
This may be bumped in minor releases as necessary.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/SECURITY.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Security Policy
|
| 2 |
+
|
| 3 |
+
## Supported Versions
|
| 4 |
+
|
| 5 |
+
Security updates are applied only to the latest release.
|
| 6 |
+
|
| 7 |
+
## Reporting a Vulnerability
|
| 8 |
+
|
| 9 |
+
If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
|
| 10 |
+
|
| 11 |
+
Please disclose it at [security advisory](https://github.com/bitflags/bitflags/security/advisories/new).
|
| 12 |
+
|
| 13 |
+
This project is maintained by a team of volunteers on a reasonable-effort basis. As such, please give us at least 90 days to work on a fix before public exposure.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.10.0/spec.md
ADDED
|
@@ -0,0 +1,556 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
| 1 |
+
# Bitflags
|
| 2 |
+
|
| 3 |
+
`bitflags` generates flags enums with well-defined semantics and ergonomic end-user APIs.
|
| 4 |
+
|
| 5 |
+
You can use `bitflags` to:
|
| 6 |
+
|
| 7 |
+
- provide more user-friendly bindings to C APIs where flags may or may not be fully known in advance.
|
| 8 |
+
- generate efficient options types with string parsing and formatting support.
|
| 9 |
+
|
| 10 |
+
You can't use `bitflags` to:
|
| 11 |
+
|
| 12 |
+
- guarantee only bits corresponding to defined flags will ever be set. `bitflags` allows access to the underlying bits type so arbitrary bits may be set.
|
| 13 |
+
- define bitfields. `bitflags` only generates types where set bits denote the presence of some combination of flags.
|
| 14 |
+
|
| 15 |
+
## Definitions
|
| 16 |
+
|
| 17 |
+
This section formally defines the terminology and semantics of `bitflags`. It's organized so more fundamental concepts are introduced before those that build on them. It may be helpful to start from the bottom of the section and refer back up to concepts defined earlier.
|
| 18 |
+
|
| 19 |
+
Examples use `bitflags` syntax with `u8` as the bits type.
|
| 20 |
+
|
| 21 |
+
### Bits type
|
| 22 |
+
|
| 23 |
+
A type that defines a fixed number of bits at specific locations.
|
| 24 |
+
|
| 25 |
+
----
|
| 26 |
+
|
| 27 |
+
Bits types are typically fixed-width unsigned integers. For example, `u8` is a bits type that defines 8 bits; bit-0 through bit-7.
|
| 28 |
+
|
| 29 |
+
### Bits value
|
| 30 |
+
|
| 31 |
+
An instance of a bits type where each bit may be set (`1`) or unset (`0`).
|
| 32 |
+
|
| 33 |
+
----
|
| 34 |
+
|
| 35 |
+
Some examples of bits values for the bits type `u8` are:
|
| 36 |
+
|
| 37 |
+
```rust
|
| 38 |
+
0b0000_0000
|
| 39 |
+
0b1111_1111
|
| 40 |
+
0b1010_0101
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
#### Equality
|
| 44 |
+
|
| 45 |
+
Two bits values are equal if their bits are in the same configuration; set bits in one are set in the other, and unset bits in one are unset in the other.
|
| 46 |
+
|
| 47 |
+
#### Operations
|
| 48 |
+
|
| 49 |
+
Bits values define the bitwise operators and (`&`), or (`|`), exclusive-or (`^`), and negation (`!`) that apply to each of their bits.
|
| 50 |
+
|
| 51 |
+
### Flag
|
| 52 |
+
|
| 53 |
+
A set of bits in a bits type that may have a unique name.
|
| 54 |
+
|
| 55 |
+
----
|
| 56 |
+
|
| 57 |
+
Bits are not required to be exclusive to a flag. Bits are not required to be contiguous.
|
| 58 |
+
|
| 59 |
+
The following is a flag for `u8` with the name `A` that includes bit-0:
|
| 60 |
+
|
| 61 |
+
```rust
|
| 62 |
+
const A = 0b0000_0001;
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
The following is a flag for `u8` with the name `B` that includes bit-0, and bit-5:
|
| 66 |
+
|
| 67 |
+
```rust
|
| 68 |
+
const B = 0b0010_0001;
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
#### Named flag
|
| 72 |
+
|
| 73 |
+
A flag with a name.
|
| 74 |
+
|
| 75 |
+
----
|
| 76 |
+
|
| 77 |
+
The following is a named flag, where the name is `A`:
|
| 78 |
+
|
| 79 |
+
```rust
|
| 80 |
+
const A = 0b0000_0001;
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
#### Unnamed flag
|
| 84 |
+
|
| 85 |
+
A flag without a name.
|
| 86 |
+
|
| 87 |
+
----
|
| 88 |
+
|
| 89 |
+
The following is an unnamed flag:
|
| 90 |
+
|
| 91 |
+
```rust
|
| 92 |
+
const _ = 0b0000_0001;
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
#### Zero-bit flag
|
| 96 |
+
|
| 97 |
+
A flag with a set of zero bits.
|
| 98 |
+
|
| 99 |
+
----
|
| 100 |
+
|
| 101 |
+
The following is a zero-bit flag:
|
| 102 |
+
|
| 103 |
+
```rust
|
| 104 |
+
const ZERO = 0b0000_0000;
|
| 105 |
+
```
|
| 106 |
+
|
| 107 |
+
#### Single-bit flag
|
| 108 |
+
|
| 109 |
+
A flag with a set of one bit.
|
| 110 |
+
|
| 111 |
+
----
|
| 112 |
+
|
| 113 |
+
The following are single-bit flags:
|
| 114 |
+
|
| 115 |
+
```rust
|
| 116 |
+
const A = 0b0000_0001;
|
| 117 |
+
const B = 0b0000_0010;
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
#### Multi-bit flag
|
| 121 |
+
|
| 122 |
+
A flag with a set of more than one bit.
|
| 123 |
+
|
| 124 |
+
----
|
| 125 |
+
|
| 126 |
+
The following are multi-bit flags:
|
| 127 |
+
|
| 128 |
+
```rust
|
| 129 |
+
const A = 0b0000_0011;
|
| 130 |
+
const B = 0b1111_1111;
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
### Flags type
|
| 134 |
+
|
| 135 |
+
A set of defined flags over a specific bits type.
|
| 136 |
+
|
| 137 |
+
#### Known bit
|
| 138 |
+
|
| 139 |
+
A bit in any defined flag.
|
| 140 |
+
|
| 141 |
+
----
|
| 142 |
+
|
| 143 |
+
In the following flags type:
|
| 144 |
+
|
| 145 |
+
```rust
|
| 146 |
+
struct Flags {
|
| 147 |
+
const A = 0b0000_0001;
|
| 148 |
+
const B = 0b0000_0010;
|
| 149 |
+
const C = 0b0000_0100;
|
| 150 |
+
}
|
| 151 |
+
```
|
| 152 |
+
|
| 153 |
+
the known bits are:
|
| 154 |
+
|
| 155 |
+
```rust
|
| 156 |
+
0b0000_0111
|
| 157 |
+
```
|
| 158 |
+
|
| 159 |
+
#### Unknown bit
|
| 160 |
+
|
| 161 |
+
A bit not in any defined flag.
|
| 162 |
+
|
| 163 |
+
----
|
| 164 |
+
|
| 165 |
+
In the following flags type:
|
| 166 |
+
|
| 167 |
+
```rust
|
| 168 |
+
struct Flags {
|
| 169 |
+
const A = 0b0000_0001;
|
| 170 |
+
const B = 0b0000_0010;
|
| 171 |
+
const C = 0b0000_0100;
|
| 172 |
+
}
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
the unknown bits are:
|
| 176 |
+
|
| 177 |
+
```rust
|
| 178 |
+
0b1111_1000
|
| 179 |
+
```
|
| 180 |
+
|
| 181 |
+
### Flags value
|
| 182 |
+
|
| 183 |
+
An instance of a flags type using its specific bits value for storage.
|
| 184 |
+
|
| 185 |
+
The flags value of a flag is one where each of its bits is set, and all others are unset.
|
| 186 |
+
|
| 187 |
+
#### Contains
|
| 188 |
+
|
| 189 |
+
Whether all set bits in a source flags value are also set in a target flags value.
|
| 190 |
+
|
| 191 |
+
----
|
| 192 |
+
|
| 193 |
+
Given the flags value:
|
| 194 |
+
|
| 195 |
+
```rust
|
| 196 |
+
0b0000_0011
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
the following flags values are contained:
|
| 200 |
+
|
| 201 |
+
```rust
|
| 202 |
+
0b0000_0000
|
| 203 |
+
0b0000_0010
|
| 204 |
+
0b0000_0001
|
| 205 |
+
0b0000_0011
|
| 206 |
+
```
|
| 207 |
+
|
| 208 |
+
but the following flags values are not contained:
|
| 209 |
+
|
| 210 |
+
```rust
|
| 211 |
+
0b0000_1000
|
| 212 |
+
0b0000_0110
|
| 213 |
+
```
|
| 214 |
+
|
| 215 |
+
#### Intersects
|
| 216 |
+
|
| 217 |
+
Whether any set bits in a source flags value are also set in a target flags value.
|
| 218 |
+
|
| 219 |
+
----
|
| 220 |
+
|
| 221 |
+
Given the flags value:
|
| 222 |
+
|
| 223 |
+
```rust
|
| 224 |
+
0b0000_0011
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
the following flags intersect:
|
| 228 |
+
|
| 229 |
+
```rust
|
| 230 |
+
0b0000_0010
|
| 231 |
+
0b0000_0001
|
| 232 |
+
0b1111_1111
|
| 233 |
+
```
|
| 234 |
+
|
| 235 |
+
but the following flags values do not intersect:
|
| 236 |
+
|
| 237 |
+
```rust
|
| 238 |
+
0b0000_0000
|
| 239 |
+
0b1111_0000
|
| 240 |
+
```
|
| 241 |
+
|
| 242 |
+
#### Empty
|
| 243 |
+
|
| 244 |
+
Whether all bits in a flags value are unset.
|
| 245 |
+
|
| 246 |
+
----
|
| 247 |
+
|
| 248 |
+
The following flags value is empty:
|
| 249 |
+
|
| 250 |
+
```rust
|
| 251 |
+
0b0000_0000
|
| 252 |
+
```
|
| 253 |
+
|
| 254 |
+
The following flags values are not empty:
|
| 255 |
+
|
| 256 |
+
```rust
|
| 257 |
+
0b0000_0001
|
| 258 |
+
0b0110_0000
|
| 259 |
+
```
|
| 260 |
+
|
| 261 |
+
#### All
|
| 262 |
+
|
| 263 |
+
Whether all defined flags are contained in a flags value.
|
| 264 |
+
|
| 265 |
+
----
|
| 266 |
+
|
| 267 |
+
Given a flags type:
|
| 268 |
+
|
| 269 |
+
```rust
|
| 270 |
+
struct Flags {
|
| 271 |
+
const A = 0b0000_0001;
|
| 272 |
+
const B = 0b0000_0010;
|
| 273 |
+
}
|
| 274 |
+
```
|
| 275 |
+
|
| 276 |
+
the following flags values all satisfy all:
|
| 277 |
+
|
| 278 |
+
```rust
|
| 279 |
+
0b0000_0011
|
| 280 |
+
0b1000_0011
|
| 281 |
+
0b1111_1111
|
| 282 |
+
```
|
| 283 |
+
|
| 284 |
+
### Operations
|
| 285 |
+
|
| 286 |
+
Examples in this section all use the given flags type:
|
| 287 |
+
|
| 288 |
+
```rust
|
| 289 |
+
struct Flags {
|
| 290 |
+
const A = 0b0000_0001;
|
| 291 |
+
const B = 0b0000_0010;
|
| 292 |
+
const C = 0b0000_1100;
|
| 293 |
+
}
|
| 294 |
+
```
|
| 295 |
+
|
| 296 |
+
#### Truncate
|
| 297 |
+
|
| 298 |
+
Unset all unknown bits in a flags value.
|
| 299 |
+
|
| 300 |
+
----
|
| 301 |
+
|
| 302 |
+
Given the flags value:
|
| 303 |
+
|
| 304 |
+
```rust
|
| 305 |
+
0b1111_1111
|
| 306 |
+
```
|
| 307 |
+
|
| 308 |
+
the result of truncation will be:
|
| 309 |
+
|
| 310 |
+
```rust
|
| 311 |
+
0b0000_1111
|
| 312 |
+
```
|
| 313 |
+
|
| 314 |
+
----
|
| 315 |
+
|
| 316 |
+
Truncating doesn't guarantee that a non-empty result will contain any defined flags. Given the following flags type:
|
| 317 |
+
|
| 318 |
+
```rust
|
| 319 |
+
struct Flags {
|
| 320 |
+
const A = 0b0000_0101;
|
| 321 |
+
}
|
| 322 |
+
```
|
| 323 |
+
|
| 324 |
+
and the following flags value:
|
| 325 |
+
|
| 326 |
+
```rust
|
| 327 |
+
0b0000_1110;
|
| 328 |
+
```
|
| 329 |
+
|
| 330 |
+
The result of truncation will be:
|
| 331 |
+
|
| 332 |
+
```rust
|
| 333 |
+
0b0000_0100;
|
| 334 |
+
```
|
| 335 |
+
|
| 336 |
+
which intersects the flag `A`, but doesn't contain it.
|
| 337 |
+
|
| 338 |
+
This behavior is possible even when only operating with flags values containing defined flags. Given the following flags type:
|
| 339 |
+
|
| 340 |
+
```rust
|
| 341 |
+
struct Flags {
|
| 342 |
+
const A = 0b0000_0101;
|
| 343 |
+
const B = 0b0000_0001;
|
| 344 |
+
}
|
| 345 |
+
```
|
| 346 |
+
|
| 347 |
+
The result of `A ^ B` is `0b0000_0100`, which also doesn't contain any defined flag.
|
| 348 |
+
|
| 349 |
+
----
|
| 350 |
+
|
| 351 |
+
If all known bits are in the set of at least one defined single-bit flag, then all operations that produce non-empty results will always contain defined flags.
|
| 352 |
+
|
| 353 |
+
#### Union
|
| 354 |
+
|
| 355 |
+
The bitwise or (`|`) of the bits in two flags values.
|
| 356 |
+
|
| 357 |
+
----
|
| 358 |
+
|
| 359 |
+
The following are examples of the result of unioning flags values:
|
| 360 |
+
|
| 361 |
+
```rust
|
| 362 |
+
0b0000_0001 | 0b0000_0010 = 0b0000_0011
|
| 363 |
+
0b0000_0000 | 0b1111_1111 = 0b1111_1111
|
| 364 |
+
```
|
| 365 |
+
|
| 366 |
+
#### Intersection
|
| 367 |
+
|
| 368 |
+
The bitwise and (`&`) of the bits in two flags values.
|
| 369 |
+
|
| 370 |
+
----
|
| 371 |
+
|
| 372 |
+
The following are examples of the result of intersecting flags values:
|
| 373 |
+
|
| 374 |
+
```rust
|
| 375 |
+
0b0000_0001 & 0b0000_0010 = 0b0000_0000
|
| 376 |
+
0b1111_1100 & 0b1111_0111 = 0b1111_0100
|
| 377 |
+
0b1111_1111 & 0b1111_1111 = 0b1111_1111
|
| 378 |
+
```
|
| 379 |
+
|
| 380 |
+
#### Symmetric difference
|
| 381 |
+
|
| 382 |
+
The bitwise exclusive-or (`^`) of the bits in two flags values.
|
| 383 |
+
|
| 384 |
+
----
|
| 385 |
+
|
| 386 |
+
The following are examples of the symmetric difference between two flags values:
|
| 387 |
+
|
| 388 |
+
```rust
|
| 389 |
+
0b0000_0001 ^ 0b0000_0010 = 0b0000_0011
|
| 390 |
+
0b0000_1111 ^ 0b0000_0011 = 0b0000_1100
|
| 391 |
+
0b1100_0000 ^ 0b0011_0000 = 0b1111_0000
|
| 392 |
+
```
|
| 393 |
+
|
| 394 |
+
#### Complement
|
| 395 |
+
|
| 396 |
+
The bitwise negation (`!`) of the bits in a flags value, truncating the result.
|
| 397 |
+
|
| 398 |
+
----
|
| 399 |
+
|
| 400 |
+
The complement is the only operation that explicitly truncates its result, because it doesn't accept a second flags value as input and so is likely to set unknown bits.
|
| 401 |
+
|
| 402 |
+
----
|
| 403 |
+
|
| 404 |
+
The following are examples of the complement of a flags value:
|
| 405 |
+
|
| 406 |
+
```rust
|
| 407 |
+
!0b0000_0000 = 0b0000_1111
|
| 408 |
+
!0b0000_1111 = 0b0000_0000
|
| 409 |
+
!0b1111_1000 = 0b0000_0111
|
| 410 |
+
```
|
| 411 |
+
|
| 412 |
+
#### Difference
|
| 413 |
+
|
| 414 |
+
The bitwise intersection (`&`) of the bits in one flags value and the bitwise negation (`!`) of the bits in another.
|
| 415 |
+
|
| 416 |
+
----
|
| 417 |
+
|
| 418 |
+
This operation is not equivalent to the intersection of one flags value with the complement of another (`&!`).
|
| 419 |
+
The former will truncate the result in the complement, where difference will not.
|
| 420 |
+
|
| 421 |
+
----
|
| 422 |
+
|
| 423 |
+
The following are examples of the difference between two flags values:
|
| 424 |
+
|
| 425 |
+
```rust
|
| 426 |
+
0b0000_0001 & !0b0000_0010 = 0b0000_0001
|
| 427 |
+
0b0000_1101 & !0b0000_0011 = 0b0000_1100
|
| 428 |
+
0b1111_1111 & !0b0000_0001 = 0b1111_1110
|
| 429 |
+
```
|
| 430 |
+
|
| 431 |
+
### Iteration
|
| 432 |
+
|
| 433 |
+
Yield the bits of a source flags value in a set of contained flags values.
|
| 434 |
+
|
| 435 |
+
----
|
| 436 |
+
|
| 437 |
+
To be most useful, each yielded flags value should set exactly the bits of a defined flag contained in the source. Any known bits that aren't in the set of any contained flag should be yielded together as a final flags value.
|
| 438 |
+
|
| 439 |
+
----
|
| 440 |
+
|
| 441 |
+
Given the following flags type:
|
| 442 |
+
|
| 443 |
+
```rust
|
| 444 |
+
struct Flags {
|
| 445 |
+
const A = 0b0000_0001;
|
| 446 |
+
const B = 0b0000_0010;
|
| 447 |
+
const AB = 0b0000_0011;
|
| 448 |
+
}
|
| 449 |
+
```
|
| 450 |
+
|
| 451 |
+
and the following flags value:
|
| 452 |
+
|
| 453 |
+
```rust
|
| 454 |
+
0b0000_1111
|
| 455 |
+
```
|
| 456 |
+
|
| 457 |
+
When iterated it may yield a flags value for `A` and `B`, then a final flag with the unknown bits:
|
| 458 |
+
|
| 459 |
+
```rust
|
| 460 |
+
0b0000_0001
|
| 461 |
+
0b0000_0010
|
| 462 |
+
0b0000_1100
|
| 463 |
+
```
|
| 464 |
+
|
| 465 |
+
It may also yield a flags value for `AB`, then a final flag with the unknown bits:
|
| 466 |
+
|
| 467 |
+
```rust
|
| 468 |
+
0b0000_0011
|
| 469 |
+
0b0000_1100
|
| 470 |
+
```
|
| 471 |
+
|
| 472 |
+
----
|
| 473 |
+
|
| 474 |
+
Given the following flags type:
|
| 475 |
+
|
| 476 |
+
```rust
|
| 477 |
+
struct Flags {
|
| 478 |
+
const A = 0b0000_0011;
|
| 479 |
+
}
|
| 480 |
+
```
|
| 481 |
+
|
| 482 |
+
and the following flags value:
|
| 483 |
+
|
| 484 |
+
```rust
|
| 485 |
+
0b0000_0001
|
| 486 |
+
```
|
| 487 |
+
|
| 488 |
+
When iterated it will still yield a flags value for the known bit `0b0000_0001` even though it doesn't contain a flag.
|
| 489 |
+
|
| 490 |
+
### Formatting
|
| 491 |
+
|
| 492 |
+
Format and parse a flags value as text using the following grammar:
|
| 493 |
+
|
| 494 |
+
- _Flags:_ (_Whitespace_ _Flag_ _Whitespace_)`|`*
|
| 495 |
+
- _Flag:_ _Name_ | _Hex Number_
|
| 496 |
+
- _Name:_ The name of any defined flag
|
| 497 |
+
- _Hex Number_: `0x`([0-9a-fA-F])*
|
| 498 |
+
- _Whitespace_: (\s)*
|
| 499 |
+
|
| 500 |
+
Flags values can be formatted as _Flags_ by iterating over them, formatting each yielded flags value as a _Flag_. Any yielded flags value that sets exactly the bits of a defined flag with a name should be formatted as a _Name_. Otherwise it must be formatted as a _Hex Number_.
|
| 501 |
+
|
| 502 |
+
Formatting and parsing supports three modes:
|
| 503 |
+
|
| 504 |
+
- **Retain**: Formatting and parsing roundtrips exactly the bits of the source flags value. This is the default behavior.
|
| 505 |
+
- **Truncate**: Flags values are truncated before formatting, and truncated after parsing.
|
| 506 |
+
- **Strict**: A _Flag_ may only be formatted and parsed as a _Name_. _Hex numbers_ are not allowed. A consequence of this is that unknown bits and any bits that aren't in a contained named flag will be ignored. This is recommended for flags values serialized across API boundaries, like web services.
|
| 507 |
+
|
| 508 |
+
Text that is empty or whitespace is an empty flags value.
|
| 509 |
+
|
| 510 |
+
----
|
| 511 |
+
|
| 512 |
+
Given the following flags type:
|
| 513 |
+
|
| 514 |
+
```rust
|
| 515 |
+
struct Flags {
|
| 516 |
+
const A = 0b0000_0001;
|
| 517 |
+
const B = 0b0000_0010;
|
| 518 |
+
const AB = 0b0000_0011;
|
| 519 |
+
const C = 0b0000_1100;
|
| 520 |
+
}
|
| 521 |
+
```
|
| 522 |
+
|
| 523 |
+
The following are examples of how flags values can be formatted using any mode:
|
| 524 |
+
|
| 525 |
+
```rust
|
| 526 |
+
0b0000_0000 = ""
|
| 527 |
+
0b0000_0001 = "A"
|
| 528 |
+
0b0000_0010 = "B"
|
| 529 |
+
0b0000_0011 = "A | B"
|
| 530 |
+
0b0000_0011 = "AB"
|
| 531 |
+
0b0000_1111 = "A | B | C"
|
| 532 |
+
```
|
| 533 |
+
|
| 534 |
+
Truncate mode will unset any unknown bits:
|
| 535 |
+
|
| 536 |
+
```rust
|
| 537 |
+
0b1000_0000 = ""
|
| 538 |
+
0b1111_1111 = "A | B | C"
|
| 539 |
+
0b0000_1000 = "0x8"
|
| 540 |
+
```
|
| 541 |
+
|
| 542 |
+
Retain mode will include any unknown bits as a final _Flag_:
|
| 543 |
+
|
| 544 |
+
```rust
|
| 545 |
+
0b1000_0000 = "0x80"
|
| 546 |
+
0b1111_1111 = "A | B | C | 0xf0"
|
| 547 |
+
0b0000_1000 = "0x8"
|
| 548 |
+
```
|
| 549 |
+
|
| 550 |
+
Strict mode will unset any unknown bits, as well as bits not contained in any defined named flags:
|
| 551 |
+
|
| 552 |
+
```rust
|
| 553 |
+
0b1000_0000 = ""
|
| 554 |
+
0b1111_1111 = "A | B | C"
|
| 555 |
+
0b0000_1000 = ""
|
| 556 |
+
```
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "e0c26b09f0457284033610664423a44ed1ab9949"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.lock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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 = "addr2line"
|
| 7 |
+
version = "0.22.0"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"gimli",
|
| 12 |
+
]
|
| 13 |
+
|
| 14 |
+
[[package]]
|
| 15 |
+
name = "adler"
|
| 16 |
+
version = "1.0.2"
|
| 17 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 18 |
+
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
| 19 |
+
|
| 20 |
+
[[package]]
|
| 21 |
+
name = "anstream"
|
| 22 |
+
version = "0.6.14"
|
| 23 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 24 |
+
checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b"
|
| 25 |
+
dependencies = [
|
| 26 |
+
"anstyle",
|
| 27 |
+
"anstyle-parse",
|
| 28 |
+
"anstyle-query",
|
| 29 |
+
"anstyle-wincon",
|
| 30 |
+
"colorchoice",
|
| 31 |
+
"is_terminal_polyfill",
|
| 32 |
+
"utf8parse",
|
| 33 |
+
]
|
| 34 |
+
|
| 35 |
+
[[package]]
|
| 36 |
+
name = "anstyle"
|
| 37 |
+
version = "1.0.10"
|
| 38 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 39 |
+
checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
|
| 40 |
+
|
| 41 |
+
[[package]]
|
| 42 |
+
name = "anstyle-lossy"
|
| 43 |
+
version = "1.1.3"
|
| 44 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 45 |
+
checksum = "934ff8719effd2023a48cf63e69536c1c3ced9d3895068f6f5cc9a4ff845e59b"
|
| 46 |
+
dependencies = [
|
| 47 |
+
"anstyle",
|
| 48 |
+
]
|
| 49 |
+
|
| 50 |
+
[[package]]
|
| 51 |
+
name = "anstyle-parse"
|
| 52 |
+
version = "0.2.4"
|
| 53 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 54 |
+
checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4"
|
| 55 |
+
dependencies = [
|
| 56 |
+
"utf8parse",
|
| 57 |
+
]
|
| 58 |
+
|
| 59 |
+
[[package]]
|
| 60 |
+
name = "anstyle-query"
|
| 61 |
+
version = "1.1.0"
|
| 62 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 63 |
+
checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391"
|
| 64 |
+
dependencies = [
|
| 65 |
+
"windows-sys 0.52.0",
|
| 66 |
+
]
|
| 67 |
+
|
| 68 |
+
[[package]]
|
| 69 |
+
name = "anstyle-svg"
|
| 70 |
+
version = "0.1.7"
|
| 71 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 72 |
+
checksum = "d3607949e9f6de49ea4bafe12f5e4fd73613ebf24795e48587302a8cc0e4bb35"
|
| 73 |
+
dependencies = [
|
| 74 |
+
"anstream",
|
| 75 |
+
"anstyle",
|
| 76 |
+
"anstyle-lossy",
|
| 77 |
+
"html-escape",
|
| 78 |
+
"unicode-width",
|
| 79 |
+
]
|
| 80 |
+
|
| 81 |
+
[[package]]
|
| 82 |
+
name = "anstyle-wincon"
|
| 83 |
+
version = "3.0.3"
|
| 84 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 85 |
+
checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19"
|
| 86 |
+
dependencies = [
|
| 87 |
+
"anstyle",
|
| 88 |
+
"windows-sys 0.52.0",
|
| 89 |
+
]
|
| 90 |
+
|
| 91 |
+
[[package]]
|
| 92 |
+
name = "automod"
|
| 93 |
+
version = "1.0.15"
|
| 94 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 95 |
+
checksum = "ebb4bd301db2e2ca1f5be131c24eb8ebf2d9559bc3744419e93baf8ddea7e670"
|
| 96 |
+
dependencies = [
|
| 97 |
+
"proc-macro2",
|
| 98 |
+
"quote",
|
| 99 |
+
"syn",
|
| 100 |
+
]
|
| 101 |
+
|
| 102 |
+
[[package]]
|
| 103 |
+
name = "backtrace"
|
| 104 |
+
version = "0.3.73"
|
| 105 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 106 |
+
checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a"
|
| 107 |
+
dependencies = [
|
| 108 |
+
"addr2line",
|
| 109 |
+
"cc",
|
| 110 |
+
"cfg-if",
|
| 111 |
+
"libc",
|
| 112 |
+
"miniz_oxide",
|
| 113 |
+
"object",
|
| 114 |
+
"rustc-demangle",
|
| 115 |
+
]
|
| 116 |
+
|
| 117 |
+
[[package]]
|
| 118 |
+
name = "bitflags"
|
| 119 |
+
version = "2.6.0"
|
| 120 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 121 |
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
| 122 |
+
|
| 123 |
+
[[package]]
|
| 124 |
+
name = "cc"
|
| 125 |
+
version = "1.1.0"
|
| 126 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 127 |
+
checksum = "eaff6f8ce506b9773fa786672d63fc7a191ffea1be33f72bbd4aeacefca9ffc8"
|
| 128 |
+
|
| 129 |
+
[[package]]
|
| 130 |
+
name = "cfg-if"
|
| 131 |
+
version = "1.0.0"
|
| 132 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 133 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 134 |
+
|
| 135 |
+
[[package]]
|
| 136 |
+
name = "clap"
|
| 137 |
+
version = "4.5.56"
|
| 138 |
+
dependencies = [
|
| 139 |
+
"automod",
|
| 140 |
+
"clap-cargo",
|
| 141 |
+
"clap_builder",
|
| 142 |
+
"clap_derive",
|
| 143 |
+
"jiff",
|
| 144 |
+
"rustversion",
|
| 145 |
+
"semver",
|
| 146 |
+
"shlex",
|
| 147 |
+
"snapbox",
|
| 148 |
+
"trybuild",
|
| 149 |
+
"trycmd",
|
| 150 |
+
]
|
| 151 |
+
|
| 152 |
+
[[package]]
|
| 153 |
+
name = "clap-cargo"
|
| 154 |
+
version = "0.15.2"
|
| 155 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 156 |
+
checksum = "d546f0e84ff2bfa4da1ce9b54be42285767ba39c688572ca32412a09a73851e5"
|
| 157 |
+
dependencies = [
|
| 158 |
+
"anstyle",
|
| 159 |
+
]
|
| 160 |
+
|
| 161 |
+
[[package]]
|
| 162 |
+
name = "clap_builder"
|
| 163 |
+
version = "4.5.56"
|
| 164 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 165 |
+
checksum = "793207c7fa6300a0608d1080b858e5fdbe713cdc1c8db9fb17777d8a13e63df0"
|
| 166 |
+
dependencies = [
|
| 167 |
+
"anstream",
|
| 168 |
+
"anstyle",
|
| 169 |
+
"backtrace",
|
| 170 |
+
"clap_lex",
|
| 171 |
+
"strsim",
|
| 172 |
+
"terminal_size",
|
| 173 |
+
"unicase",
|
| 174 |
+
"unicode-width",
|
| 175 |
+
]
|
| 176 |
+
|
| 177 |
+
[[package]]
|
| 178 |
+
name = "clap_derive"
|
| 179 |
+
version = "4.5.55"
|
| 180 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 181 |
+
checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5"
|
| 182 |
+
dependencies = [
|
| 183 |
+
"anstyle",
|
| 184 |
+
"heck",
|
| 185 |
+
"proc-macro2",
|
| 186 |
+
"pulldown-cmark",
|
| 187 |
+
"quote",
|
| 188 |
+
"syn",
|
| 189 |
+
]
|
| 190 |
+
|
| 191 |
+
[[package]]
|
| 192 |
+
name = "clap_lex"
|
| 193 |
+
version = "0.7.4"
|
| 194 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 195 |
+
checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
|
| 196 |
+
|
| 197 |
+
[[package]]
|
| 198 |
+
name = "colorchoice"
|
| 199 |
+
version = "1.0.1"
|
| 200 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 201 |
+
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
|
| 202 |
+
|
| 203 |
+
[[package]]
|
| 204 |
+
name = "crossbeam-deque"
|
| 205 |
+
version = "0.8.5"
|
| 206 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 207 |
+
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
| 208 |
+
dependencies = [
|
| 209 |
+
"crossbeam-epoch",
|
| 210 |
+
"crossbeam-utils",
|
| 211 |
+
]
|
| 212 |
+
|
| 213 |
+
[[package]]
|
| 214 |
+
name = "crossbeam-epoch"
|
| 215 |
+
version = "0.9.18"
|
| 216 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 217 |
+
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
| 218 |
+
dependencies = [
|
| 219 |
+
"crossbeam-utils",
|
| 220 |
+
]
|
| 221 |
+
|
| 222 |
+
[[package]]
|
| 223 |
+
name = "crossbeam-utils"
|
| 224 |
+
version = "0.8.20"
|
| 225 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 226 |
+
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
| 227 |
+
|
| 228 |
+
[[package]]
|
| 229 |
+
name = "either"
|
| 230 |
+
version = "1.13.0"
|
| 231 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 232 |
+
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
|
| 233 |
+
|
| 234 |
+
[[package]]
|
| 235 |
+
name = "equivalent"
|
| 236 |
+
version = "1.0.1"
|
| 237 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 238 |
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
| 239 |
+
|
| 240 |
+
[[package]]
|
| 241 |
+
name = "errno"
|
| 242 |
+
version = "0.3.9"
|
| 243 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 244 |
+
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
| 245 |
+
dependencies = [
|
| 246 |
+
"libc",
|
| 247 |
+
"windows-sys 0.52.0",
|
| 248 |
+
]
|
| 249 |
+
|
| 250 |
+
[[package]]
|
| 251 |
+
name = "escargot"
|
| 252 |
+
version = "0.5.13"
|
| 253 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 254 |
+
checksum = "05a3ac187a16b5382fef8c69fd1bad123c67b7cf3932240a2d43dcdd32cded88"
|
| 255 |
+
dependencies = [
|
| 256 |
+
"log",
|
| 257 |
+
"once_cell",
|
| 258 |
+
"serde",
|
| 259 |
+
"serde_json",
|
| 260 |
+
]
|
| 261 |
+
|
| 262 |
+
[[package]]
|
| 263 |
+
name = "gimli"
|
| 264 |
+
version = "0.29.0"
|
| 265 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 266 |
+
checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd"
|
| 267 |
+
|
| 268 |
+
[[package]]
|
| 269 |
+
name = "glob"
|
| 270 |
+
version = "0.3.1"
|
| 271 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 272 |
+
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
| 273 |
+
|
| 274 |
+
[[package]]
|
| 275 |
+
name = "hashbrown"
|
| 276 |
+
version = "0.14.5"
|
| 277 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 278 |
+
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
| 279 |
+
|
| 280 |
+
[[package]]
|
| 281 |
+
name = "heck"
|
| 282 |
+
version = "0.5.0"
|
| 283 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 284 |
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
| 285 |
+
|
| 286 |
+
[[package]]
|
| 287 |
+
name = "html-escape"
|
| 288 |
+
version = "0.2.13"
|
| 289 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 290 |
+
checksum = "6d1ad449764d627e22bfd7cd5e8868264fc9236e07c752972b4080cd351cb476"
|
| 291 |
+
dependencies = [
|
| 292 |
+
"utf8-width",
|
| 293 |
+
]
|
| 294 |
+
|
| 295 |
+
[[package]]
|
| 296 |
+
name = "humantime"
|
| 297 |
+
version = "2.1.0"
|
| 298 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 299 |
+
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
|
| 300 |
+
|
| 301 |
+
[[package]]
|
| 302 |
+
name = "humantime-serde"
|
| 303 |
+
version = "1.1.1"
|
| 304 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 305 |
+
checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
|
| 306 |
+
dependencies = [
|
| 307 |
+
"humantime",
|
| 308 |
+
"serde",
|
| 309 |
+
]
|
| 310 |
+
|
| 311 |
+
[[package]]
|
| 312 |
+
name = "indexmap"
|
| 313 |
+
version = "2.2.6"
|
| 314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 315 |
+
checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26"
|
| 316 |
+
dependencies = [
|
| 317 |
+
"equivalent",
|
| 318 |
+
"hashbrown",
|
| 319 |
+
]
|
| 320 |
+
|
| 321 |
+
[[package]]
|
| 322 |
+
name = "is_terminal_polyfill"
|
| 323 |
+
version = "1.70.0"
|
| 324 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 325 |
+
checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800"
|
| 326 |
+
|
| 327 |
+
[[package]]
|
| 328 |
+
name = "itoa"
|
| 329 |
+
version = "1.0.11"
|
| 330 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 331 |
+
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
| 332 |
+
|
| 333 |
+
[[package]]
|
| 334 |
+
name = "jiff"
|
| 335 |
+
version = "0.2.15"
|
| 336 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 337 |
+
checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49"
|
| 338 |
+
dependencies = [
|
| 339 |
+
"jiff-static",
|
| 340 |
+
"jiff-tzdb-platform",
|
| 341 |
+
"log",
|
| 342 |
+
"portable-atomic",
|
| 343 |
+
"portable-atomic-util",
|
| 344 |
+
"serde",
|
| 345 |
+
"windows-sys 0.59.0",
|
| 346 |
+
]
|
| 347 |
+
|
| 348 |
+
[[package]]
|
| 349 |
+
name = "jiff-static"
|
| 350 |
+
version = "0.2.15"
|
| 351 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 352 |
+
checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4"
|
| 353 |
+
dependencies = [
|
| 354 |
+
"proc-macro2",
|
| 355 |
+
"quote",
|
| 356 |
+
"syn",
|
| 357 |
+
]
|
| 358 |
+
|
| 359 |
+
[[package]]
|
| 360 |
+
name = "jiff-tzdb"
|
| 361 |
+
version = "0.1.4"
|
| 362 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 363 |
+
checksum = "c1283705eb0a21404d2bfd6eef2a7593d240bc42a0bdb39db0ad6fa2ec026524"
|
| 364 |
+
|
| 365 |
+
[[package]]
|
| 366 |
+
name = "jiff-tzdb-platform"
|
| 367 |
+
version = "0.1.3"
|
| 368 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 369 |
+
checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8"
|
| 370 |
+
dependencies = [
|
| 371 |
+
"jiff-tzdb",
|
| 372 |
+
]
|
| 373 |
+
|
| 374 |
+
[[package]]
|
| 375 |
+
name = "libc"
|
| 376 |
+
version = "0.2.155"
|
| 377 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 378 |
+
checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
|
| 379 |
+
|
| 380 |
+
[[package]]
|
| 381 |
+
name = "linux-raw-sys"
|
| 382 |
+
version = "0.4.14"
|
| 383 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 384 |
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
| 385 |
+
|
| 386 |
+
[[package]]
|
| 387 |
+
name = "log"
|
| 388 |
+
version = "0.4.22"
|
| 389 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 390 |
+
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
| 391 |
+
|
| 392 |
+
[[package]]
|
| 393 |
+
name = "memchr"
|
| 394 |
+
version = "2.7.4"
|
| 395 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 396 |
+
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
| 397 |
+
|
| 398 |
+
[[package]]
|
| 399 |
+
name = "miniz_oxide"
|
| 400 |
+
version = "0.7.4"
|
| 401 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 402 |
+
checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
|
| 403 |
+
dependencies = [
|
| 404 |
+
"adler",
|
| 405 |
+
]
|
| 406 |
+
|
| 407 |
+
[[package]]
|
| 408 |
+
name = "normalize-line-endings"
|
| 409 |
+
version = "0.3.0"
|
| 410 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 411 |
+
checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
|
| 412 |
+
|
| 413 |
+
[[package]]
|
| 414 |
+
name = "object"
|
| 415 |
+
version = "0.36.1"
|
| 416 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 417 |
+
checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce"
|
| 418 |
+
dependencies = [
|
| 419 |
+
"memchr",
|
| 420 |
+
]
|
| 421 |
+
|
| 422 |
+
[[package]]
|
| 423 |
+
name = "once_cell"
|
| 424 |
+
version = "1.19.0"
|
| 425 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 426 |
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
| 427 |
+
|
| 428 |
+
[[package]]
|
| 429 |
+
name = "os_pipe"
|
| 430 |
+
version = "1.2.0"
|
| 431 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 432 |
+
checksum = "29d73ba8daf8fac13b0501d1abeddcfe21ba7401ada61a819144b6c2a4f32209"
|
| 433 |
+
dependencies = [
|
| 434 |
+
"libc",
|
| 435 |
+
"windows-sys 0.52.0",
|
| 436 |
+
]
|
| 437 |
+
|
| 438 |
+
[[package]]
|
| 439 |
+
name = "portable-atomic"
|
| 440 |
+
version = "1.11.0"
|
| 441 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 442 |
+
checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
|
| 443 |
+
|
| 444 |
+
[[package]]
|
| 445 |
+
name = "portable-atomic-util"
|
| 446 |
+
version = "0.2.4"
|
| 447 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 448 |
+
checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507"
|
| 449 |
+
dependencies = [
|
| 450 |
+
"portable-atomic",
|
| 451 |
+
]
|
| 452 |
+
|
| 453 |
+
[[package]]
|
| 454 |
+
name = "proc-macro2"
|
| 455 |
+
version = "1.0.94"
|
| 456 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 457 |
+
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
|
| 458 |
+
dependencies = [
|
| 459 |
+
"unicode-ident",
|
| 460 |
+
]
|
| 461 |
+
|
| 462 |
+
[[package]]
|
| 463 |
+
name = "pulldown-cmark"
|
| 464 |
+
version = "0.13.0"
|
| 465 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 466 |
+
checksum = "1e8bbe1a966bd2f362681a44f6edce3c2310ac21e4d5067a6e7ec396297a6ea0"
|
| 467 |
+
dependencies = [
|
| 468 |
+
"bitflags",
|
| 469 |
+
"memchr",
|
| 470 |
+
"unicase",
|
| 471 |
+
]
|
| 472 |
+
|
| 473 |
+
[[package]]
|
| 474 |
+
name = "quote"
|
| 475 |
+
version = "1.0.39"
|
| 476 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 477 |
+
checksum = "c1f1914ce909e1658d9907913b4b91947430c7d9be598b15a1912935b8c04801"
|
| 478 |
+
dependencies = [
|
| 479 |
+
"proc-macro2",
|
| 480 |
+
]
|
| 481 |
+
|
| 482 |
+
[[package]]
|
| 483 |
+
name = "rayon"
|
| 484 |
+
version = "1.10.0"
|
| 485 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 486 |
+
checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
|
| 487 |
+
dependencies = [
|
| 488 |
+
"either",
|
| 489 |
+
"rayon-core",
|
| 490 |
+
]
|
| 491 |
+
|
| 492 |
+
[[package]]
|
| 493 |
+
name = "rayon-core"
|
| 494 |
+
version = "1.12.1"
|
| 495 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 496 |
+
checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
|
| 497 |
+
dependencies = [
|
| 498 |
+
"crossbeam-deque",
|
| 499 |
+
"crossbeam-utils",
|
| 500 |
+
]
|
| 501 |
+
|
| 502 |
+
[[package]]
|
| 503 |
+
name = "rustc-demangle"
|
| 504 |
+
version = "0.1.24"
|
| 505 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 506 |
+
checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f"
|
| 507 |
+
|
| 508 |
+
[[package]]
|
| 509 |
+
name = "rustix"
|
| 510 |
+
version = "0.38.34"
|
| 511 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 512 |
+
checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
|
| 513 |
+
dependencies = [
|
| 514 |
+
"bitflags",
|
| 515 |
+
"errno",
|
| 516 |
+
"libc",
|
| 517 |
+
"linux-raw-sys",
|
| 518 |
+
"windows-sys 0.52.0",
|
| 519 |
+
]
|
| 520 |
+
|
| 521 |
+
[[package]]
|
| 522 |
+
name = "rustversion"
|
| 523 |
+
version = "1.0.21"
|
| 524 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 525 |
+
checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
|
| 526 |
+
|
| 527 |
+
[[package]]
|
| 528 |
+
name = "ryu"
|
| 529 |
+
version = "1.0.18"
|
| 530 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 531 |
+
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
|
| 532 |
+
|
| 533 |
+
[[package]]
|
| 534 |
+
name = "semver"
|
| 535 |
+
version = "1.0.26"
|
| 536 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 537 |
+
checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
|
| 538 |
+
|
| 539 |
+
[[package]]
|
| 540 |
+
name = "serde"
|
| 541 |
+
version = "1.0.204"
|
| 542 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 543 |
+
checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12"
|
| 544 |
+
dependencies = [
|
| 545 |
+
"serde_derive",
|
| 546 |
+
]
|
| 547 |
+
|
| 548 |
+
[[package]]
|
| 549 |
+
name = "serde_derive"
|
| 550 |
+
version = "1.0.204"
|
| 551 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 552 |
+
checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
|
| 553 |
+
dependencies = [
|
| 554 |
+
"proc-macro2",
|
| 555 |
+
"quote",
|
| 556 |
+
"syn",
|
| 557 |
+
]
|
| 558 |
+
|
| 559 |
+
[[package]]
|
| 560 |
+
name = "serde_json"
|
| 561 |
+
version = "1.0.120"
|
| 562 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 563 |
+
checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5"
|
| 564 |
+
dependencies = [
|
| 565 |
+
"itoa",
|
| 566 |
+
"ryu",
|
| 567 |
+
"serde",
|
| 568 |
+
]
|
| 569 |
+
|
| 570 |
+
[[package]]
|
| 571 |
+
name = "serde_spanned"
|
| 572 |
+
version = "0.6.6"
|
| 573 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 574 |
+
checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0"
|
| 575 |
+
dependencies = [
|
| 576 |
+
"serde",
|
| 577 |
+
]
|
| 578 |
+
|
| 579 |
+
[[package]]
|
| 580 |
+
name = "serde_spanned"
|
| 581 |
+
version = "1.0.0"
|
| 582 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 583 |
+
checksum = "40734c41988f7306bb04f0ecf60ec0f3f1caa34290e4e8ea471dcd3346483b83"
|
| 584 |
+
dependencies = [
|
| 585 |
+
"serde",
|
| 586 |
+
]
|
| 587 |
+
|
| 588 |
+
[[package]]
|
| 589 |
+
name = "shlex"
|
| 590 |
+
version = "1.3.0"
|
| 591 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 592 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 593 |
+
|
| 594 |
+
[[package]]
|
| 595 |
+
name = "similar"
|
| 596 |
+
version = "2.5.0"
|
| 597 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 598 |
+
checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640"
|
| 599 |
+
|
| 600 |
+
[[package]]
|
| 601 |
+
name = "snapbox"
|
| 602 |
+
version = "0.6.21"
|
| 603 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 604 |
+
checksum = "96dcfc4581e3355d70ac2ee14cfdf81dce3d85c85f1ed9e2c1d3013f53b3436b"
|
| 605 |
+
dependencies = [
|
| 606 |
+
"anstream",
|
| 607 |
+
"anstyle",
|
| 608 |
+
"anstyle-svg",
|
| 609 |
+
"escargot",
|
| 610 |
+
"libc",
|
| 611 |
+
"normalize-line-endings",
|
| 612 |
+
"os_pipe",
|
| 613 |
+
"serde_json",
|
| 614 |
+
"similar",
|
| 615 |
+
"snapbox-macros",
|
| 616 |
+
"wait-timeout",
|
| 617 |
+
"windows-sys 0.59.0",
|
| 618 |
+
]
|
| 619 |
+
|
| 620 |
+
[[package]]
|
| 621 |
+
name = "snapbox-macros"
|
| 622 |
+
version = "0.3.10"
|
| 623 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 624 |
+
checksum = "16569f53ca23a41bb6f62e0a5084aa1661f4814a67fa33696a79073e03a664af"
|
| 625 |
+
dependencies = [
|
| 626 |
+
"anstream",
|
| 627 |
+
]
|
| 628 |
+
|
| 629 |
+
[[package]]
|
| 630 |
+
name = "strsim"
|
| 631 |
+
version = "0.11.1"
|
| 632 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 633 |
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
| 634 |
+
|
| 635 |
+
[[package]]
|
| 636 |
+
name = "syn"
|
| 637 |
+
version = "2.0.99"
|
| 638 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 639 |
+
checksum = "e02e925281e18ffd9d640e234264753c43edc62d64b2d4cf898f1bc5e75f3fc2"
|
| 640 |
+
dependencies = [
|
| 641 |
+
"proc-macro2",
|
| 642 |
+
"quote",
|
| 643 |
+
"unicode-ident",
|
| 644 |
+
]
|
| 645 |
+
|
| 646 |
+
[[package]]
|
| 647 |
+
name = "target-triple"
|
| 648 |
+
version = "0.1.3"
|
| 649 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 650 |
+
checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078"
|
| 651 |
+
|
| 652 |
+
[[package]]
|
| 653 |
+
name = "termcolor"
|
| 654 |
+
version = "1.4.1"
|
| 655 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 656 |
+
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
| 657 |
+
dependencies = [
|
| 658 |
+
"winapi-util",
|
| 659 |
+
]
|
| 660 |
+
|
| 661 |
+
[[package]]
|
| 662 |
+
name = "terminal_size"
|
| 663 |
+
version = "0.4.0"
|
| 664 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 665 |
+
checksum = "4f599bd7ca042cfdf8f4512b277c02ba102247820f9d9d4a9f521f496751a6ef"
|
| 666 |
+
dependencies = [
|
| 667 |
+
"rustix",
|
| 668 |
+
"windows-sys 0.59.0",
|
| 669 |
+
]
|
| 670 |
+
|
| 671 |
+
[[package]]
|
| 672 |
+
name = "toml"
|
| 673 |
+
version = "0.9.0"
|
| 674 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 675 |
+
checksum = "f271e09bde39ab52250160a67e88577e0559ad77e9085de6e9051a2c4353f8f8"
|
| 676 |
+
dependencies = [
|
| 677 |
+
"indexmap",
|
| 678 |
+
"serde",
|
| 679 |
+
"serde_spanned 1.0.0",
|
| 680 |
+
"toml_datetime 0.7.0",
|
| 681 |
+
"toml_parser",
|
| 682 |
+
"toml_writer",
|
| 683 |
+
"winnow 0.7.11",
|
| 684 |
+
]
|
| 685 |
+
|
| 686 |
+
[[package]]
|
| 687 |
+
name = "toml_datetime"
|
| 688 |
+
version = "0.6.6"
|
| 689 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 690 |
+
checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf"
|
| 691 |
+
dependencies = [
|
| 692 |
+
"serde",
|
| 693 |
+
]
|
| 694 |
+
|
| 695 |
+
[[package]]
|
| 696 |
+
name = "toml_datetime"
|
| 697 |
+
version = "0.7.0"
|
| 698 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 699 |
+
checksum = "bade1c3e902f58d73d3f294cd7f20391c1cb2fbcb643b73566bc773971df91e3"
|
| 700 |
+
dependencies = [
|
| 701 |
+
"serde",
|
| 702 |
+
]
|
| 703 |
+
|
| 704 |
+
[[package]]
|
| 705 |
+
name = "toml_edit"
|
| 706 |
+
version = "0.22.15"
|
| 707 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 708 |
+
checksum = "d59a3a72298453f564e2b111fa896f8d07fabb36f51f06d7e875fc5e0b5a3ef1"
|
| 709 |
+
dependencies = [
|
| 710 |
+
"indexmap",
|
| 711 |
+
"serde",
|
| 712 |
+
"serde_spanned 0.6.6",
|
| 713 |
+
"toml_datetime 0.6.6",
|
| 714 |
+
"winnow 0.6.13",
|
| 715 |
+
]
|
| 716 |
+
|
| 717 |
+
[[package]]
|
| 718 |
+
name = "toml_parser"
|
| 719 |
+
version = "1.0.0"
|
| 720 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 721 |
+
checksum = "b5c1c469eda89749d2230d8156a5969a69ffe0d6d01200581cdc6110674d293e"
|
| 722 |
+
dependencies = [
|
| 723 |
+
"winnow 0.7.11",
|
| 724 |
+
]
|
| 725 |
+
|
| 726 |
+
[[package]]
|
| 727 |
+
name = "toml_writer"
|
| 728 |
+
version = "1.0.0"
|
| 729 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 730 |
+
checksum = "b679217f2848de74cabd3e8fc5e6d66f40b7da40f8e1954d92054d9010690fd5"
|
| 731 |
+
|
| 732 |
+
[[package]]
|
| 733 |
+
name = "trybuild"
|
| 734 |
+
version = "1.0.106"
|
| 735 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 736 |
+
checksum = "65af40ad689f2527aebbd37a0a816aea88ff5f774ceabe99de5be02f2f91dae2"
|
| 737 |
+
dependencies = [
|
| 738 |
+
"glob",
|
| 739 |
+
"serde",
|
| 740 |
+
"serde_derive",
|
| 741 |
+
"serde_json",
|
| 742 |
+
"target-triple",
|
| 743 |
+
"termcolor",
|
| 744 |
+
"toml",
|
| 745 |
+
]
|
| 746 |
+
|
| 747 |
+
[[package]]
|
| 748 |
+
name = "trycmd"
|
| 749 |
+
version = "0.15.9"
|
| 750 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 751 |
+
checksum = "a8b5cf29388862aac065d6597ac9c8e842d1cc827cb50f7c32f11d29442eaae4"
|
| 752 |
+
dependencies = [
|
| 753 |
+
"anstream",
|
| 754 |
+
"automod",
|
| 755 |
+
"glob",
|
| 756 |
+
"humantime",
|
| 757 |
+
"humantime-serde",
|
| 758 |
+
"rayon",
|
| 759 |
+
"serde",
|
| 760 |
+
"shlex",
|
| 761 |
+
"snapbox",
|
| 762 |
+
"toml_edit",
|
| 763 |
+
]
|
| 764 |
+
|
| 765 |
+
[[package]]
|
| 766 |
+
name = "unicase"
|
| 767 |
+
version = "2.7.0"
|
| 768 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 769 |
+
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
|
| 770 |
+
dependencies = [
|
| 771 |
+
"version_check",
|
| 772 |
+
]
|
| 773 |
+
|
| 774 |
+
[[package]]
|
| 775 |
+
name = "unicode-ident"
|
| 776 |
+
version = "1.0.12"
|
| 777 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 778 |
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
| 779 |
+
|
| 780 |
+
[[package]]
|
| 781 |
+
name = "unicode-width"
|
| 782 |
+
version = "0.2.0"
|
| 783 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 784 |
+
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
|
| 785 |
+
|
| 786 |
+
[[package]]
|
| 787 |
+
name = "utf8-width"
|
| 788 |
+
version = "0.1.7"
|
| 789 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 790 |
+
checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3"
|
| 791 |
+
|
| 792 |
+
[[package]]
|
| 793 |
+
name = "utf8parse"
|
| 794 |
+
version = "0.2.2"
|
| 795 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 796 |
+
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
| 797 |
+
|
| 798 |
+
[[package]]
|
| 799 |
+
name = "version_check"
|
| 800 |
+
version = "0.9.4"
|
| 801 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 802 |
+
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
| 803 |
+
|
| 804 |
+
[[package]]
|
| 805 |
+
name = "wait-timeout"
|
| 806 |
+
version = "0.2.0"
|
| 807 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 808 |
+
checksum = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
|
| 809 |
+
dependencies = [
|
| 810 |
+
"libc",
|
| 811 |
+
]
|
| 812 |
+
|
| 813 |
+
[[package]]
|
| 814 |
+
name = "winapi-util"
|
| 815 |
+
version = "0.1.8"
|
| 816 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 817 |
+
checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
|
| 818 |
+
dependencies = [
|
| 819 |
+
"windows-sys 0.52.0",
|
| 820 |
+
]
|
| 821 |
+
|
| 822 |
+
[[package]]
|
| 823 |
+
name = "windows-sys"
|
| 824 |
+
version = "0.52.0"
|
| 825 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 826 |
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
| 827 |
+
dependencies = [
|
| 828 |
+
"windows-targets",
|
| 829 |
+
]
|
| 830 |
+
|
| 831 |
+
[[package]]
|
| 832 |
+
name = "windows-sys"
|
| 833 |
+
version = "0.59.0"
|
| 834 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 835 |
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
| 836 |
+
dependencies = [
|
| 837 |
+
"windows-targets",
|
| 838 |
+
]
|
| 839 |
+
|
| 840 |
+
[[package]]
|
| 841 |
+
name = "windows-targets"
|
| 842 |
+
version = "0.52.6"
|
| 843 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 844 |
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
| 845 |
+
dependencies = [
|
| 846 |
+
"windows_aarch64_gnullvm",
|
| 847 |
+
"windows_aarch64_msvc",
|
| 848 |
+
"windows_i686_gnu",
|
| 849 |
+
"windows_i686_gnullvm",
|
| 850 |
+
"windows_i686_msvc",
|
| 851 |
+
"windows_x86_64_gnu",
|
| 852 |
+
"windows_x86_64_gnullvm",
|
| 853 |
+
"windows_x86_64_msvc",
|
| 854 |
+
]
|
| 855 |
+
|
| 856 |
+
[[package]]
|
| 857 |
+
name = "windows_aarch64_gnullvm"
|
| 858 |
+
version = "0.52.6"
|
| 859 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 860 |
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
| 861 |
+
|
| 862 |
+
[[package]]
|
| 863 |
+
name = "windows_aarch64_msvc"
|
| 864 |
+
version = "0.52.6"
|
| 865 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 866 |
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
| 867 |
+
|
| 868 |
+
[[package]]
|
| 869 |
+
name = "windows_i686_gnu"
|
| 870 |
+
version = "0.52.6"
|
| 871 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 872 |
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
| 873 |
+
|
| 874 |
+
[[package]]
|
| 875 |
+
name = "windows_i686_gnullvm"
|
| 876 |
+
version = "0.52.6"
|
| 877 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 878 |
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
| 879 |
+
|
| 880 |
+
[[package]]
|
| 881 |
+
name = "windows_i686_msvc"
|
| 882 |
+
version = "0.52.6"
|
| 883 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 884 |
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
| 885 |
+
|
| 886 |
+
[[package]]
|
| 887 |
+
name = "windows_x86_64_gnu"
|
| 888 |
+
version = "0.52.6"
|
| 889 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 890 |
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
| 891 |
+
|
| 892 |
+
[[package]]
|
| 893 |
+
name = "windows_x86_64_gnullvm"
|
| 894 |
+
version = "0.52.6"
|
| 895 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 896 |
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
| 897 |
+
|
| 898 |
+
[[package]]
|
| 899 |
+
name = "windows_x86_64_msvc"
|
| 900 |
+
version = "0.52.6"
|
| 901 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 902 |
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
| 903 |
+
|
| 904 |
+
[[package]]
|
| 905 |
+
name = "winnow"
|
| 906 |
+
version = "0.6.13"
|
| 907 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 908 |
+
checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1"
|
| 909 |
+
dependencies = [
|
| 910 |
+
"memchr",
|
| 911 |
+
]
|
| 912 |
+
|
| 913 |
+
[[package]]
|
| 914 |
+
name = "winnow"
|
| 915 |
+
version = "0.7.11"
|
| 916 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 917 |
+
checksum = "74c7b26e3480b707944fc872477815d29a8e429d2f93a1ce000f5fa84a15cbcd"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.toml
ADDED
|
@@ -0,0 +1,635 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.74"
|
| 15 |
+
name = "clap"
|
| 16 |
+
version = "4.5.56"
|
| 17 |
+
build = false
|
| 18 |
+
include = [
|
| 19 |
+
"build.rs",
|
| 20 |
+
"src/**/*",
|
| 21 |
+
"Cargo.toml",
|
| 22 |
+
"LICENSE*",
|
| 23 |
+
"README.md",
|
| 24 |
+
"examples/**/*",
|
| 25 |
+
]
|
| 26 |
+
autolib = false
|
| 27 |
+
autobins = false
|
| 28 |
+
autoexamples = false
|
| 29 |
+
autotests = false
|
| 30 |
+
autobenches = false
|
| 31 |
+
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
|
| 32 |
+
readme = "README.md"
|
| 33 |
+
keywords = [
|
| 34 |
+
"argument",
|
| 35 |
+
"cli",
|
| 36 |
+
"arg",
|
| 37 |
+
"parser",
|
| 38 |
+
"parse",
|
| 39 |
+
]
|
| 40 |
+
categories = ["command-line-interface"]
|
| 41 |
+
license = "MIT OR Apache-2.0"
|
| 42 |
+
repository = "https://github.com/clap-rs/clap"
|
| 43 |
+
|
| 44 |
+
[package.metadata.docs.rs]
|
| 45 |
+
features = ["unstable-doc"]
|
| 46 |
+
rustdoc-args = ["--generate-link-to-definition"]
|
| 47 |
+
|
| 48 |
+
[package.metadata.playground]
|
| 49 |
+
features = ["unstable-doc"]
|
| 50 |
+
|
| 51 |
+
[package.metadata.release]
|
| 52 |
+
shared-version = true
|
| 53 |
+
tag-name = "v{{version}}"
|
| 54 |
+
|
| 55 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 56 |
+
file = "CHANGELOG.md"
|
| 57 |
+
search = "Unreleased"
|
| 58 |
+
replace = "{{version}}"
|
| 59 |
+
min = 1
|
| 60 |
+
|
| 61 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 62 |
+
file = "CHANGELOG.md"
|
| 63 |
+
search = '\.\.\.HEAD'
|
| 64 |
+
replace = "...{{tag_name}}"
|
| 65 |
+
exactly = 1
|
| 66 |
+
|
| 67 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 68 |
+
file = "CHANGELOG.md"
|
| 69 |
+
search = "ReleaseDate"
|
| 70 |
+
replace = "{{date}}"
|
| 71 |
+
min = 1
|
| 72 |
+
|
| 73 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 74 |
+
file = "CHANGELOG.md"
|
| 75 |
+
search = "<!-- next-header -->"
|
| 76 |
+
replace = """
|
| 77 |
+
<!-- next-header -->
|
| 78 |
+
## [Unreleased] - ReleaseDate
|
| 79 |
+
"""
|
| 80 |
+
exactly = 1
|
| 81 |
+
|
| 82 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 83 |
+
file = "CHANGELOG.md"
|
| 84 |
+
search = "<!-- next-url -->"
|
| 85 |
+
replace = """
|
| 86 |
+
<!-- next-url -->
|
| 87 |
+
[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD"""
|
| 88 |
+
exactly = 1
|
| 89 |
+
|
| 90 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 91 |
+
file = "CITATION.cff"
|
| 92 |
+
search = "^date-released: ....-..-.."
|
| 93 |
+
replace = "date-released: {{date}}"
|
| 94 |
+
|
| 95 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 96 |
+
file = "CITATION.cff"
|
| 97 |
+
search = '^version: .+\..+\..+'
|
| 98 |
+
replace = "version: {{version}}"
|
| 99 |
+
|
| 100 |
+
[[package.metadata.release.pre-release-replacements]]
|
| 101 |
+
file = "src/lib.rs"
|
| 102 |
+
search = 'blob/v.+\..+\..+/CHANGELOG.md'
|
| 103 |
+
replace = "blob/v{{version}}/CHANGELOG.md"
|
| 104 |
+
exactly = 1
|
| 105 |
+
|
| 106 |
+
[features]
|
| 107 |
+
cargo = ["clap_builder/cargo"]
|
| 108 |
+
color = ["clap_builder/color"]
|
| 109 |
+
debug = [
|
| 110 |
+
"clap_builder/debug",
|
| 111 |
+
"clap_derive?/debug",
|
| 112 |
+
]
|
| 113 |
+
default = [
|
| 114 |
+
"std",
|
| 115 |
+
"color",
|
| 116 |
+
"help",
|
| 117 |
+
"usage",
|
| 118 |
+
"error-context",
|
| 119 |
+
"suggestions",
|
| 120 |
+
]
|
| 121 |
+
deprecated = [
|
| 122 |
+
"clap_builder/deprecated",
|
| 123 |
+
"clap_derive?/deprecated",
|
| 124 |
+
]
|
| 125 |
+
derive = ["dep:clap_derive"]
|
| 126 |
+
env = ["clap_builder/env"]
|
| 127 |
+
error-context = ["clap_builder/error-context"]
|
| 128 |
+
help = ["clap_builder/help"]
|
| 129 |
+
std = ["clap_builder/std"]
|
| 130 |
+
string = ["clap_builder/string"]
|
| 131 |
+
suggestions = ["clap_builder/suggestions"]
|
| 132 |
+
unicode = ["clap_builder/unicode"]
|
| 133 |
+
unstable-derive-ui-tests = []
|
| 134 |
+
unstable-doc = [
|
| 135 |
+
"clap_builder/unstable-doc",
|
| 136 |
+
"derive",
|
| 137 |
+
]
|
| 138 |
+
unstable-ext = ["clap_builder/unstable-ext"]
|
| 139 |
+
unstable-markdown = ["clap_derive/unstable-markdown"]
|
| 140 |
+
unstable-styles = ["clap_builder/unstable-styles"]
|
| 141 |
+
unstable-v5 = [
|
| 142 |
+
"clap_builder/unstable-v5",
|
| 143 |
+
"clap_derive?/unstable-v5",
|
| 144 |
+
"deprecated",
|
| 145 |
+
]
|
| 146 |
+
usage = ["clap_builder/usage"]
|
| 147 |
+
wrap_help = ["clap_builder/wrap_help"]
|
| 148 |
+
|
| 149 |
+
[lib]
|
| 150 |
+
name = "clap"
|
| 151 |
+
path = "src/lib.rs"
|
| 152 |
+
bench = false
|
| 153 |
+
|
| 154 |
+
[[bin]]
|
| 155 |
+
name = "stdio-fixture"
|
| 156 |
+
path = "src/bin/stdio-fixture.rs"
|
| 157 |
+
|
| 158 |
+
[[example]]
|
| 159 |
+
name = "01_quick"
|
| 160 |
+
path = "examples/tutorial_builder/01_quick.rs"
|
| 161 |
+
doc-scrape-examples = true
|
| 162 |
+
required-features = ["cargo"]
|
| 163 |
+
|
| 164 |
+
[[example]]
|
| 165 |
+
name = "01_quick_derive"
|
| 166 |
+
path = "examples/tutorial_derive/01_quick.rs"
|
| 167 |
+
doc-scrape-examples = true
|
| 168 |
+
required-features = ["derive"]
|
| 169 |
+
|
| 170 |
+
[[example]]
|
| 171 |
+
name = "02_app_settings"
|
| 172 |
+
path = "examples/tutorial_builder/02_app_settings.rs"
|
| 173 |
+
doc-scrape-examples = true
|
| 174 |
+
required-features = ["cargo"]
|
| 175 |
+
|
| 176 |
+
[[example]]
|
| 177 |
+
name = "02_app_settings_derive"
|
| 178 |
+
path = "examples/tutorial_derive/02_app_settings.rs"
|
| 179 |
+
doc-scrape-examples = true
|
| 180 |
+
required-features = ["derive"]
|
| 181 |
+
|
| 182 |
+
[[example]]
|
| 183 |
+
name = "02_apps"
|
| 184 |
+
path = "examples/tutorial_builder/02_apps.rs"
|
| 185 |
+
doc-scrape-examples = true
|
| 186 |
+
|
| 187 |
+
[[example]]
|
| 188 |
+
name = "02_apps_derive"
|
| 189 |
+
path = "examples/tutorial_derive/02_apps.rs"
|
| 190 |
+
doc-scrape-examples = true
|
| 191 |
+
required-features = ["derive"]
|
| 192 |
+
|
| 193 |
+
[[example]]
|
| 194 |
+
name = "02_crate"
|
| 195 |
+
path = "examples/tutorial_builder/02_crate.rs"
|
| 196 |
+
doc-scrape-examples = true
|
| 197 |
+
required-features = ["cargo"]
|
| 198 |
+
|
| 199 |
+
[[example]]
|
| 200 |
+
name = "02_crate_derive"
|
| 201 |
+
path = "examples/tutorial_derive/02_crate.rs"
|
| 202 |
+
doc-scrape-examples = true
|
| 203 |
+
required-features = ["derive"]
|
| 204 |
+
|
| 205 |
+
[[example]]
|
| 206 |
+
name = "03_01_flag_bool"
|
| 207 |
+
path = "examples/tutorial_builder/03_01_flag_bool.rs"
|
| 208 |
+
doc-scrape-examples = true
|
| 209 |
+
required-features = ["cargo"]
|
| 210 |
+
|
| 211 |
+
[[example]]
|
| 212 |
+
name = "03_01_flag_bool_derive"
|
| 213 |
+
path = "examples/tutorial_derive/03_01_flag_bool.rs"
|
| 214 |
+
doc-scrape-examples = true
|
| 215 |
+
required-features = ["derive"]
|
| 216 |
+
|
| 217 |
+
[[example]]
|
| 218 |
+
name = "03_01_flag_count"
|
| 219 |
+
path = "examples/tutorial_builder/03_01_flag_count.rs"
|
| 220 |
+
doc-scrape-examples = true
|
| 221 |
+
required-features = ["cargo"]
|
| 222 |
+
|
| 223 |
+
[[example]]
|
| 224 |
+
name = "03_01_flag_count_derive"
|
| 225 |
+
path = "examples/tutorial_derive/03_01_flag_count.rs"
|
| 226 |
+
doc-scrape-examples = true
|
| 227 |
+
required-features = ["derive"]
|
| 228 |
+
|
| 229 |
+
[[example]]
|
| 230 |
+
name = "03_02_option"
|
| 231 |
+
path = "examples/tutorial_builder/03_02_option.rs"
|
| 232 |
+
doc-scrape-examples = true
|
| 233 |
+
required-features = ["cargo"]
|
| 234 |
+
|
| 235 |
+
[[example]]
|
| 236 |
+
name = "03_02_option_derive"
|
| 237 |
+
path = "examples/tutorial_derive/03_02_option.rs"
|
| 238 |
+
doc-scrape-examples = true
|
| 239 |
+
required-features = ["derive"]
|
| 240 |
+
|
| 241 |
+
[[example]]
|
| 242 |
+
name = "03_02_option_mult"
|
| 243 |
+
path = "examples/tutorial_builder/03_02_option_mult.rs"
|
| 244 |
+
doc-scrape-examples = true
|
| 245 |
+
required-features = ["cargo"]
|
| 246 |
+
|
| 247 |
+
[[example]]
|
| 248 |
+
name = "03_02_option_mult_derive"
|
| 249 |
+
path = "examples/tutorial_derive/03_02_option_mult.rs"
|
| 250 |
+
doc-scrape-examples = true
|
| 251 |
+
required-features = ["derive"]
|
| 252 |
+
|
| 253 |
+
[[example]]
|
| 254 |
+
name = "03_03_positional"
|
| 255 |
+
path = "examples/tutorial_builder/03_03_positional.rs"
|
| 256 |
+
doc-scrape-examples = true
|
| 257 |
+
required-features = ["cargo"]
|
| 258 |
+
|
| 259 |
+
[[example]]
|
| 260 |
+
name = "03_03_positional_derive"
|
| 261 |
+
path = "examples/tutorial_derive/03_03_positional.rs"
|
| 262 |
+
doc-scrape-examples = true
|
| 263 |
+
required-features = ["derive"]
|
| 264 |
+
|
| 265 |
+
[[example]]
|
| 266 |
+
name = "03_03_positional_mult"
|
| 267 |
+
path = "examples/tutorial_builder/03_03_positional_mult.rs"
|
| 268 |
+
doc-scrape-examples = true
|
| 269 |
+
required-features = ["cargo"]
|
| 270 |
+
|
| 271 |
+
[[example]]
|
| 272 |
+
name = "03_03_positional_mult_derive"
|
| 273 |
+
path = "examples/tutorial_derive/03_03_positional_mult.rs"
|
| 274 |
+
doc-scrape-examples = true
|
| 275 |
+
required-features = ["derive"]
|
| 276 |
+
|
| 277 |
+
[[example]]
|
| 278 |
+
name = "03_04_subcommands"
|
| 279 |
+
path = "examples/tutorial_builder/03_04_subcommands.rs"
|
| 280 |
+
doc-scrape-examples = true
|
| 281 |
+
required-features = ["cargo"]
|
| 282 |
+
|
| 283 |
+
[[example]]
|
| 284 |
+
name = "03_04_subcommands_alt_derive"
|
| 285 |
+
path = "examples/tutorial_derive/03_04_subcommands_alt.rs"
|
| 286 |
+
doc-scrape-examples = true
|
| 287 |
+
required-features = ["derive"]
|
| 288 |
+
|
| 289 |
+
[[example]]
|
| 290 |
+
name = "03_04_subcommands_derive"
|
| 291 |
+
path = "examples/tutorial_derive/03_04_subcommands.rs"
|
| 292 |
+
doc-scrape-examples = true
|
| 293 |
+
required-features = ["derive"]
|
| 294 |
+
|
| 295 |
+
[[example]]
|
| 296 |
+
name = "03_05_default_values"
|
| 297 |
+
path = "examples/tutorial_builder/03_05_default_values.rs"
|
| 298 |
+
doc-scrape-examples = true
|
| 299 |
+
required-features = ["cargo"]
|
| 300 |
+
|
| 301 |
+
[[example]]
|
| 302 |
+
name = "03_05_default_values_derive"
|
| 303 |
+
path = "examples/tutorial_derive/03_05_default_values.rs"
|
| 304 |
+
doc-scrape-examples = true
|
| 305 |
+
required-features = ["derive"]
|
| 306 |
+
|
| 307 |
+
[[example]]
|
| 308 |
+
name = "03_06_optional_derive"
|
| 309 |
+
path = "examples/tutorial_derive/03_06_optional.rs"
|
| 310 |
+
doc-scrape-examples = true
|
| 311 |
+
required-features = ["derive"]
|
| 312 |
+
|
| 313 |
+
[[example]]
|
| 314 |
+
name = "03_06_required"
|
| 315 |
+
path = "examples/tutorial_builder/03_06_required.rs"
|
| 316 |
+
doc-scrape-examples = true
|
| 317 |
+
required-features = ["cargo"]
|
| 318 |
+
|
| 319 |
+
[[example]]
|
| 320 |
+
name = "04_01_enum"
|
| 321 |
+
path = "examples/tutorial_builder/04_01_enum.rs"
|
| 322 |
+
doc-scrape-examples = true
|
| 323 |
+
required-features = ["cargo"]
|
| 324 |
+
|
| 325 |
+
[[example]]
|
| 326 |
+
name = "04_01_enum_derive"
|
| 327 |
+
path = "examples/tutorial_derive/04_01_enum.rs"
|
| 328 |
+
doc-scrape-examples = true
|
| 329 |
+
required-features = ["derive"]
|
| 330 |
+
|
| 331 |
+
[[example]]
|
| 332 |
+
name = "04_01_possible"
|
| 333 |
+
path = "examples/tutorial_builder/04_01_possible.rs"
|
| 334 |
+
doc-scrape-examples = true
|
| 335 |
+
required-features = ["cargo"]
|
| 336 |
+
|
| 337 |
+
[[example]]
|
| 338 |
+
name = "04_02_parse"
|
| 339 |
+
path = "examples/tutorial_builder/04_02_parse.rs"
|
| 340 |
+
doc-scrape-examples = true
|
| 341 |
+
required-features = ["cargo"]
|
| 342 |
+
|
| 343 |
+
[[example]]
|
| 344 |
+
name = "04_02_parse_derive"
|
| 345 |
+
path = "examples/tutorial_derive/04_02_parse.rs"
|
| 346 |
+
doc-scrape-examples = true
|
| 347 |
+
required-features = ["derive"]
|
| 348 |
+
|
| 349 |
+
[[example]]
|
| 350 |
+
name = "04_02_validate"
|
| 351 |
+
path = "examples/tutorial_builder/04_02_validate.rs"
|
| 352 |
+
doc-scrape-examples = true
|
| 353 |
+
required-features = ["cargo"]
|
| 354 |
+
|
| 355 |
+
[[example]]
|
| 356 |
+
name = "04_02_validate_derive"
|
| 357 |
+
path = "examples/tutorial_derive/04_02_validate.rs"
|
| 358 |
+
doc-scrape-examples = true
|
| 359 |
+
required-features = ["derive"]
|
| 360 |
+
|
| 361 |
+
[[example]]
|
| 362 |
+
name = "04_03_relations"
|
| 363 |
+
path = "examples/tutorial_builder/04_03_relations.rs"
|
| 364 |
+
doc-scrape-examples = true
|
| 365 |
+
required-features = ["cargo"]
|
| 366 |
+
|
| 367 |
+
[[example]]
|
| 368 |
+
name = "04_03_relations_derive"
|
| 369 |
+
path = "examples/tutorial_derive/04_03_relations.rs"
|
| 370 |
+
doc-scrape-examples = true
|
| 371 |
+
required-features = ["derive"]
|
| 372 |
+
|
| 373 |
+
[[example]]
|
| 374 |
+
name = "04_04_custom"
|
| 375 |
+
path = "examples/tutorial_builder/04_04_custom.rs"
|
| 376 |
+
doc-scrape-examples = true
|
| 377 |
+
required-features = ["cargo"]
|
| 378 |
+
|
| 379 |
+
[[example]]
|
| 380 |
+
name = "04_04_custom_derive"
|
| 381 |
+
path = "examples/tutorial_derive/04_04_custom.rs"
|
| 382 |
+
doc-scrape-examples = true
|
| 383 |
+
required-features = ["derive"]
|
| 384 |
+
|
| 385 |
+
[[example]]
|
| 386 |
+
name = "05_01_assert"
|
| 387 |
+
path = "examples/tutorial_builder/05_01_assert.rs"
|
| 388 |
+
test = true
|
| 389 |
+
doc-scrape-examples = true
|
| 390 |
+
required-features = ["cargo"]
|
| 391 |
+
|
| 392 |
+
[[example]]
|
| 393 |
+
name = "05_01_assert_derive"
|
| 394 |
+
path = "examples/tutorial_derive/05_01_assert.rs"
|
| 395 |
+
test = true
|
| 396 |
+
doc-scrape-examples = true
|
| 397 |
+
required-features = ["derive"]
|
| 398 |
+
|
| 399 |
+
[[example]]
|
| 400 |
+
name = "busybox"
|
| 401 |
+
path = "examples/multicall-busybox.rs"
|
| 402 |
+
doc-scrape-examples = true
|
| 403 |
+
|
| 404 |
+
[[example]]
|
| 405 |
+
name = "cargo-example"
|
| 406 |
+
path = "examples/cargo-example.rs"
|
| 407 |
+
doc-scrape-examples = true
|
| 408 |
+
required-features = [
|
| 409 |
+
"cargo",
|
| 410 |
+
"color",
|
| 411 |
+
]
|
| 412 |
+
|
| 413 |
+
[[example]]
|
| 414 |
+
name = "cargo-example-derive"
|
| 415 |
+
path = "examples/cargo-example-derive.rs"
|
| 416 |
+
doc-scrape-examples = true
|
| 417 |
+
required-features = [
|
| 418 |
+
"derive",
|
| 419 |
+
"color",
|
| 420 |
+
]
|
| 421 |
+
|
| 422 |
+
[[example]]
|
| 423 |
+
name = "demo"
|
| 424 |
+
path = "examples/demo.rs"
|
| 425 |
+
doc-scrape-examples = true
|
| 426 |
+
required-features = ["derive"]
|
| 427 |
+
|
| 428 |
+
[[example]]
|
| 429 |
+
name = "escaped-positional"
|
| 430 |
+
path = "examples/escaped-positional.rs"
|
| 431 |
+
doc-scrape-examples = true
|
| 432 |
+
required-features = ["cargo"]
|
| 433 |
+
|
| 434 |
+
[[example]]
|
| 435 |
+
name = "escaped-positional-derive"
|
| 436 |
+
path = "examples/escaped-positional-derive.rs"
|
| 437 |
+
doc-scrape-examples = true
|
| 438 |
+
required-features = ["derive"]
|
| 439 |
+
|
| 440 |
+
[[example]]
|
| 441 |
+
name = "find"
|
| 442 |
+
path = "examples/find.rs"
|
| 443 |
+
doc-scrape-examples = true
|
| 444 |
+
required-features = ["cargo"]
|
| 445 |
+
|
| 446 |
+
[[example]]
|
| 447 |
+
name = "git"
|
| 448 |
+
path = "examples/git.rs"
|
| 449 |
+
|
| 450 |
+
[[example]]
|
| 451 |
+
name = "git-derive"
|
| 452 |
+
path = "examples/git-derive.rs"
|
| 453 |
+
doc-scrape-examples = true
|
| 454 |
+
required-features = ["derive"]
|
| 455 |
+
|
| 456 |
+
[[example]]
|
| 457 |
+
name = "hostname"
|
| 458 |
+
path = "examples/multicall-hostname.rs"
|
| 459 |
+
doc-scrape-examples = true
|
| 460 |
+
|
| 461 |
+
[[example]]
|
| 462 |
+
name = "interop_augment_args"
|
| 463 |
+
path = "examples/derive_ref/augment_args.rs"
|
| 464 |
+
doc-scrape-examples = true
|
| 465 |
+
required-features = ["derive"]
|
| 466 |
+
|
| 467 |
+
[[example]]
|
| 468 |
+
name = "interop_augment_subcommands"
|
| 469 |
+
path = "examples/derive_ref/augment_subcommands.rs"
|
| 470 |
+
doc-scrape-examples = true
|
| 471 |
+
required-features = ["derive"]
|
| 472 |
+
|
| 473 |
+
[[example]]
|
| 474 |
+
name = "interop_flatten_hand_args"
|
| 475 |
+
path = "examples/derive_ref/flatten_hand_args.rs"
|
| 476 |
+
doc-scrape-examples = true
|
| 477 |
+
required-features = ["derive"]
|
| 478 |
+
|
| 479 |
+
[[example]]
|
| 480 |
+
name = "interop_hand_subcommand"
|
| 481 |
+
path = "examples/derive_ref/hand_subcommand.rs"
|
| 482 |
+
doc-scrape-examples = true
|
| 483 |
+
required-features = ["derive"]
|
| 484 |
+
|
| 485 |
+
[[example]]
|
| 486 |
+
name = "pacman"
|
| 487 |
+
path = "examples/pacman.rs"
|
| 488 |
+
|
| 489 |
+
[[example]]
|
| 490 |
+
name = "repl"
|
| 491 |
+
path = "examples/repl.rs"
|
| 492 |
+
doc-scrape-examples = true
|
| 493 |
+
required-features = ["help"]
|
| 494 |
+
|
| 495 |
+
[[example]]
|
| 496 |
+
name = "repl-derive"
|
| 497 |
+
path = "examples/repl-derive.rs"
|
| 498 |
+
doc-scrape-examples = true
|
| 499 |
+
required-features = ["derive"]
|
| 500 |
+
|
| 501 |
+
[[example]]
|
| 502 |
+
name = "typed-derive"
|
| 503 |
+
path = "examples/typed-derive/main.rs"
|
| 504 |
+
doc-scrape-examples = true
|
| 505 |
+
required-features = ["derive"]
|
| 506 |
+
|
| 507 |
+
[dependencies.clap_builder]
|
| 508 |
+
version = "=4.5.56"
|
| 509 |
+
default-features = false
|
| 510 |
+
|
| 511 |
+
[dependencies.clap_derive]
|
| 512 |
+
version = "=4.5.55"
|
| 513 |
+
optional = true
|
| 514 |
+
|
| 515 |
+
[dev-dependencies.automod]
|
| 516 |
+
version = "1.0.14"
|
| 517 |
+
|
| 518 |
+
[dev-dependencies.clap-cargo]
|
| 519 |
+
version = "0.15.0"
|
| 520 |
+
default-features = false
|
| 521 |
+
|
| 522 |
+
[dev-dependencies.jiff]
|
| 523 |
+
version = "0.2.3"
|
| 524 |
+
|
| 525 |
+
[dev-dependencies.rustversion]
|
| 526 |
+
version = "1.0.15"
|
| 527 |
+
|
| 528 |
+
[dev-dependencies.semver]
|
| 529 |
+
version = "1.0.26"
|
| 530 |
+
|
| 531 |
+
[dev-dependencies.shlex]
|
| 532 |
+
version = "1.3.0"
|
| 533 |
+
|
| 534 |
+
[dev-dependencies.snapbox]
|
| 535 |
+
version = "0.6.16"
|
| 536 |
+
features = ["term-svg"]
|
| 537 |
+
|
| 538 |
+
[dev-dependencies.trybuild]
|
| 539 |
+
version = "1.0.91"
|
| 540 |
+
|
| 541 |
+
[dev-dependencies.trycmd]
|
| 542 |
+
version = "0.15.3"
|
| 543 |
+
features = [
|
| 544 |
+
"color-auto",
|
| 545 |
+
"diff",
|
| 546 |
+
"examples",
|
| 547 |
+
]
|
| 548 |
+
default-features = false
|
| 549 |
+
|
| 550 |
+
[lints.clippy]
|
| 551 |
+
assigning_clones = "allow"
|
| 552 |
+
blocks_in_conditions = "allow"
|
| 553 |
+
bool_assert_comparison = "allow"
|
| 554 |
+
branches_sharing_code = "allow"
|
| 555 |
+
checked_conversions = "warn"
|
| 556 |
+
collapsible_else_if = "allow"
|
| 557 |
+
create_dir = "warn"
|
| 558 |
+
dbg_macro = "warn"
|
| 559 |
+
debug_assert_with_mut_call = "warn"
|
| 560 |
+
doc_markdown = "warn"
|
| 561 |
+
empty_enums = "warn"
|
| 562 |
+
enum_glob_use = "warn"
|
| 563 |
+
expl_impl_clone_on_copy = "warn"
|
| 564 |
+
explicit_deref_methods = "warn"
|
| 565 |
+
explicit_into_iter_loop = "warn"
|
| 566 |
+
fallible_impl_from = "warn"
|
| 567 |
+
filter_map_next = "warn"
|
| 568 |
+
flat_map_option = "warn"
|
| 569 |
+
float_cmp_const = "warn"
|
| 570 |
+
fn_params_excessive_bools = "warn"
|
| 571 |
+
from_iter_instead_of_collect = "warn"
|
| 572 |
+
if_same_then_else = "allow"
|
| 573 |
+
implicit_clone = "warn"
|
| 574 |
+
imprecise_flops = "warn"
|
| 575 |
+
inconsistent_struct_constructor = "warn"
|
| 576 |
+
inefficient_to_string = "warn"
|
| 577 |
+
infinite_loop = "warn"
|
| 578 |
+
invalid_upcast_comparisons = "warn"
|
| 579 |
+
large_digit_groups = "warn"
|
| 580 |
+
large_stack_arrays = "warn"
|
| 581 |
+
large_types_passed_by_value = "warn"
|
| 582 |
+
let_and_return = "allow"
|
| 583 |
+
linkedlist = "warn"
|
| 584 |
+
lossy_float_literal = "warn"
|
| 585 |
+
macro_use_imports = "warn"
|
| 586 |
+
mem_forget = "warn"
|
| 587 |
+
multiple_bound_locations = "allow"
|
| 588 |
+
mutex_integer = "warn"
|
| 589 |
+
needless_continue = "allow"
|
| 590 |
+
needless_for_each = "warn"
|
| 591 |
+
negative_feature_names = "warn"
|
| 592 |
+
path_buf_push_overwrite = "warn"
|
| 593 |
+
ptr_as_ptr = "warn"
|
| 594 |
+
rc_mutex = "warn"
|
| 595 |
+
redundant_feature_names = "warn"
|
| 596 |
+
ref_option_ref = "warn"
|
| 597 |
+
rest_pat_in_fully_bound_structs = "warn"
|
| 598 |
+
result_large_err = "allow"
|
| 599 |
+
same_functions_in_if_condition = "warn"
|
| 600 |
+
self_named_module_files = "warn"
|
| 601 |
+
semicolon_if_nothing_returned = "warn"
|
| 602 |
+
string_add_assign = "warn"
|
| 603 |
+
string_lit_as_bytes = "warn"
|
| 604 |
+
todo = "warn"
|
| 605 |
+
trait_duplication_in_bounds = "warn"
|
| 606 |
+
uninlined_format_args = "warn"
|
| 607 |
+
verbose_file_reads = "warn"
|
| 608 |
+
zero_sized_map_values = "warn"
|
| 609 |
+
|
| 610 |
+
[lints.rust]
|
| 611 |
+
unnameable_types = "allow"
|
| 612 |
+
unreachable_pub = "warn"
|
| 613 |
+
unsafe_op_in_unsafe_fn = "warn"
|
| 614 |
+
unused_lifetimes = "warn"
|
| 615 |
+
unused_macro_rules = "warn"
|
| 616 |
+
unused_qualifications = "warn"
|
| 617 |
+
|
| 618 |
+
[lints.rust.rust_2018_idioms]
|
| 619 |
+
level = "warn"
|
| 620 |
+
priority = -1
|
| 621 |
+
|
| 622 |
+
[profile.bench]
|
| 623 |
+
lto = true
|
| 624 |
+
codegen-units = 1
|
| 625 |
+
|
| 626 |
+
[profile.dev]
|
| 627 |
+
panic = "abort"
|
| 628 |
+
|
| 629 |
+
[profile.release]
|
| 630 |
+
lto = true
|
| 631 |
+
codegen-units = 1
|
| 632 |
+
panic = "abort"
|
| 633 |
+
|
| 634 |
+
[profile.test]
|
| 635 |
+
opt-level = 1
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,538 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[workspace]
|
| 2 |
+
resolver = "2"
|
| 3 |
+
members = [
|
| 4 |
+
"clap_bench",
|
| 5 |
+
"clap_builder",
|
| 6 |
+
"clap_derive",
|
| 7 |
+
"clap_lex",
|
| 8 |
+
"clap_complete",
|
| 9 |
+
"clap_complete_nushell",
|
| 10 |
+
"clap_mangen",
|
| 11 |
+
]
|
| 12 |
+
|
| 13 |
+
[workspace.package]
|
| 14 |
+
repository = "https://github.com/clap-rs/clap"
|
| 15 |
+
license = "MIT OR Apache-2.0"
|
| 16 |
+
edition = "2021"
|
| 17 |
+
rust-version = "1.74" # MSRV
|
| 18 |
+
include = [
|
| 19 |
+
"build.rs",
|
| 20 |
+
"src/**/*",
|
| 21 |
+
"Cargo.toml",
|
| 22 |
+
"LICENSE*",
|
| 23 |
+
"README.md",
|
| 24 |
+
"examples/**/*"
|
| 25 |
+
]
|
| 26 |
+
|
| 27 |
+
[workspace.lints.rust]
|
| 28 |
+
rust_2018_idioms = { level = "warn", priority = -1 }
|
| 29 |
+
unnameable_types = "allow"
|
| 30 |
+
unreachable_pub = "warn"
|
| 31 |
+
unsafe_op_in_unsafe_fn = "warn"
|
| 32 |
+
unused_lifetimes = "warn"
|
| 33 |
+
unused_macro_rules = "warn"
|
| 34 |
+
unused_qualifications = "warn"
|
| 35 |
+
|
| 36 |
+
[workspace.lints.clippy]
|
| 37 |
+
bool_assert_comparison = "allow"
|
| 38 |
+
branches_sharing_code = "allow"
|
| 39 |
+
checked_conversions = "warn"
|
| 40 |
+
collapsible_else_if = "allow"
|
| 41 |
+
create_dir = "warn"
|
| 42 |
+
dbg_macro = "warn"
|
| 43 |
+
debug_assert_with_mut_call = "warn"
|
| 44 |
+
doc_markdown = "warn"
|
| 45 |
+
empty_enums = "warn"
|
| 46 |
+
enum_glob_use = "warn"
|
| 47 |
+
expl_impl_clone_on_copy = "warn"
|
| 48 |
+
explicit_deref_methods = "warn"
|
| 49 |
+
explicit_into_iter_loop = "warn"
|
| 50 |
+
fallible_impl_from = "warn"
|
| 51 |
+
filter_map_next = "warn"
|
| 52 |
+
flat_map_option = "warn"
|
| 53 |
+
float_cmp_const = "warn"
|
| 54 |
+
fn_params_excessive_bools = "warn"
|
| 55 |
+
from_iter_instead_of_collect = "warn"
|
| 56 |
+
if_same_then_else = "allow"
|
| 57 |
+
implicit_clone = "warn"
|
| 58 |
+
imprecise_flops = "warn"
|
| 59 |
+
inconsistent_struct_constructor = "warn"
|
| 60 |
+
inefficient_to_string = "warn"
|
| 61 |
+
infinite_loop = "warn"
|
| 62 |
+
invalid_upcast_comparisons = "warn"
|
| 63 |
+
large_digit_groups = "warn"
|
| 64 |
+
large_stack_arrays = "warn"
|
| 65 |
+
large_types_passed_by_value = "warn"
|
| 66 |
+
let_and_return = "allow" # sometimes good to name what you are returning
|
| 67 |
+
linkedlist = "warn"
|
| 68 |
+
lossy_float_literal = "warn"
|
| 69 |
+
macro_use_imports = "warn"
|
| 70 |
+
mem_forget = "warn"
|
| 71 |
+
mutex_integer = "warn"
|
| 72 |
+
needless_continue = "allow"
|
| 73 |
+
needless_for_each = "warn"
|
| 74 |
+
negative_feature_names = "warn"
|
| 75 |
+
path_buf_push_overwrite = "warn"
|
| 76 |
+
ptr_as_ptr = "warn"
|
| 77 |
+
rc_mutex = "warn"
|
| 78 |
+
redundant_feature_names = "warn"
|
| 79 |
+
ref_option_ref = "warn"
|
| 80 |
+
rest_pat_in_fully_bound_structs = "warn"
|
| 81 |
+
result_large_err = "allow"
|
| 82 |
+
same_functions_in_if_condition = "warn"
|
| 83 |
+
self_named_module_files = "warn"
|
| 84 |
+
semicolon_if_nothing_returned = "warn"
|
| 85 |
+
# str_to_string = "warn"
|
| 86 |
+
# string_add = "warn"
|
| 87 |
+
string_add_assign = "warn"
|
| 88 |
+
string_lit_as_bytes = "warn"
|
| 89 |
+
todo = "warn"
|
| 90 |
+
trait_duplication_in_bounds = "warn"
|
| 91 |
+
uninlined_format_args = "warn"
|
| 92 |
+
verbose_file_reads = "warn"
|
| 93 |
+
# wildcard_imports = "warn"
|
| 94 |
+
zero_sized_map_values = "warn"
|
| 95 |
+
# Fix later:
|
| 96 |
+
multiple_bound_locations = "allow"
|
| 97 |
+
assigning_clones = "allow"
|
| 98 |
+
blocks_in_conditions = "allow"
|
| 99 |
+
|
| 100 |
+
[profile.dev]
|
| 101 |
+
panic = "abort"
|
| 102 |
+
|
| 103 |
+
[profile.release]
|
| 104 |
+
panic = "abort"
|
| 105 |
+
codegen-units = 1
|
| 106 |
+
lto = true
|
| 107 |
+
# debug = "line-tables-only" # requires Cargo 1.71
|
| 108 |
+
|
| 109 |
+
[package]
|
| 110 |
+
name = "clap"
|
| 111 |
+
version = "4.5.56"
|
| 112 |
+
description = "A simple to use, efficient, and full-featured Command Line Argument Parser"
|
| 113 |
+
categories = ["command-line-interface"]
|
| 114 |
+
keywords = [
|
| 115 |
+
"argument",
|
| 116 |
+
"cli",
|
| 117 |
+
"arg",
|
| 118 |
+
"parser",
|
| 119 |
+
"parse"
|
| 120 |
+
]
|
| 121 |
+
repository.workspace = true
|
| 122 |
+
license.workspace = true
|
| 123 |
+
edition.workspace = true
|
| 124 |
+
rust-version.workspace = true
|
| 125 |
+
include.workspace = true
|
| 126 |
+
|
| 127 |
+
[package.metadata.docs.rs]
|
| 128 |
+
features = ["unstable-doc"]
|
| 129 |
+
rustdoc-args = ["--generate-link-to-definition"]
|
| 130 |
+
|
| 131 |
+
[package.metadata.playground]
|
| 132 |
+
features = ["unstable-doc"]
|
| 133 |
+
|
| 134 |
+
[package.metadata.release]
|
| 135 |
+
shared-version = true
|
| 136 |
+
tag-name = "v{{version}}"
|
| 137 |
+
pre-release-replacements = [
|
| 138 |
+
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
|
| 139 |
+
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
|
| 140 |
+
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
|
| 141 |
+
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
|
| 142 |
+
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/clap-rs/clap/compare/{{tag_name}}...HEAD", exactly=1},
|
| 143 |
+
{file="CITATION.cff", search="^date-released: ....-..-..", replace="date-released: {{date}}"},
|
| 144 |
+
{file="CITATION.cff", search="^version: .+\\..+\\..+", replace="version: {{version}}"},
|
| 145 |
+
{file="src/lib.rs", search="blob/v.+\\..+\\..+/CHANGELOG.md", replace="blob/v{{version}}/CHANGELOG.md", exactly=1},
|
| 146 |
+
]
|
| 147 |
+
|
| 148 |
+
[features]
|
| 149 |
+
default = [
|
| 150 |
+
"std",
|
| 151 |
+
"color",
|
| 152 |
+
"help",
|
| 153 |
+
"usage",
|
| 154 |
+
"error-context",
|
| 155 |
+
"suggestions",
|
| 156 |
+
]
|
| 157 |
+
debug = ["clap_builder/debug", "clap_derive?/debug"] # Enables debug messages
|
| 158 |
+
unstable-doc = ["clap_builder/unstable-doc", "derive"] # for docs.rs
|
| 159 |
+
|
| 160 |
+
# Used in default
|
| 161 |
+
std = ["clap_builder/std"] # support for no_std in a backwards-compatible way
|
| 162 |
+
color = ["clap_builder/color"]
|
| 163 |
+
help = ["clap_builder/help"]
|
| 164 |
+
usage = ["clap_builder/usage"]
|
| 165 |
+
error-context = ["clap_builder/error-context"]
|
| 166 |
+
suggestions = ["clap_builder/suggestions"]
|
| 167 |
+
|
| 168 |
+
# Optional
|
| 169 |
+
deprecated = ["clap_builder/deprecated", "clap_derive?/deprecated"] # Guided experience to prepare for next breaking release (at different stages of development, this may become default)
|
| 170 |
+
derive = ["dep:clap_derive"]
|
| 171 |
+
cargo = ["clap_builder/cargo"] # Disable if you're not using Cargo, enables Cargo-env-var-dependent macros
|
| 172 |
+
wrap_help = ["clap_builder/wrap_help"]
|
| 173 |
+
env = ["clap_builder/env"] # Use environment variables during arg parsing
|
| 174 |
+
unicode = ["clap_builder/unicode"] # Support for unicode characters in arguments and help messages
|
| 175 |
+
string = ["clap_builder/string"] # Allow runtime generated strings
|
| 176 |
+
|
| 177 |
+
# In-work features
|
| 178 |
+
unstable-v5 = ["clap_builder/unstable-v5", "clap_derive?/unstable-v5", "deprecated"]
|
| 179 |
+
unstable-ext = ["clap_builder/unstable-ext"]
|
| 180 |
+
unstable-styles = ["clap_builder/unstable-styles"] # deprecated
|
| 181 |
+
unstable-derive-ui-tests = []
|
| 182 |
+
unstable-markdown = ["clap_derive/unstable-markdown"]
|
| 183 |
+
|
| 184 |
+
[lib]
|
| 185 |
+
bench = false
|
| 186 |
+
|
| 187 |
+
[dependencies]
|
| 188 |
+
clap_builder = { path = "./clap_builder", version = "=4.5.56", default-features = false }
|
| 189 |
+
clap_derive = { path = "./clap_derive", version = "=4.5.55", optional = true }
|
| 190 |
+
|
| 191 |
+
[dev-dependencies]
|
| 192 |
+
trybuild = "1.0.91"
|
| 193 |
+
rustversion = "1.0.15"
|
| 194 |
+
# Cutting out `filesystem` feature
|
| 195 |
+
trycmd = { version = "0.15.3", default-features = false, features = ["color-auto", "diff", "examples"] }
|
| 196 |
+
jiff = "0.2.3"
|
| 197 |
+
snapbox = { version = "0.6.16", features = ["term-svg"] }
|
| 198 |
+
shlex = "1.3.0"
|
| 199 |
+
automod = "1.0.14"
|
| 200 |
+
clap-cargo = { version = "0.15.0", default-features = false }
|
| 201 |
+
semver = "1.0.26"
|
| 202 |
+
|
| 203 |
+
[[example]]
|
| 204 |
+
name = "demo"
|
| 205 |
+
required-features = ["derive"]
|
| 206 |
+
doc-scrape-examples = true
|
| 207 |
+
|
| 208 |
+
[[example]]
|
| 209 |
+
name = "cargo-example"
|
| 210 |
+
required-features = ["cargo", "color"]
|
| 211 |
+
doc-scrape-examples = true
|
| 212 |
+
|
| 213 |
+
[[example]]
|
| 214 |
+
name = "cargo-example-derive"
|
| 215 |
+
required-features = ["derive", "color"]
|
| 216 |
+
doc-scrape-examples = true
|
| 217 |
+
|
| 218 |
+
[[example]]
|
| 219 |
+
name = "escaped-positional"
|
| 220 |
+
required-features = ["cargo"]
|
| 221 |
+
doc-scrape-examples = true
|
| 222 |
+
|
| 223 |
+
[[example]]
|
| 224 |
+
name = "escaped-positional-derive"
|
| 225 |
+
required-features = ["derive"]
|
| 226 |
+
doc-scrape-examples = true
|
| 227 |
+
|
| 228 |
+
[[example]]
|
| 229 |
+
name = "find"
|
| 230 |
+
required-features = ["cargo"]
|
| 231 |
+
doc-scrape-examples = true
|
| 232 |
+
|
| 233 |
+
[[example]]
|
| 234 |
+
name = "git-derive"
|
| 235 |
+
required-features = ["derive"]
|
| 236 |
+
doc-scrape-examples = true
|
| 237 |
+
|
| 238 |
+
[[example]]
|
| 239 |
+
name = "typed-derive"
|
| 240 |
+
required-features = ["derive"]
|
| 241 |
+
doc-scrape-examples = true
|
| 242 |
+
|
| 243 |
+
[[example]]
|
| 244 |
+
name = "busybox"
|
| 245 |
+
path = "examples/multicall-busybox.rs"
|
| 246 |
+
doc-scrape-examples = true
|
| 247 |
+
|
| 248 |
+
[[example]]
|
| 249 |
+
name = "hostname"
|
| 250 |
+
path = "examples/multicall-hostname.rs"
|
| 251 |
+
doc-scrape-examples = true
|
| 252 |
+
|
| 253 |
+
[[example]]
|
| 254 |
+
name = "repl"
|
| 255 |
+
path = "examples/repl.rs"
|
| 256 |
+
required-features = ["help"]
|
| 257 |
+
doc-scrape-examples = true
|
| 258 |
+
|
| 259 |
+
[[example]]
|
| 260 |
+
name = "repl-derive"
|
| 261 |
+
path = "examples/repl-derive.rs"
|
| 262 |
+
required-features = ["derive"]
|
| 263 |
+
doc-scrape-examples = true
|
| 264 |
+
|
| 265 |
+
[[example]]
|
| 266 |
+
name = "01_quick"
|
| 267 |
+
path = "examples/tutorial_builder/01_quick.rs"
|
| 268 |
+
required-features = ["cargo"]
|
| 269 |
+
doc-scrape-examples = true
|
| 270 |
+
|
| 271 |
+
[[example]]
|
| 272 |
+
name = "02_apps"
|
| 273 |
+
path = "examples/tutorial_builder/02_apps.rs"
|
| 274 |
+
doc-scrape-examples = true
|
| 275 |
+
|
| 276 |
+
[[example]]
|
| 277 |
+
name = "02_crate"
|
| 278 |
+
path = "examples/tutorial_builder/02_crate.rs"
|
| 279 |
+
required-features = ["cargo"]
|
| 280 |
+
doc-scrape-examples = true
|
| 281 |
+
|
| 282 |
+
[[example]]
|
| 283 |
+
name = "02_app_settings"
|
| 284 |
+
path = "examples/tutorial_builder/02_app_settings.rs"
|
| 285 |
+
required-features = ["cargo"]
|
| 286 |
+
doc-scrape-examples = true
|
| 287 |
+
|
| 288 |
+
[[example]]
|
| 289 |
+
name = "03_01_flag_bool"
|
| 290 |
+
path = "examples/tutorial_builder/03_01_flag_bool.rs"
|
| 291 |
+
required-features = ["cargo"]
|
| 292 |
+
doc-scrape-examples = true
|
| 293 |
+
|
| 294 |
+
[[example]]
|
| 295 |
+
name = "03_01_flag_count"
|
| 296 |
+
path = "examples/tutorial_builder/03_01_flag_count.rs"
|
| 297 |
+
required-features = ["cargo"]
|
| 298 |
+
doc-scrape-examples = true
|
| 299 |
+
|
| 300 |
+
[[example]]
|
| 301 |
+
name = "03_02_option"
|
| 302 |
+
path = "examples/tutorial_builder/03_02_option.rs"
|
| 303 |
+
required-features = ["cargo"]
|
| 304 |
+
doc-scrape-examples = true
|
| 305 |
+
|
| 306 |
+
[[example]]
|
| 307 |
+
name = "03_02_option_mult"
|
| 308 |
+
path = "examples/tutorial_builder/03_02_option_mult.rs"
|
| 309 |
+
required-features = ["cargo"]
|
| 310 |
+
doc-scrape-examples = true
|
| 311 |
+
|
| 312 |
+
[[example]]
|
| 313 |
+
name = "03_03_positional"
|
| 314 |
+
path = "examples/tutorial_builder/03_03_positional.rs"
|
| 315 |
+
required-features = ["cargo"]
|
| 316 |
+
doc-scrape-examples = true
|
| 317 |
+
|
| 318 |
+
[[example]]
|
| 319 |
+
name = "03_03_positional_mult"
|
| 320 |
+
path = "examples/tutorial_builder/03_03_positional_mult.rs"
|
| 321 |
+
required-features = ["cargo"]
|
| 322 |
+
doc-scrape-examples = true
|
| 323 |
+
|
| 324 |
+
[[example]]
|
| 325 |
+
name = "03_04_subcommands"
|
| 326 |
+
path = "examples/tutorial_builder/03_04_subcommands.rs"
|
| 327 |
+
required-features = ["cargo"]
|
| 328 |
+
doc-scrape-examples = true
|
| 329 |
+
|
| 330 |
+
[[example]]
|
| 331 |
+
name = "03_05_default_values"
|
| 332 |
+
path = "examples/tutorial_builder/03_05_default_values.rs"
|
| 333 |
+
required-features = ["cargo"]
|
| 334 |
+
doc-scrape-examples = true
|
| 335 |
+
|
| 336 |
+
[[example]]
|
| 337 |
+
name = "03_06_required"
|
| 338 |
+
path = "examples/tutorial_builder/03_06_required.rs"
|
| 339 |
+
required-features = ["cargo"]
|
| 340 |
+
doc-scrape-examples = true
|
| 341 |
+
|
| 342 |
+
[[example]]
|
| 343 |
+
name = "04_01_possible"
|
| 344 |
+
path = "examples/tutorial_builder/04_01_possible.rs"
|
| 345 |
+
required-features = ["cargo"]
|
| 346 |
+
doc-scrape-examples = true
|
| 347 |
+
|
| 348 |
+
[[example]]
|
| 349 |
+
name = "04_01_enum"
|
| 350 |
+
path = "examples/tutorial_builder/04_01_enum.rs"
|
| 351 |
+
required-features = ["cargo"]
|
| 352 |
+
doc-scrape-examples = true
|
| 353 |
+
|
| 354 |
+
[[example]]
|
| 355 |
+
name = "04_02_parse"
|
| 356 |
+
path = "examples/tutorial_builder/04_02_parse.rs"
|
| 357 |
+
required-features = ["cargo"]
|
| 358 |
+
doc-scrape-examples = true
|
| 359 |
+
|
| 360 |
+
[[example]]
|
| 361 |
+
name = "04_02_validate"
|
| 362 |
+
path = "examples/tutorial_builder/04_02_validate.rs"
|
| 363 |
+
required-features = ["cargo"]
|
| 364 |
+
doc-scrape-examples = true
|
| 365 |
+
|
| 366 |
+
[[example]]
|
| 367 |
+
name = "04_03_relations"
|
| 368 |
+
path = "examples/tutorial_builder/04_03_relations.rs"
|
| 369 |
+
required-features = ["cargo"]
|
| 370 |
+
doc-scrape-examples = true
|
| 371 |
+
|
| 372 |
+
[[example]]
|
| 373 |
+
name = "04_04_custom"
|
| 374 |
+
path = "examples/tutorial_builder/04_04_custom.rs"
|
| 375 |
+
required-features = ["cargo"]
|
| 376 |
+
doc-scrape-examples = true
|
| 377 |
+
|
| 378 |
+
[[example]]
|
| 379 |
+
name = "05_01_assert"
|
| 380 |
+
path = "examples/tutorial_builder/05_01_assert.rs"
|
| 381 |
+
required-features = ["cargo"]
|
| 382 |
+
test = true
|
| 383 |
+
doc-scrape-examples = true
|
| 384 |
+
|
| 385 |
+
[[example]]
|
| 386 |
+
name = "01_quick_derive"
|
| 387 |
+
path = "examples/tutorial_derive/01_quick.rs"
|
| 388 |
+
required-features = ["derive"]
|
| 389 |
+
doc-scrape-examples = true
|
| 390 |
+
|
| 391 |
+
[[example]]
|
| 392 |
+
name = "02_apps_derive"
|
| 393 |
+
path = "examples/tutorial_derive/02_apps.rs"
|
| 394 |
+
required-features = ["derive"]
|
| 395 |
+
doc-scrape-examples = true
|
| 396 |
+
|
| 397 |
+
[[example]]
|
| 398 |
+
name = "02_crate_derive"
|
| 399 |
+
path = "examples/tutorial_derive/02_crate.rs"
|
| 400 |
+
required-features = ["derive"]
|
| 401 |
+
doc-scrape-examples = true
|
| 402 |
+
|
| 403 |
+
[[example]]
|
| 404 |
+
name = "02_app_settings_derive"
|
| 405 |
+
path = "examples/tutorial_derive/02_app_settings.rs"
|
| 406 |
+
required-features = ["derive"]
|
| 407 |
+
doc-scrape-examples = true
|
| 408 |
+
|
| 409 |
+
[[example]]
|
| 410 |
+
name = "03_01_flag_bool_derive"
|
| 411 |
+
path = "examples/tutorial_derive/03_01_flag_bool.rs"
|
| 412 |
+
required-features = ["derive"]
|
| 413 |
+
doc-scrape-examples = true
|
| 414 |
+
|
| 415 |
+
[[example]]
|
| 416 |
+
name = "03_01_flag_count_derive"
|
| 417 |
+
path = "examples/tutorial_derive/03_01_flag_count.rs"
|
| 418 |
+
required-features = ["derive"]
|
| 419 |
+
doc-scrape-examples = true
|
| 420 |
+
|
| 421 |
+
[[example]]
|
| 422 |
+
name = "03_02_option_derive"
|
| 423 |
+
path = "examples/tutorial_derive/03_02_option.rs"
|
| 424 |
+
required-features = ["derive"]
|
| 425 |
+
doc-scrape-examples = true
|
| 426 |
+
|
| 427 |
+
[[example]]
|
| 428 |
+
name = "03_02_option_mult_derive"
|
| 429 |
+
path = "examples/tutorial_derive/03_02_option_mult.rs"
|
| 430 |
+
required-features = ["derive"]
|
| 431 |
+
doc-scrape-examples = true
|
| 432 |
+
|
| 433 |
+
[[example]]
|
| 434 |
+
name = "03_03_positional_derive"
|
| 435 |
+
path = "examples/tutorial_derive/03_03_positional.rs"
|
| 436 |
+
required-features = ["derive"]
|
| 437 |
+
doc-scrape-examples = true
|
| 438 |
+
|
| 439 |
+
[[example]]
|
| 440 |
+
name = "03_03_positional_mult_derive"
|
| 441 |
+
path = "examples/tutorial_derive/03_03_positional_mult.rs"
|
| 442 |
+
required-features = ["derive"]
|
| 443 |
+
doc-scrape-examples = true
|
| 444 |
+
|
| 445 |
+
[[example]]
|
| 446 |
+
name = "03_04_subcommands_derive"
|
| 447 |
+
path = "examples/tutorial_derive/03_04_subcommands.rs"
|
| 448 |
+
required-features = ["derive"]
|
| 449 |
+
doc-scrape-examples = true
|
| 450 |
+
|
| 451 |
+
[[example]]
|
| 452 |
+
name = "03_04_subcommands_alt_derive"
|
| 453 |
+
path = "examples/tutorial_derive/03_04_subcommands_alt.rs"
|
| 454 |
+
required-features = ["derive"]
|
| 455 |
+
doc-scrape-examples = true
|
| 456 |
+
|
| 457 |
+
[[example]]
|
| 458 |
+
name = "03_05_default_values_derive"
|
| 459 |
+
path = "examples/tutorial_derive/03_05_default_values.rs"
|
| 460 |
+
required-features = ["derive"]
|
| 461 |
+
doc-scrape-examples = true
|
| 462 |
+
|
| 463 |
+
[[example]]
|
| 464 |
+
name = "03_06_optional_derive"
|
| 465 |
+
path = "examples/tutorial_derive/03_06_optional.rs"
|
| 466 |
+
required-features = ["derive"]
|
| 467 |
+
doc-scrape-examples = true
|
| 468 |
+
|
| 469 |
+
[[example]]
|
| 470 |
+
name = "04_01_enum_derive"
|
| 471 |
+
path = "examples/tutorial_derive/04_01_enum.rs"
|
| 472 |
+
required-features = ["derive"]
|
| 473 |
+
doc-scrape-examples = true
|
| 474 |
+
|
| 475 |
+
[[example]]
|
| 476 |
+
name = "04_02_parse_derive"
|
| 477 |
+
path = "examples/tutorial_derive/04_02_parse.rs"
|
| 478 |
+
required-features = ["derive"]
|
| 479 |
+
doc-scrape-examples = true
|
| 480 |
+
|
| 481 |
+
[[example]]
|
| 482 |
+
name = "04_02_validate_derive"
|
| 483 |
+
path = "examples/tutorial_derive/04_02_validate.rs"
|
| 484 |
+
required-features = ["derive"]
|
| 485 |
+
doc-scrape-examples = true
|
| 486 |
+
|
| 487 |
+
[[example]]
|
| 488 |
+
name = "04_03_relations_derive"
|
| 489 |
+
path = "examples/tutorial_derive/04_03_relations.rs"
|
| 490 |
+
required-features = ["derive"]
|
| 491 |
+
doc-scrape-examples = true
|
| 492 |
+
|
| 493 |
+
[[example]]
|
| 494 |
+
name = "04_04_custom_derive"
|
| 495 |
+
path = "examples/tutorial_derive/04_04_custom.rs"
|
| 496 |
+
required-features = ["derive"]
|
| 497 |
+
doc-scrape-examples = true
|
| 498 |
+
|
| 499 |
+
[[example]]
|
| 500 |
+
name = "05_01_assert_derive"
|
| 501 |
+
path = "examples/tutorial_derive/05_01_assert.rs"
|
| 502 |
+
required-features = ["derive"]
|
| 503 |
+
test = true
|
| 504 |
+
doc-scrape-examples = true
|
| 505 |
+
|
| 506 |
+
[[example]]
|
| 507 |
+
name = "interop_augment_args"
|
| 508 |
+
path = "examples/derive_ref/augment_args.rs"
|
| 509 |
+
required-features = ["derive"]
|
| 510 |
+
doc-scrape-examples = true
|
| 511 |
+
|
| 512 |
+
[[example]]
|
| 513 |
+
name = "interop_augment_subcommands"
|
| 514 |
+
path = "examples/derive_ref/augment_subcommands.rs"
|
| 515 |
+
required-features = ["derive"]
|
| 516 |
+
doc-scrape-examples = true
|
| 517 |
+
|
| 518 |
+
[[example]]
|
| 519 |
+
name = "interop_hand_subcommand"
|
| 520 |
+
path = "examples/derive_ref/hand_subcommand.rs"
|
| 521 |
+
required-features = ["derive"]
|
| 522 |
+
doc-scrape-examples = true
|
| 523 |
+
|
| 524 |
+
[[example]]
|
| 525 |
+
name = "interop_flatten_hand_args"
|
| 526 |
+
path = "examples/derive_ref/flatten_hand_args.rs"
|
| 527 |
+
required-features = ["derive"]
|
| 528 |
+
doc-scrape-examples = true
|
| 529 |
+
|
| 530 |
+
[profile.test]
|
| 531 |
+
opt-level = 1
|
| 532 |
+
|
| 533 |
+
[profile.bench]
|
| 534 |
+
lto = true
|
| 535 |
+
codegen-units = 1
|
| 536 |
+
|
| 537 |
+
[lints]
|
| 538 |
+
workspace = true
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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.
|
| 202 |
+
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/LICENSE-MIT
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) Individual contributors
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 4 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 5 |
+
in the Software without restriction, including without limitation the rights
|
| 6 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 7 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 8 |
+
furnished to do so, subject to the following conditions:
|
| 9 |
+
|
| 10 |
+
The above copyright notice and this permission notice shall be included in all
|
| 11 |
+
copies or substantial portions of the Software.
|
| 12 |
+
|
| 13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 19 |
+
SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/clap-4.5.56/README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# clap
|
| 2 |
+
|
| 3 |
+
> **Command Line Argument Parser for Rust**
|
| 4 |
+
|
| 5 |
+
[](https://crates.io/crates/clap)
|
| 6 |
+
[](https://crates.io/crates/clap)
|
| 7 |
+
[](LICENSE-APACHE)
|
| 8 |
+
[](LICENSE-MIT)
|
| 9 |
+
[](https://github.com/clap-rs/clap/actions/workflows/ci.yml?query=branch%3Amaster)
|
| 10 |
+
[](https://coveralls.io/github/clap-rs/clap?branch=master)
|
| 11 |
+
[](https://github.com/clap-rs/clap/graphs/contributors)
|
| 12 |
+
|
| 13 |
+
Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
|
| 14 |
+
|
| 15 |
+
## Get Started
|
| 16 |
+
|
| 17 |
+
```console
|
| 18 |
+
$ cargo add clap
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
## About
|
| 22 |
+
|
| 23 |
+
Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.
|
| 24 |
+
|
| 25 |
+
For more details, see:
|
| 26 |
+
- [docs.rs](https://docs.rs/clap/latest/clap/)
|
| 27 |
+
- [examples](examples/)
|
| 28 |
+
|
| 29 |
+
## Sponsors
|
| 30 |
+
|
| 31 |
+
<!-- omit in TOC -->
|
| 32 |
+
### Gold
|
| 33 |
+
|
| 34 |
+
[](https://opencollective.com/clap)
|
| 35 |
+
|
| 36 |
+
<!-- omit in TOC -->
|
| 37 |
+
### Silver
|
| 38 |
+
|
| 39 |
+
[](https://opencollective.com/clap)
|
| 40 |
+
|
| 41 |
+
<!-- omit in TOC -->
|
| 42 |
+
### Bronze
|
| 43 |
+
|
| 44 |
+
[](https://opencollective.com/clap)
|
| 45 |
+
|
| 46 |
+
<!-- omit in TOC -->
|
| 47 |
+
### Backer
|
| 48 |
+
|
| 49 |
+
[](https://opencollective.com/clap)
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "1e052816b09890925cfdfcbe8d390cdaae5e4c38"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": "futures-channel"
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/Cargo.toml
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.56"
|
| 15 |
+
name = "futures-channel"
|
| 16 |
+
version = "0.3.31"
|
| 17 |
+
build = false
|
| 18 |
+
autobins = false
|
| 19 |
+
autoexamples = false
|
| 20 |
+
autotests = false
|
| 21 |
+
autobenches = false
|
| 22 |
+
description = """
|
| 23 |
+
Channels for asynchronous communication using futures-rs.
|
| 24 |
+
"""
|
| 25 |
+
homepage = "https://rust-lang.github.io/futures-rs"
|
| 26 |
+
readme = "README.md"
|
| 27 |
+
license = "MIT OR Apache-2.0"
|
| 28 |
+
repository = "https://github.com/rust-lang/futures-rs"
|
| 29 |
+
|
| 30 |
+
[package.metadata.docs.rs]
|
| 31 |
+
all-features = true
|
| 32 |
+
rustdoc-args = [
|
| 33 |
+
"--cfg",
|
| 34 |
+
"docsrs",
|
| 35 |
+
]
|
| 36 |
+
|
| 37 |
+
[lib]
|
| 38 |
+
name = "futures_channel"
|
| 39 |
+
path = "src/lib.rs"
|
| 40 |
+
|
| 41 |
+
[[test]]
|
| 42 |
+
name = "channel"
|
| 43 |
+
path = "tests/channel.rs"
|
| 44 |
+
|
| 45 |
+
[[test]]
|
| 46 |
+
name = "mpsc"
|
| 47 |
+
path = "tests/mpsc.rs"
|
| 48 |
+
|
| 49 |
+
[[test]]
|
| 50 |
+
name = "mpsc-close"
|
| 51 |
+
path = "tests/mpsc-close.rs"
|
| 52 |
+
|
| 53 |
+
[[test]]
|
| 54 |
+
name = "mpsc-size_hint"
|
| 55 |
+
path = "tests/mpsc-size_hint.rs"
|
| 56 |
+
|
| 57 |
+
[[test]]
|
| 58 |
+
name = "oneshot"
|
| 59 |
+
path = "tests/oneshot.rs"
|
| 60 |
+
|
| 61 |
+
[[bench]]
|
| 62 |
+
name = "sync_mpsc"
|
| 63 |
+
path = "benches/sync_mpsc.rs"
|
| 64 |
+
|
| 65 |
+
[dependencies.futures-core]
|
| 66 |
+
version = "0.3.31"
|
| 67 |
+
default-features = false
|
| 68 |
+
|
| 69 |
+
[dependencies.futures-sink]
|
| 70 |
+
version = "0.3.31"
|
| 71 |
+
optional = true
|
| 72 |
+
default-features = false
|
| 73 |
+
|
| 74 |
+
[dev-dependencies]
|
| 75 |
+
|
| 76 |
+
[features]
|
| 77 |
+
alloc = ["futures-core/alloc"]
|
| 78 |
+
cfg-target-has-atomic = []
|
| 79 |
+
default = ["std"]
|
| 80 |
+
sink = ["futures-sink"]
|
| 81 |
+
std = [
|
| 82 |
+
"alloc",
|
| 83 |
+
"futures-core/std",
|
| 84 |
+
]
|
| 85 |
+
unstable = []
|
| 86 |
+
|
| 87 |
+
[lints.rust]
|
| 88 |
+
missing_debug_implementations = "warn"
|
| 89 |
+
rust_2018_idioms = "warn"
|
| 90 |
+
single_use_lifetimes = "warn"
|
| 91 |
+
unreachable_pub = "warn"
|
| 92 |
+
|
| 93 |
+
[lints.rust.unexpected_cfgs]
|
| 94 |
+
level = "warn"
|
| 95 |
+
priority = 0
|
| 96 |
+
check-cfg = ["cfg(futures_sanitizer)"]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "futures-channel"
|
| 3 |
+
version = "0.3.31"
|
| 4 |
+
edition = "2018"
|
| 5 |
+
rust-version = "1.56"
|
| 6 |
+
license = "MIT OR Apache-2.0"
|
| 7 |
+
repository = "https://github.com/rust-lang/futures-rs"
|
| 8 |
+
homepage = "https://rust-lang.github.io/futures-rs"
|
| 9 |
+
description = """
|
| 10 |
+
Channels for asynchronous communication using futures-rs.
|
| 11 |
+
"""
|
| 12 |
+
|
| 13 |
+
[features]
|
| 14 |
+
default = ["std"]
|
| 15 |
+
std = ["alloc", "futures-core/std"]
|
| 16 |
+
alloc = ["futures-core/alloc"]
|
| 17 |
+
sink = ["futures-sink"]
|
| 18 |
+
|
| 19 |
+
# These features are no longer used.
|
| 20 |
+
# TODO: remove in the next major version.
|
| 21 |
+
unstable = []
|
| 22 |
+
cfg-target-has-atomic = []
|
| 23 |
+
|
| 24 |
+
[dependencies]
|
| 25 |
+
futures-core = { path = "../futures-core", version = "0.3.31", default-features = false }
|
| 26 |
+
futures-sink = { path = "../futures-sink", version = "0.3.31", default-features = false, optional = true }
|
| 27 |
+
|
| 28 |
+
[dev-dependencies]
|
| 29 |
+
futures = { path = "../futures", default-features = true }
|
| 30 |
+
futures-test = { path = "../futures-test", default-features = true }
|
| 31 |
+
|
| 32 |
+
[package.metadata.docs.rs]
|
| 33 |
+
all-features = true
|
| 34 |
+
rustdoc-args = ["--cfg", "docsrs"]
|
| 35 |
+
|
| 36 |
+
[lints]
|
| 37 |
+
workspace = true
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 (c) 2016 Alex Crichton
|
| 190 |
+
Copyright (c) 2017 The Tokio Authors
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/LICENSE-MIT
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2016 Alex Crichton
|
| 2 |
+
Copyright (c) 2017 The Tokio Authors
|
| 3 |
+
|
| 4 |
+
Permission is hereby granted, free of charge, to any
|
| 5 |
+
person obtaining a copy of this software and associated
|
| 6 |
+
documentation files (the "Software"), to deal in the
|
| 7 |
+
Software without restriction, including without
|
| 8 |
+
limitation the rights to use, copy, modify, merge,
|
| 9 |
+
publish, distribute, sublicense, and/or sell copies of
|
| 10 |
+
the Software, and to permit persons to whom the Software
|
| 11 |
+
is furnished to do so, subject to the following
|
| 12 |
+
conditions:
|
| 13 |
+
|
| 14 |
+
The above copyright notice and this permission notice
|
| 15 |
+
shall be included in all copies or substantial portions
|
| 16 |
+
of the Software.
|
| 17 |
+
|
| 18 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
| 19 |
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
| 20 |
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
| 22 |
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 23 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 24 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 25 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 26 |
+
DEALINGS IN THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-channel-0.3.31/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# futures-channel
|
| 2 |
+
|
| 3 |
+
Channels for asynchronous communication using futures-rs.
|
| 4 |
+
|
| 5 |
+
## Usage
|
| 6 |
+
|
| 7 |
+
Add this to your `Cargo.toml`:
|
| 8 |
+
|
| 9 |
+
```toml
|
| 10 |
+
[dependencies]
|
| 11 |
+
futures-channel = "0.3"
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
The current `futures-channel` requires Rust 1.56 or later.
|
| 15 |
+
|
| 16 |
+
## License
|
| 17 |
+
|
| 18 |
+
Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
|
| 19 |
+
[MIT license](LICENSE-MIT) at your option.
|
| 20 |
+
|
| 21 |
+
Unless you explicitly state otherwise, any contribution intentionally submitted
|
| 22 |
+
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
|
| 23 |
+
be dual licensed as above, without any additional terms or conditions.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "b625985d852600a3eeb68556811e59e7c9a6a098"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/CHANGELOG.md
ADDED
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
| 5 |
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
| 6 |
+
|
| 7 |
+
## [0.2.17] - 2026-01-12
|
| 8 |
+
### Fixed
|
| 9 |
+
- Use `doc_cfg` instead of `doc_auto_cfg` (partial backport of [#732]) [#768]
|
| 10 |
+
- `BCryptGenRandom` signature [#778]
|
| 11 |
+
|
| 12 |
+
[#732]: https://github.com/rust-random/getrandom/pull/732
|
| 13 |
+
[#768]: https://github.com/rust-random/getrandom/pull/768
|
| 14 |
+
[#778]: https://github.com/rust-random/getrandom/pull/778
|
| 15 |
+
|
| 16 |
+
## [0.2.16] - 2025-04-22
|
| 17 |
+
### Added
|
| 18 |
+
- Cygwin support (backport of [#626]) [#654]
|
| 19 |
+
|
| 20 |
+
[#626]: https://github.com/rust-random/getrandom/pull/626
|
| 21 |
+
[#654]: https://github.com/rust-random/getrandom/pull/654
|
| 22 |
+
|
| 23 |
+
## [0.2.15] - 2024-05-06
|
| 24 |
+
### Added
|
| 25 |
+
- Apple visionOS support [#410]
|
| 26 |
+
|
| 27 |
+
### Changed
|
| 28 |
+
- Use `libc::getrandom` on DragonflyBSD, FreeBSD, illumos, and Solaris [#411] [#416] [#417] [#420]
|
| 29 |
+
- Unify `libc::getentropy`-based implementations [#418]
|
| 30 |
+
|
| 31 |
+
[#410]: https://github.com/rust-random/getrandom/pull/410
|
| 32 |
+
[#411]: https://github.com/rust-random/getrandom/pull/411
|
| 33 |
+
[#416]: https://github.com/rust-random/getrandom/pull/416
|
| 34 |
+
[#417]: https://github.com/rust-random/getrandom/pull/417
|
| 35 |
+
[#418]: https://github.com/rust-random/getrandom/pull/418
|
| 36 |
+
[#420]: https://github.com/rust-random/getrandom/pull/420
|
| 37 |
+
|
| 38 |
+
## [0.2.14] - 2024-04-08
|
| 39 |
+
### Fixed
|
| 40 |
+
- Enable `/dev/urandom` fallback for MUSL-based Linux targets [#408]
|
| 41 |
+
|
| 42 |
+
[#408]: https://github.com/rust-random/getrandom/pull/408
|
| 43 |
+
|
| 44 |
+
## [0.2.13] - 2024-04-06
|
| 45 |
+
### Added
|
| 46 |
+
- `linux_disable_fallback` crate feature to disable `/dev/urandom`-based fallback on Linux and
|
| 47 |
+
Android targets. Enabling this feature bumps minimum supported Linux kernel version to 3.17 and
|
| 48 |
+
Android API level to 23 (Marshmallow). [#396]
|
| 49 |
+
|
| 50 |
+
### Changed
|
| 51 |
+
- Disable `/dev/urandom` fallback for Linux targets outside of the following `target_arch`es:
|
| 52 |
+
`aarch64`, `arm`, `powerpc`, `powerpc64`, `s390x`, `x86`, `x86_64` [#396]
|
| 53 |
+
- Do not catch `EPERM` error code on Android while checking availability of
|
| 54 |
+
the `getrandom` syscall [#396]
|
| 55 |
+
|
| 56 |
+
[#396]: https://github.com/rust-random/getrandom/pull/396
|
| 57 |
+
|
| 58 |
+
## [0.2.12] - 2024-01-09
|
| 59 |
+
### Fixed
|
| 60 |
+
- Custom backend for targets without atomics [#385]
|
| 61 |
+
|
| 62 |
+
### Changed
|
| 63 |
+
- Improve robustness of the Hermit backend and `sys_fill_exact` [#386]
|
| 64 |
+
- Raise minimum supported Apple OS versions to macOS 10.12 and iOS 10 [#388]
|
| 65 |
+
|
| 66 |
+
### Added
|
| 67 |
+
- Document platform support policy [#387]
|
| 68 |
+
|
| 69 |
+
[#385]: https://github.com/rust-random/getrandom/pull/385
|
| 70 |
+
[#386]: https://github.com/rust-random/getrandom/pull/386
|
| 71 |
+
[#387]: https://github.com/rust-random/getrandom/pull/387
|
| 72 |
+
[#388]: https://github.com/rust-random/getrandom/pull/388
|
| 73 |
+
|
| 74 |
+
## [0.2.11] - 2023-11-08
|
| 75 |
+
### Added
|
| 76 |
+
- GNU/Hurd support [#370]
|
| 77 |
+
|
| 78 |
+
### Changed
|
| 79 |
+
- Renamed `__getrandom_internal` to `__GETRANDOM_INTERNAL` [#369]
|
| 80 |
+
- Updated link to Hermit docs [#374]
|
| 81 |
+
|
| 82 |
+
[#369]: https://github.com/rust-random/getrandom/pull/369
|
| 83 |
+
[#370]: https://github.com/rust-random/getrandom/pull/370
|
| 84 |
+
[#374]: https://github.com/rust-random/getrandom/pull/374
|
| 85 |
+
|
| 86 |
+
## [0.2.10] - 2023-06-06
|
| 87 |
+
### Added
|
| 88 |
+
- Support for PS Vita (`armv7-sony-vita-newlibeabihf`) [#359]
|
| 89 |
+
|
| 90 |
+
### Changed
|
| 91 |
+
- Use getentropy from libc on Emscripten targets [#362]
|
| 92 |
+
|
| 93 |
+
[#359]: https://github.com/rust-random/getrandom/pull/359
|
| 94 |
+
[#362]: https://github.com/rust-random/getrandom/pull/362
|
| 95 |
+
|
| 96 |
+
## [0.2.9] - 2023-04-06
|
| 97 |
+
### Added
|
| 98 |
+
- AIX support [#282]
|
| 99 |
+
- `getrandom_uninit` function [#291]
|
| 100 |
+
- `wasm64-unknown-unknown` support [#303]
|
| 101 |
+
- tvOS and watchOS support [#317]
|
| 102 |
+
- QNX/nto support [#325]
|
| 103 |
+
- Support for `getrandom` syscall on NetBSD ≥ 10.0 [#331]
|
| 104 |
+
- `RtlGenRandom` fallback for non-UWP Windows [#337]
|
| 105 |
+
|
| 106 |
+
### Breaking Changes
|
| 107 |
+
- Update MSRV to 1.36 [#291]
|
| 108 |
+
|
| 109 |
+
### Fixed
|
| 110 |
+
- Solaris/OpenBSD/Dragonfly build [#301]
|
| 111 |
+
|
| 112 |
+
### Changed
|
| 113 |
+
- Update MSRV to 1.36 [#291]
|
| 114 |
+
- Use getentropy on Emscripten [#307]
|
| 115 |
+
- Solaris: consistantly use `/dev/random` source [#310]
|
| 116 |
+
- Move 3ds selection above rdrand/js/custom fallback [#312]
|
| 117 |
+
- Remove buffer zeroing from Node.js implementation [#315]
|
| 118 |
+
- Use `open` instead of `open64` [#326]
|
| 119 |
+
- Remove #cfg from bsd_arandom.rs [#332]
|
| 120 |
+
- Hermit: use `sys_read_entropy` syscall [#333]
|
| 121 |
+
- Eliminate potential panic in sys_fill_exact [#334]
|
| 122 |
+
- rdrand: Remove checking for 0 and !0 and instead check CPU family and do a self-test [#335]
|
| 123 |
+
- Move `__getrandom_custom` definition into a const block [#344]
|
| 124 |
+
- Switch the custom backend to Rust ABI [#347]
|
| 125 |
+
|
| 126 |
+
[#282]: https://github.com/rust-random/getrandom/pull/282
|
| 127 |
+
[#291]: https://github.com/rust-random/getrandom/pull/291
|
| 128 |
+
[#301]: https://github.com/rust-random/getrandom/pull/301
|
| 129 |
+
[#303]: https://github.com/rust-random/getrandom/pull/303
|
| 130 |
+
[#307]: https://github.com/rust-random/getrandom/pull/307
|
| 131 |
+
[#310]: https://github.com/rust-random/getrandom/pull/310
|
| 132 |
+
[#312]: https://github.com/rust-random/getrandom/pull/312
|
| 133 |
+
[#315]: https://github.com/rust-random/getrandom/pull/315
|
| 134 |
+
[#317]: https://github.com/rust-random/getrandom/pull/317
|
| 135 |
+
[#325]: https://github.com/rust-random/getrandom/pull/325
|
| 136 |
+
[#326]: https://github.com/rust-random/getrandom/pull/326
|
| 137 |
+
[#331]: https://github.com/rust-random/getrandom/pull/331
|
| 138 |
+
[#332]: https://github.com/rust-random/getrandom/pull/332
|
| 139 |
+
[#333]: https://github.com/rust-random/getrandom/pull/333
|
| 140 |
+
[#334]: https://github.com/rust-random/getrandom/pull/334
|
| 141 |
+
[#335]: https://github.com/rust-random/getrandom/pull/335
|
| 142 |
+
[#337]: https://github.com/rust-random/getrandom/pull/337
|
| 143 |
+
[#344]: https://github.com/rust-random/getrandom/pull/344
|
| 144 |
+
[#347]: https://github.com/rust-random/getrandom/pull/347
|
| 145 |
+
|
| 146 |
+
## [0.2.8] - 2022-10-20
|
| 147 |
+
### Changed
|
| 148 |
+
- The [Web Cryptography API] will now be preferred on `wasm32-unknown-unknown`
|
| 149 |
+
when using the `"js"` feature, even on Node.js [#284] [#295]
|
| 150 |
+
|
| 151 |
+
### Added
|
| 152 |
+
- Added benchmarks to track buffer initialization cost [#272]
|
| 153 |
+
|
| 154 |
+
### Fixed
|
| 155 |
+
- Use `$crate` in `register_custom_getrandom!` [#270]
|
| 156 |
+
|
| 157 |
+
### Documentation
|
| 158 |
+
- Add information about enabling `"js"` feature [#280]
|
| 159 |
+
- Fix link to `wasm-bindgen` [#278]
|
| 160 |
+
- Document the varied implementations for underlying randomness sources [#276]
|
| 161 |
+
|
| 162 |
+
[Web Cryptography API]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API
|
| 163 |
+
[#284]: https://github.com/rust-random/getrandom/pull/284
|
| 164 |
+
[#295]: https://github.com/rust-random/getrandom/pull/295
|
| 165 |
+
[#272]: https://github.com/rust-random/getrandom/pull/272
|
| 166 |
+
[#270]: https://github.com/rust-random/getrandom/pull/270
|
| 167 |
+
[#280]: https://github.com/rust-random/getrandom/pull/280
|
| 168 |
+
[#278]: https://github.com/rust-random/getrandom/pull/278
|
| 169 |
+
[#276]: https://github.com/rust-random/getrandom/pull/276
|
| 170 |
+
|
| 171 |
+
## [0.2.7] - 2022-06-14
|
| 172 |
+
### Changed
|
| 173 |
+
- Update `wasi` dependency to `0.11` [#253]
|
| 174 |
+
|
| 175 |
+
### Fixed
|
| 176 |
+
- Use `AtomicPtr` instead of `AtomicUsize` for Strict Provenance compatibility. [#263]
|
| 177 |
+
|
| 178 |
+
### Documentation
|
| 179 |
+
- Add comments explaining use of fallback mechanisms [#257] [#260]
|
| 180 |
+
|
| 181 |
+
[#263]: https://github.com/rust-random/getrandom/pull/263
|
| 182 |
+
[#260]: https://github.com/rust-random/getrandom/pull/260
|
| 183 |
+
[#253]: https://github.com/rust-random/getrandom/pull/253
|
| 184 |
+
[#257]: https://github.com/rust-random/getrandom/pull/257
|
| 185 |
+
|
| 186 |
+
## [0.2.6] - 2022-03-28
|
| 187 |
+
### Added
|
| 188 |
+
- Nintendo 3DS (`armv6k-nintendo-3ds`) support [#248]
|
| 189 |
+
|
| 190 |
+
### Changed
|
| 191 |
+
- Retry `open` when interrupted [#252]
|
| 192 |
+
|
| 193 |
+
[#248]: https://github.com/rust-random/getrandom/pull/248
|
| 194 |
+
[#252]: https://github.com/rust-random/getrandom/pull/252
|
| 195 |
+
|
| 196 |
+
## [0.2.5] - 2022-02-22
|
| 197 |
+
### Added
|
| 198 |
+
- ESP-IDF targets (`*‑espidf`) support [#245]
|
| 199 |
+
|
| 200 |
+
### Fixed
|
| 201 |
+
- Webpack warning caused by dynamic require [#234]
|
| 202 |
+
- Error checking on iOS for `SecRandomCopyBytes` [#244]
|
| 203 |
+
|
| 204 |
+
[#234]: https://github.com/rust-random/getrandom/pull/234
|
| 205 |
+
[#244]: https://github.com/rust-random/getrandom/pull/244
|
| 206 |
+
[#245]: https://github.com/rust-random/getrandom/pull/245
|
| 207 |
+
|
| 208 |
+
## [0.2.4] - 2021-12-13
|
| 209 |
+
### Changed
|
| 210 |
+
- Use explicit imports in the `js` backend [#220]
|
| 211 |
+
- Use `/dev/urandom` on Redox instead of `rand:` [#222]
|
| 212 |
+
- Use `NonZeroU32::new_unchecked` to convert wasi error [#233]
|
| 213 |
+
|
| 214 |
+
### Added
|
| 215 |
+
- SOLID targets (`*-kmc-solid_*`) support [#235]
|
| 216 |
+
- Limited Hermit (`x86_64-unknown-hermit`) support [#236]
|
| 217 |
+
|
| 218 |
+
[#220]: https://github.com/rust-random/getrandom/pull/220
|
| 219 |
+
[#222]: https://github.com/rust-random/getrandom/pull/222
|
| 220 |
+
[#233]: https://github.com/rust-random/getrandom/pull/233
|
| 221 |
+
[#235]: https://github.com/rust-random/getrandom/pull/235
|
| 222 |
+
[#236]: https://github.com/rust-random/getrandom/pull/236
|
| 223 |
+
|
| 224 |
+
## [0.2.3] - 2021-04-10
|
| 225 |
+
### Changed
|
| 226 |
+
- Replace build.rs with link attributes. [#205]
|
| 227 |
+
- Add support for getrandom syscall on DragonFly BSD. [#210]
|
| 228 |
+
- Improve Node.js detection. [#215]
|
| 229 |
+
|
| 230 |
+
[#205]: https://github.com/rust-random/getrandom/pull/205
|
| 231 |
+
[#210]: https://github.com/rust-random/getrandom/pull/210
|
| 232 |
+
[#215]: https://github.com/rust-random/getrandom/pull/215
|
| 233 |
+
|
| 234 |
+
## [0.2.2] - 2021-01-19
|
| 235 |
+
### Changed
|
| 236 |
+
- Forward `rustc-dep-of-std` to dependencies. [#198]
|
| 237 |
+
- Highlight feature-dependent functionality in documentation using the `doc_cfg` feature. [#200]
|
| 238 |
+
|
| 239 |
+
[#198]: https://github.com/rust-random/getrandom/pull/198
|
| 240 |
+
[#200]: https://github.com/rust-random/getrandom/pull/200
|
| 241 |
+
|
| 242 |
+
## [0.2.1] - 2021-01-03
|
| 243 |
+
### Changed
|
| 244 |
+
- Update `cfg-if` to v1.0. [#166]
|
| 245 |
+
- Update `wasi` to v0.10. [#167]
|
| 246 |
+
|
| 247 |
+
### Fixed
|
| 248 |
+
- Multithreaded WASM support. [#165]
|
| 249 |
+
|
| 250 |
+
### Removed
|
| 251 |
+
- Windows XP support. [#177]
|
| 252 |
+
- Direct `stdweb` support. [#178]
|
| 253 |
+
- CloudABI support. [#184]
|
| 254 |
+
|
| 255 |
+
[#165]: https://github.com/rust-random/getrandom/pull/165
|
| 256 |
+
[#166]: https://github.com/rust-random/getrandom/pull/166
|
| 257 |
+
[#167]: https://github.com/rust-random/getrandom/pull/167
|
| 258 |
+
[#177]: https://github.com/rust-random/getrandom/pull/177
|
| 259 |
+
[#178]: https://github.com/rust-random/getrandom/pull/178
|
| 260 |
+
[#184]: https://github.com/rust-random/getrandom/pull/184
|
| 261 |
+
|
| 262 |
+
## [0.2.0] - 2020-09-10
|
| 263 |
+
### Features for using getrandom on unsupported targets
|
| 264 |
+
|
| 265 |
+
The following (off by default) Cargo features have been added:
|
| 266 |
+
- `"rdrand"` - use the RDRAND instruction on `no_std` `x86`/`x86_64` targets [#133]
|
| 267 |
+
- `"js"` - use JavaScript calls on `wasm32-unknown-unknown` [#149]
|
| 268 |
+
- Replaces the `stdweb` and `wasm-bindgen` features (which are removed)
|
| 269 |
+
- `"custom"` - allows a user to specify a custom implementation [#109]
|
| 270 |
+
|
| 271 |
+
### Breaking Changes
|
| 272 |
+
- Unsupported targets no longer compile [#107]
|
| 273 |
+
- Change/Add `Error` constants [#120]
|
| 274 |
+
- Only impl `std` traits when the `"std"` Cargo feature is specified [#106]
|
| 275 |
+
- Remove official support for Hermit, L4Re, and UEFI [#133]
|
| 276 |
+
- Remove optional `"log"` dependency [#131]
|
| 277 |
+
- Update minimum supported Linux kernel to 2.6.32 [#153]
|
| 278 |
+
- Update MSRV to 1.34 [#159]
|
| 279 |
+
|
| 280 |
+
[#106]: https://github.com/rust-random/getrandom/pull/106
|
| 281 |
+
[#107]: https://github.com/rust-random/getrandom/pull/107
|
| 282 |
+
[#109]: https://github.com/rust-random/getrandom/pull/109
|
| 283 |
+
[#120]: https://github.com/rust-random/getrandom/pull/120
|
| 284 |
+
[#131]: https://github.com/rust-random/getrandom/pull/131
|
| 285 |
+
[#133]: https://github.com/rust-random/getrandom/pull/133
|
| 286 |
+
[#149]: https://github.com/rust-random/getrandom/pull/149
|
| 287 |
+
[#153]: https://github.com/rust-random/getrandom/pull/153
|
| 288 |
+
[#159]: https://github.com/rust-random/getrandom/pull/159
|
| 289 |
+
|
| 290 |
+
## [0.1.16] - 2020-12-31
|
| 291 |
+
### Changed
|
| 292 |
+
- Update `cfg-if` to v1.0. [#173]
|
| 293 |
+
- Implement `std::error::Error` for the `Error` type on additional targets. [#169]
|
| 294 |
+
|
| 295 |
+
### Fixed
|
| 296 |
+
- Multithreaded WASM support. [#171]
|
| 297 |
+
|
| 298 |
+
[#173]: https://github.com/rust-random/getrandom/pull/173
|
| 299 |
+
[#171]: https://github.com/rust-random/getrandom/pull/171
|
| 300 |
+
[#169]: https://github.com/rust-random/getrandom/pull/169
|
| 301 |
+
|
| 302 |
+
## [0.1.15] - 2020-09-10
|
| 303 |
+
### Changed
|
| 304 |
+
- Added support for Internet Explorer 11 [#139]
|
| 305 |
+
- Fix Webpack require warning with `wasm-bindgen` [#137]
|
| 306 |
+
|
| 307 |
+
[#137]: https://github.com/rust-random/getrandom/pull/137
|
| 308 |
+
[#139]: https://github.com/rust-random/getrandom/pull/139
|
| 309 |
+
|
| 310 |
+
## [0.1.14] - 2020-01-07
|
| 311 |
+
### Changed
|
| 312 |
+
- Remove use of spin-locks in the `use_file` module. [#125]
|
| 313 |
+
- Update `wasi` to v0.9. [#126]
|
| 314 |
+
- Do not read errno value on DragonFlyBSD to fix compilation failure. [#129]
|
| 315 |
+
|
| 316 |
+
[#125]: https://github.com/rust-random/getrandom/pull/125
|
| 317 |
+
[#126]: https://github.com/rust-random/getrandom/pull/126
|
| 318 |
+
[#129]: https://github.com/rust-random/getrandom/pull/129
|
| 319 |
+
|
| 320 |
+
## [0.1.13] - 2019-08-25
|
| 321 |
+
### Added
|
| 322 |
+
- VxWorks targets support. [#86]
|
| 323 |
+
|
| 324 |
+
### Changed
|
| 325 |
+
- If zero-length slice is passed to the `getrandom` function, always return
|
| 326 |
+
`Ok(())` immediately without doing any calls to the underlying operating
|
| 327 |
+
system. [#104]
|
| 328 |
+
- Use the `kern.arandom` sysctl on NetBSD. [#115]
|
| 329 |
+
|
| 330 |
+
### Fixed
|
| 331 |
+
- Bump `cfg-if` minimum version from 0.1.0 to 0.1.2. [#112]
|
| 332 |
+
- Typos and bad doc links. [#117]
|
| 333 |
+
|
| 334 |
+
[#86]: https://github.com/rust-random/getrandom/pull/86
|
| 335 |
+
[#104]: https://github.com/rust-random/getrandom/pull/104
|
| 336 |
+
[#112]: https://github.com/rust-random/getrandom/pull/112
|
| 337 |
+
[#115]: https://github.com/rust-random/getrandom/pull/115
|
| 338 |
+
[#117]: https://github.com/rust-random/getrandom/pull/117
|
| 339 |
+
|
| 340 |
+
## [0.1.12] - 2019-08-18
|
| 341 |
+
### Changed
|
| 342 |
+
- Update wasi dependency from v0.5 to v0.7. [#100]
|
| 343 |
+
|
| 344 |
+
[#100]: https://github.com/rust-random/getrandom/pull/100
|
| 345 |
+
|
| 346 |
+
## [0.1.11] - 2019-08-25
|
| 347 |
+
### Fixed
|
| 348 |
+
- Implement `std`-dependent traits for selected targets even if `std`
|
| 349 |
+
feature is disabled. (backward compatibility with v0.1.8) [#96]
|
| 350 |
+
|
| 351 |
+
[#96]: https://github.com/rust-random/getrandom/pull/96
|
| 352 |
+
|
| 353 |
+
## [0.1.10] - 2019-08-18 [YANKED]
|
| 354 |
+
### Changed
|
| 355 |
+
- Use the dummy implementation on `wasm32-unknown-unknown` even with the
|
| 356 |
+
disabled `dummy` feature. [#90]
|
| 357 |
+
|
| 358 |
+
### Fixed
|
| 359 |
+
- Fix CSP error for `wasm-bindgen`. [#92]
|
| 360 |
+
|
| 361 |
+
[#90]: https://github.com/rust-random/getrandom/pull/90
|
| 362 |
+
[#92]: https://github.com/rust-random/getrandom/pull/92
|
| 363 |
+
|
| 364 |
+
## [0.1.9] - 2019-08-14 [YANKED]
|
| 365 |
+
### Changed
|
| 366 |
+
- Remove `std` dependency for opening and reading files. [#58]
|
| 367 |
+
- Use `wasi` instead of `libc` on WASI target. [#64]
|
| 368 |
+
- By default emit a compile-time error when built for an unsupported target.
|
| 369 |
+
This behaviour can be disabled by using the `dummy` feature. [#71]
|
| 370 |
+
|
| 371 |
+
### Added
|
| 372 |
+
- Add support for UWP targets. [#69]
|
| 373 |
+
- Add unstable `rustc-dep-of-std` feature. [#78]
|
| 374 |
+
|
| 375 |
+
[#58]: https://github.com/rust-random/getrandom/pull/58
|
| 376 |
+
[#64]: https://github.com/rust-random/getrandom/pull/64
|
| 377 |
+
[#69]: https://github.com/rust-random/getrandom/pull/69
|
| 378 |
+
[#71]: https://github.com/rust-random/getrandom/pull/71
|
| 379 |
+
[#78]: https://github.com/rust-random/getrandom/pull/78
|
| 380 |
+
|
| 381 |
+
## [0.1.8] - 2019-07-29
|
| 382 |
+
### Changed
|
| 383 |
+
- Explicitly specify types to arguments of 'libc::syscall'. [#74]
|
| 384 |
+
|
| 385 |
+
[#74]: https://github.com/rust-random/getrandom/pull/74
|
| 386 |
+
|
| 387 |
+
## [0.1.7] - 2019-07-29
|
| 388 |
+
### Added
|
| 389 |
+
- Support for hermit and l4re. [#61]
|
| 390 |
+
- `Error::raw_os_error` method, `Error::INTERNAL_START` and
|
| 391 |
+
`Error::CUSTOM_START` constants. Use `libc` for retrieving OS error descriptions. [#54]
|
| 392 |
+
|
| 393 |
+
### Changed
|
| 394 |
+
- Remove `lazy_static` dependency and use custom structures for lock-free
|
| 395 |
+
initialization. [#51] [#52]
|
| 396 |
+
- Try `getrandom()` first on FreeBSD. [#57]
|
| 397 |
+
|
| 398 |
+
### Removed
|
| 399 |
+
- Bitrig support. [#56]
|
| 400 |
+
|
| 401 |
+
### Deprecated
|
| 402 |
+
- `Error::UNKNOWN`, `Error::UNAVAILABLE`. [#54]
|
| 403 |
+
|
| 404 |
+
[#51]: https://github.com/rust-random/getrandom/pull/51
|
| 405 |
+
[#52]: https://github.com/rust-random/getrandom/pull/52
|
| 406 |
+
[#54]: https://github.com/rust-random/getrandom/pull/54
|
| 407 |
+
[#56]: https://github.com/rust-random/getrandom/pull/56
|
| 408 |
+
[#57]: https://github.com/rust-random/getrandom/pull/57
|
| 409 |
+
[#61]: https://github.com/rust-random/getrandom/pull/61
|
| 410 |
+
|
| 411 |
+
## [0.1.6] - 2019-06-30
|
| 412 |
+
### Changed
|
| 413 |
+
- Minor change of RDRAND AMD bug handling. [#48]
|
| 414 |
+
|
| 415 |
+
[#48]: https://github.com/rust-random/getrandom/pull/48
|
| 416 |
+
|
| 417 |
+
## [0.1.5] - 2019-06-29
|
| 418 |
+
### Fixed
|
| 419 |
+
- Use shared `File` instead of shared file descriptor. [#44]
|
| 420 |
+
- Workaround for RDRAND hardware bug present on some AMD CPUs. [#43]
|
| 421 |
+
|
| 422 |
+
### Changed
|
| 423 |
+
- Try `getentropy` and then fallback to `/dev/random` on macOS. [#38]
|
| 424 |
+
|
| 425 |
+
[#38]: https://github.com/rust-random/getrandom/issues/38
|
| 426 |
+
[#43]: https://github.com/rust-random/getrandom/pull/43
|
| 427 |
+
[#44]: https://github.com/rust-random/getrandom/issues/44
|
| 428 |
+
|
| 429 |
+
## [0.1.4] - 2019-06-28
|
| 430 |
+
### Added
|
| 431 |
+
- Add support for `x86_64-unknown-uefi` target by using RDRAND with CPUID
|
| 432 |
+
feature detection. [#30]
|
| 433 |
+
|
| 434 |
+
### Fixed
|
| 435 |
+
- Fix long buffer issues on Windows and Linux. [#31] [#32]
|
| 436 |
+
- Check `EPERM` in addition to `ENOSYS` on Linux. [#37]
|
| 437 |
+
|
| 438 |
+
### Changed
|
| 439 |
+
- Improve efficiency by sharing file descriptor across threads. [#13]
|
| 440 |
+
- Remove `cloudabi`, `winapi`, and `fuchsia-cprng` dependencies. [#40]
|
| 441 |
+
- Improve RDRAND implementation. [#24]
|
| 442 |
+
- Don't block during syscall detection on Linux. [#26]
|
| 443 |
+
- Increase consistency with libc implementation on FreeBSD. [#36]
|
| 444 |
+
- Apply `rustfmt`. [#39]
|
| 445 |
+
|
| 446 |
+
[#30]: https://github.com/rust-random/getrandom/pull/30
|
| 447 |
+
[#13]: https://github.com/rust-random/getrandom/issues/13
|
| 448 |
+
[#40]: https://github.com/rust-random/getrandom/pull/40
|
| 449 |
+
[#26]: https://github.com/rust-random/getrandom/pull/26
|
| 450 |
+
[#24]: https://github.com/rust-random/getrandom/pull/24
|
| 451 |
+
[#39]: https://github.com/rust-random/getrandom/pull/39
|
| 452 |
+
[#36]: https://github.com/rust-random/getrandom/pull/36
|
| 453 |
+
[#31]: https://github.com/rust-random/getrandom/issues/31
|
| 454 |
+
[#32]: https://github.com/rust-random/getrandom/issues/32
|
| 455 |
+
[#37]: https://github.com/rust-random/getrandom/issues/37
|
| 456 |
+
|
| 457 |
+
## [0.1.3] - 2019-05-15
|
| 458 |
+
- Update for `wasm32-unknown-wasi` being renamed to `wasm32-wasi`, and for
|
| 459 |
+
WASI being categorized as an OS.
|
| 460 |
+
|
| 461 |
+
## [0.1.2] - 2019-04-06
|
| 462 |
+
- Add support for `wasm32-unknown-wasi` target.
|
| 463 |
+
|
| 464 |
+
## [0.1.1] - 2019-04-05
|
| 465 |
+
- Enable std functionality for CloudABI by default.
|
| 466 |
+
|
| 467 |
+
## [0.1.0] - 2019-03-23
|
| 468 |
+
Publish initial implementation.
|
| 469 |
+
|
| 470 |
+
## [0.0.0] - 2019-01-19
|
| 471 |
+
Publish an empty template library.
|
| 472 |
+
|
| 473 |
+
[0.2.17]: https://github.com/rust-random/getrandom/compare/v0.2.16...v0.2.17
|
| 474 |
+
[0.2.16]: https://github.com/rust-random/getrandom/compare/v0.2.15...v0.2.16
|
| 475 |
+
[0.2.15]: https://github.com/rust-random/getrandom/compare/v0.2.14...v0.2.15
|
| 476 |
+
[0.2.14]: https://github.com/rust-random/getrandom/compare/v0.2.13...v0.2.14
|
| 477 |
+
[0.2.13]: https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.13
|
| 478 |
+
[0.2.12]: https://github.com/rust-random/getrandom/compare/v0.2.11...v0.2.12
|
| 479 |
+
[0.2.11]: https://github.com/rust-random/getrandom/compare/v0.2.10...v0.2.11
|
| 480 |
+
[0.2.10]: https://github.com/rust-random/getrandom/compare/v0.2.9...v0.2.10
|
| 481 |
+
[0.2.9]: https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9
|
| 482 |
+
[0.2.8]: https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8
|
| 483 |
+
[0.2.7]: https://github.com/rust-random/getrandom/compare/v0.2.6...v0.2.7
|
| 484 |
+
[0.2.6]: https://github.com/rust-random/getrandom/compare/v0.2.5...v0.2.6
|
| 485 |
+
[0.2.5]: https://github.com/rust-random/getrandom/compare/v0.2.4...v0.2.5
|
| 486 |
+
[0.2.4]: https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4
|
| 487 |
+
[0.2.3]: https://github.com/rust-random/getrandom/compare/v0.2.2...v0.2.3
|
| 488 |
+
[0.2.2]: https://github.com/rust-random/getrandom/compare/v0.2.1...v0.2.2
|
| 489 |
+
[0.2.1]: https://github.com/rust-random/getrandom/compare/v0.2.0...v0.2.1
|
| 490 |
+
[0.2.0]: https://github.com/rust-random/getrandom/compare/v0.1.15...v0.2.0
|
| 491 |
+
[0.1.16]: https://github.com/rust-random/getrandom/compare/v0.1.15...v0.1.16
|
| 492 |
+
[0.1.15]: https://github.com/rust-random/getrandom/compare/v0.1.14...v0.1.15
|
| 493 |
+
[0.1.14]: https://github.com/rust-random/getrandom/compare/v0.1.13...v0.1.14
|
| 494 |
+
[0.1.13]: https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.13
|
| 495 |
+
[0.1.12]: https://github.com/rust-random/getrandom/compare/v0.1.11...v0.1.12
|
| 496 |
+
[0.1.11]: https://github.com/rust-random/getrandom/compare/v0.1.10...v0.1.11
|
| 497 |
+
[0.1.10]: https://github.com/rust-random/getrandom/compare/v0.1.9...v0.1.10
|
| 498 |
+
[0.1.9]: https://github.com/rust-random/getrandom/compare/v0.1.8...v0.1.9
|
| 499 |
+
[0.1.8]: https://github.com/rust-random/getrandom/compare/v0.1.7...v0.1.8
|
| 500 |
+
[0.1.7]: https://github.com/rust-random/getrandom/compare/v0.1.6...v0.1.7
|
| 501 |
+
[0.1.6]: https://github.com/rust-random/getrandom/compare/v0.1.5...v0.1.6
|
| 502 |
+
[0.1.5]: https://github.com/rust-random/getrandom/compare/v0.1.4...v0.1.5
|
| 503 |
+
[0.1.4]: https://github.com/rust-random/getrandom/compare/v0.1.3...v0.1.4
|
| 504 |
+
[0.1.3]: https://github.com/rust-random/getrandom/compare/v0.1.2...v0.1.3
|
| 505 |
+
[0.1.2]: https://github.com/rust-random/getrandom/compare/v0.1.1...v0.1.2
|
| 506 |
+
[0.1.1]: https://github.com/rust-random/getrandom/compare/v0.1.0...v0.1.1
|
| 507 |
+
[0.1.0]: https://github.com/rust-random/getrandom/compare/v0.0.0...v0.1.0
|
| 508 |
+
[0.0.0]: https://github.com/rust-random/getrandom/releases/tag/v0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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# This file is automatically @generated by Cargo.
|
| 2 |
+
# It is not intended for manual editing.
|
| 3 |
+
version = 4
|
| 4 |
+
|
| 5 |
+
[[package]]
|
| 6 |
+
name = "async-trait"
|
| 7 |
+
version = "0.1.89"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"proc-macro2",
|
| 12 |
+
"quote",
|
| 13 |
+
"syn",
|
| 14 |
+
]
|
| 15 |
+
|
| 16 |
+
[[package]]
|
| 17 |
+
name = "autocfg"
|
| 18 |
+
version = "1.5.0"
|
| 19 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 20 |
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
| 21 |
+
|
| 22 |
+
[[package]]
|
| 23 |
+
name = "bumpalo"
|
| 24 |
+
version = "3.19.1"
|
| 25 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 26 |
+
checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510"
|
| 27 |
+
|
| 28 |
+
[[package]]
|
| 29 |
+
name = "cast"
|
| 30 |
+
version = "0.3.0"
|
| 31 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 32 |
+
checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
| 33 |
+
|
| 34 |
+
[[package]]
|
| 35 |
+
name = "cc"
|
| 36 |
+
version = "1.2.52"
|
| 37 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 38 |
+
checksum = "cd4932aefd12402b36c60956a4fe0035421f544799057659ff86f923657aada3"
|
| 39 |
+
dependencies = [
|
| 40 |
+
"find-msvc-tools",
|
| 41 |
+
"shlex",
|
| 42 |
+
]
|
| 43 |
+
|
| 44 |
+
[[package]]
|
| 45 |
+
name = "cfg-if"
|
| 46 |
+
version = "1.0.4"
|
| 47 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 48 |
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
| 49 |
+
|
| 50 |
+
[[package]]
|
| 51 |
+
name = "compiler_builtins"
|
| 52 |
+
version = "0.1.160"
|
| 53 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 54 |
+
checksum = "6376049cfa92c0aa8b9ac95fae22184b981c658208d4ed8a1dc553cd83612895"
|
| 55 |
+
|
| 56 |
+
[[package]]
|
| 57 |
+
name = "find-msvc-tools"
|
| 58 |
+
version = "0.1.7"
|
| 59 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 60 |
+
checksum = "f449e6c6c08c865631d4890cfacf252b3d396c9bcc83adb6623cdb02a8336c41"
|
| 61 |
+
|
| 62 |
+
[[package]]
|
| 63 |
+
name = "getrandom"
|
| 64 |
+
version = "0.2.17"
|
| 65 |
+
dependencies = [
|
| 66 |
+
"cfg-if",
|
| 67 |
+
"compiler_builtins",
|
| 68 |
+
"js-sys",
|
| 69 |
+
"libc",
|
| 70 |
+
"rustc-std-workspace-core",
|
| 71 |
+
"wasi",
|
| 72 |
+
"wasm-bindgen",
|
| 73 |
+
"wasm-bindgen-test",
|
| 74 |
+
]
|
| 75 |
+
|
| 76 |
+
[[package]]
|
| 77 |
+
name = "itoa"
|
| 78 |
+
version = "1.0.17"
|
| 79 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 80 |
+
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
|
| 81 |
+
|
| 82 |
+
[[package]]
|
| 83 |
+
name = "js-sys"
|
| 84 |
+
version = "0.3.83"
|
| 85 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 86 |
+
checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8"
|
| 87 |
+
dependencies = [
|
| 88 |
+
"once_cell",
|
| 89 |
+
"wasm-bindgen",
|
| 90 |
+
]
|
| 91 |
+
|
| 92 |
+
[[package]]
|
| 93 |
+
name = "libc"
|
| 94 |
+
version = "0.2.180"
|
| 95 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 96 |
+
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
|
| 97 |
+
dependencies = [
|
| 98 |
+
"rustc-std-workspace-core",
|
| 99 |
+
]
|
| 100 |
+
|
| 101 |
+
[[package]]
|
| 102 |
+
name = "libm"
|
| 103 |
+
version = "0.2.15"
|
| 104 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 105 |
+
checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
|
| 106 |
+
|
| 107 |
+
[[package]]
|
| 108 |
+
name = "memchr"
|
| 109 |
+
version = "2.7.6"
|
| 110 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 111 |
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
| 112 |
+
|
| 113 |
+
[[package]]
|
| 114 |
+
name = "minicov"
|
| 115 |
+
version = "0.3.8"
|
| 116 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 117 |
+
checksum = "4869b6a491569605d66d3952bcdf03df789e5b536e5f0cf7758a7f08a55ae24d"
|
| 118 |
+
dependencies = [
|
| 119 |
+
"cc",
|
| 120 |
+
"walkdir",
|
| 121 |
+
]
|
| 122 |
+
|
| 123 |
+
[[package]]
|
| 124 |
+
name = "nu-ansi-term"
|
| 125 |
+
version = "0.50.3"
|
| 126 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 127 |
+
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
|
| 128 |
+
dependencies = [
|
| 129 |
+
"windows-sys",
|
| 130 |
+
]
|
| 131 |
+
|
| 132 |
+
[[package]]
|
| 133 |
+
name = "num-traits"
|
| 134 |
+
version = "0.2.19"
|
| 135 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 136 |
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
| 137 |
+
dependencies = [
|
| 138 |
+
"autocfg",
|
| 139 |
+
"libm",
|
| 140 |
+
]
|
| 141 |
+
|
| 142 |
+
[[package]]
|
| 143 |
+
name = "once_cell"
|
| 144 |
+
version = "1.21.3"
|
| 145 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 146 |
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
| 147 |
+
|
| 148 |
+
[[package]]
|
| 149 |
+
name = "oorandom"
|
| 150 |
+
version = "11.1.5"
|
| 151 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 152 |
+
checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
|
| 153 |
+
|
| 154 |
+
[[package]]
|
| 155 |
+
name = "proc-macro2"
|
| 156 |
+
version = "1.0.105"
|
| 157 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 158 |
+
checksum = "535d180e0ecab6268a3e718bb9fd44db66bbbc256257165fc699dadf70d16fe7"
|
| 159 |
+
dependencies = [
|
| 160 |
+
"unicode-ident",
|
| 161 |
+
]
|
| 162 |
+
|
| 163 |
+
[[package]]
|
| 164 |
+
name = "quote"
|
| 165 |
+
version = "1.0.43"
|
| 166 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 167 |
+
checksum = "dc74d9a594b72ae6656596548f56f667211f8a97b3d4c3d467150794690dc40a"
|
| 168 |
+
dependencies = [
|
| 169 |
+
"proc-macro2",
|
| 170 |
+
]
|
| 171 |
+
|
| 172 |
+
[[package]]
|
| 173 |
+
name = "rustc-std-workspace-alloc"
|
| 174 |
+
version = "1.0.1"
|
| 175 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 176 |
+
checksum = "f9d441c3b2ebf55cebf796bfdc265d67fa09db17b7bb6bd4be75c509e1e8fec3"
|
| 177 |
+
|
| 178 |
+
[[package]]
|
| 179 |
+
name = "rustc-std-workspace-core"
|
| 180 |
+
version = "1.0.1"
|
| 181 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 182 |
+
checksum = "aa9c45b374136f52f2d6311062c7146bff20fec063c3f5d46a410bd937746955"
|
| 183 |
+
|
| 184 |
+
[[package]]
|
| 185 |
+
name = "rustversion"
|
| 186 |
+
version = "1.0.22"
|
| 187 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 188 |
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
| 189 |
+
|
| 190 |
+
[[package]]
|
| 191 |
+
name = "same-file"
|
| 192 |
+
version = "1.0.6"
|
| 193 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 194 |
+
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
| 195 |
+
dependencies = [
|
| 196 |
+
"winapi-util",
|
| 197 |
+
]
|
| 198 |
+
|
| 199 |
+
[[package]]
|
| 200 |
+
name = "serde"
|
| 201 |
+
version = "1.0.228"
|
| 202 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 203 |
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
| 204 |
+
dependencies = [
|
| 205 |
+
"serde_core",
|
| 206 |
+
"serde_derive",
|
| 207 |
+
]
|
| 208 |
+
|
| 209 |
+
[[package]]
|
| 210 |
+
name = "serde_core"
|
| 211 |
+
version = "1.0.228"
|
| 212 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 213 |
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
| 214 |
+
dependencies = [
|
| 215 |
+
"serde_derive",
|
| 216 |
+
]
|
| 217 |
+
|
| 218 |
+
[[package]]
|
| 219 |
+
name = "serde_derive"
|
| 220 |
+
version = "1.0.228"
|
| 221 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 222 |
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
| 223 |
+
dependencies = [
|
| 224 |
+
"proc-macro2",
|
| 225 |
+
"quote",
|
| 226 |
+
"syn",
|
| 227 |
+
]
|
| 228 |
+
|
| 229 |
+
[[package]]
|
| 230 |
+
name = "serde_json"
|
| 231 |
+
version = "1.0.149"
|
| 232 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 233 |
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
| 234 |
+
dependencies = [
|
| 235 |
+
"itoa",
|
| 236 |
+
"memchr",
|
| 237 |
+
"serde",
|
| 238 |
+
"serde_core",
|
| 239 |
+
"zmij",
|
| 240 |
+
]
|
| 241 |
+
|
| 242 |
+
[[package]]
|
| 243 |
+
name = "shlex"
|
| 244 |
+
version = "1.3.0"
|
| 245 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 246 |
+
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
| 247 |
+
|
| 248 |
+
[[package]]
|
| 249 |
+
name = "syn"
|
| 250 |
+
version = "2.0.114"
|
| 251 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 252 |
+
checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
|
| 253 |
+
dependencies = [
|
| 254 |
+
"proc-macro2",
|
| 255 |
+
"quote",
|
| 256 |
+
"unicode-ident",
|
| 257 |
+
]
|
| 258 |
+
|
| 259 |
+
[[package]]
|
| 260 |
+
name = "unicode-ident"
|
| 261 |
+
version = "1.0.22"
|
| 262 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 263 |
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
| 264 |
+
|
| 265 |
+
[[package]]
|
| 266 |
+
name = "walkdir"
|
| 267 |
+
version = "2.5.0"
|
| 268 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 269 |
+
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
| 270 |
+
dependencies = [
|
| 271 |
+
"same-file",
|
| 272 |
+
"winapi-util",
|
| 273 |
+
]
|
| 274 |
+
|
| 275 |
+
[[package]]
|
| 276 |
+
name = "wasi"
|
| 277 |
+
version = "0.11.1+wasi-snapshot-preview1"
|
| 278 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 279 |
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
| 280 |
+
dependencies = [
|
| 281 |
+
"rustc-std-workspace-alloc",
|
| 282 |
+
"rustc-std-workspace-core",
|
| 283 |
+
]
|
| 284 |
+
|
| 285 |
+
[[package]]
|
| 286 |
+
name = "wasm-bindgen"
|
| 287 |
+
version = "0.2.106"
|
| 288 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 289 |
+
checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd"
|
| 290 |
+
dependencies = [
|
| 291 |
+
"cfg-if",
|
| 292 |
+
"once_cell",
|
| 293 |
+
"rustversion",
|
| 294 |
+
"wasm-bindgen-macro",
|
| 295 |
+
"wasm-bindgen-shared",
|
| 296 |
+
]
|
| 297 |
+
|
| 298 |
+
[[package]]
|
| 299 |
+
name = "wasm-bindgen-futures"
|
| 300 |
+
version = "0.4.56"
|
| 301 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 302 |
+
checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c"
|
| 303 |
+
dependencies = [
|
| 304 |
+
"cfg-if",
|
| 305 |
+
"js-sys",
|
| 306 |
+
"once_cell",
|
| 307 |
+
"wasm-bindgen",
|
| 308 |
+
"web-sys",
|
| 309 |
+
]
|
| 310 |
+
|
| 311 |
+
[[package]]
|
| 312 |
+
name = "wasm-bindgen-macro"
|
| 313 |
+
version = "0.2.106"
|
| 314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 315 |
+
checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3"
|
| 316 |
+
dependencies = [
|
| 317 |
+
"quote",
|
| 318 |
+
"wasm-bindgen-macro-support",
|
| 319 |
+
]
|
| 320 |
+
|
| 321 |
+
[[package]]
|
| 322 |
+
name = "wasm-bindgen-macro-support"
|
| 323 |
+
version = "0.2.106"
|
| 324 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 325 |
+
checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40"
|
| 326 |
+
dependencies = [
|
| 327 |
+
"bumpalo",
|
| 328 |
+
"proc-macro2",
|
| 329 |
+
"quote",
|
| 330 |
+
"syn",
|
| 331 |
+
"wasm-bindgen-shared",
|
| 332 |
+
]
|
| 333 |
+
|
| 334 |
+
[[package]]
|
| 335 |
+
name = "wasm-bindgen-shared"
|
| 336 |
+
version = "0.2.106"
|
| 337 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 338 |
+
checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4"
|
| 339 |
+
dependencies = [
|
| 340 |
+
"unicode-ident",
|
| 341 |
+
]
|
| 342 |
+
|
| 343 |
+
[[package]]
|
| 344 |
+
name = "wasm-bindgen-test"
|
| 345 |
+
version = "0.3.56"
|
| 346 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 347 |
+
checksum = "25e90e66d265d3a1efc0e72a54809ab90b9c0c515915c67cdf658689d2c22c6c"
|
| 348 |
+
dependencies = [
|
| 349 |
+
"async-trait",
|
| 350 |
+
"cast",
|
| 351 |
+
"js-sys",
|
| 352 |
+
"libm",
|
| 353 |
+
"minicov",
|
| 354 |
+
"nu-ansi-term",
|
| 355 |
+
"num-traits",
|
| 356 |
+
"oorandom",
|
| 357 |
+
"serde",
|
| 358 |
+
"serde_json",
|
| 359 |
+
"wasm-bindgen",
|
| 360 |
+
"wasm-bindgen-futures",
|
| 361 |
+
"wasm-bindgen-test-macro",
|
| 362 |
+
]
|
| 363 |
+
|
| 364 |
+
[[package]]
|
| 365 |
+
name = "wasm-bindgen-test-macro"
|
| 366 |
+
version = "0.3.56"
|
| 367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 368 |
+
checksum = "7150335716dce6028bead2b848e72f47b45e7b9422f64cccdc23bedca89affc1"
|
| 369 |
+
dependencies = [
|
| 370 |
+
"proc-macro2",
|
| 371 |
+
"quote",
|
| 372 |
+
"syn",
|
| 373 |
+
]
|
| 374 |
+
|
| 375 |
+
[[package]]
|
| 376 |
+
name = "web-sys"
|
| 377 |
+
version = "0.3.83"
|
| 378 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 379 |
+
checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac"
|
| 380 |
+
dependencies = [
|
| 381 |
+
"js-sys",
|
| 382 |
+
"wasm-bindgen",
|
| 383 |
+
]
|
| 384 |
+
|
| 385 |
+
[[package]]
|
| 386 |
+
name = "winapi-util"
|
| 387 |
+
version = "0.1.11"
|
| 388 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 389 |
+
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
| 390 |
+
dependencies = [
|
| 391 |
+
"windows-sys",
|
| 392 |
+
]
|
| 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-sys"
|
| 402 |
+
version = "0.61.2"
|
| 403 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 404 |
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
| 405 |
+
dependencies = [
|
| 406 |
+
"windows-link",
|
| 407 |
+
]
|
| 408 |
+
|
| 409 |
+
[[package]]
|
| 410 |
+
name = "zmij"
|
| 411 |
+
version = "1.0.12"
|
| 412 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 413 |
+
checksum = "2fc5a66a20078bf1251bde995aa2fdcc4b800c70b5d92dd2c62abc5c60f679f8"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/Cargo.toml
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
name = "getrandom"
|
| 15 |
+
version = "0.2.17"
|
| 16 |
+
authors = ["The Rand Project Developers"]
|
| 17 |
+
build = false
|
| 18 |
+
exclude = [".*"]
|
| 19 |
+
autolib = false
|
| 20 |
+
autobins = false
|
| 21 |
+
autoexamples = false
|
| 22 |
+
autotests = false
|
| 23 |
+
autobenches = false
|
| 24 |
+
description = "A small cross-platform library for retrieving random data from system source"
|
| 25 |
+
documentation = "https://docs.rs/getrandom"
|
| 26 |
+
readme = "README.md"
|
| 27 |
+
categories = [
|
| 28 |
+
"os",
|
| 29 |
+
"no-std",
|
| 30 |
+
]
|
| 31 |
+
license = "MIT OR Apache-2.0"
|
| 32 |
+
repository = "https://github.com/rust-random/getrandom"
|
| 33 |
+
|
| 34 |
+
[package.metadata.docs.rs]
|
| 35 |
+
features = [
|
| 36 |
+
"std",
|
| 37 |
+
"custom",
|
| 38 |
+
]
|
| 39 |
+
rustdoc-args = [
|
| 40 |
+
"--cfg",
|
| 41 |
+
"docsrs",
|
| 42 |
+
]
|
| 43 |
+
|
| 44 |
+
[package.metadata.cross.target.x86_64-unknown-netbsd]
|
| 45 |
+
pre-build = [
|
| 46 |
+
"mkdir -p /tmp/netbsd",
|
| 47 |
+
"curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
|
| 48 |
+
"tar -C /tmp/netbsd -xJf base.tar.xz",
|
| 49 |
+
"cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
|
| 50 |
+
"rm base.tar.xz",
|
| 51 |
+
"rm -rf /tmp/netbsd",
|
| 52 |
+
]
|
| 53 |
+
|
| 54 |
+
[features]
|
| 55 |
+
custom = []
|
| 56 |
+
js = [
|
| 57 |
+
"wasm-bindgen",
|
| 58 |
+
"js-sys",
|
| 59 |
+
]
|
| 60 |
+
linux_disable_fallback = []
|
| 61 |
+
rdrand = []
|
| 62 |
+
rustc-dep-of-std = [
|
| 63 |
+
"compiler_builtins",
|
| 64 |
+
"core",
|
| 65 |
+
"libc/rustc-dep-of-std",
|
| 66 |
+
"wasi/rustc-dep-of-std",
|
| 67 |
+
]
|
| 68 |
+
std = []
|
| 69 |
+
test-in-browser = []
|
| 70 |
+
|
| 71 |
+
[lib]
|
| 72 |
+
name = "getrandom"
|
| 73 |
+
path = "src/lib.rs"
|
| 74 |
+
|
| 75 |
+
[[test]]
|
| 76 |
+
name = "custom"
|
| 77 |
+
path = "tests/custom.rs"
|
| 78 |
+
|
| 79 |
+
[[test]]
|
| 80 |
+
name = "normal"
|
| 81 |
+
path = "tests/normal.rs"
|
| 82 |
+
|
| 83 |
+
[[test]]
|
| 84 |
+
name = "rdrand"
|
| 85 |
+
path = "tests/rdrand.rs"
|
| 86 |
+
|
| 87 |
+
[[bench]]
|
| 88 |
+
name = "buffer"
|
| 89 |
+
path = "benches/buffer.rs"
|
| 90 |
+
|
| 91 |
+
[dependencies.cfg-if]
|
| 92 |
+
version = "1"
|
| 93 |
+
|
| 94 |
+
[dependencies.compiler_builtins]
|
| 95 |
+
version = "0.1"
|
| 96 |
+
optional = true
|
| 97 |
+
|
| 98 |
+
[dependencies.core]
|
| 99 |
+
version = "1.0"
|
| 100 |
+
optional = true
|
| 101 |
+
package = "rustc-std-workspace-core"
|
| 102 |
+
|
| 103 |
+
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.js-sys]
|
| 104 |
+
version = "0.3"
|
| 105 |
+
optional = true
|
| 106 |
+
|
| 107 |
+
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies.wasm-bindgen]
|
| 108 |
+
version = "0.2.62"
|
| 109 |
+
optional = true
|
| 110 |
+
default-features = false
|
| 111 |
+
|
| 112 |
+
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
|
| 113 |
+
version = "0.3.18"
|
| 114 |
+
|
| 115 |
+
[target.'cfg(target_os = "wasi")'.dependencies.wasi]
|
| 116 |
+
version = "0.11"
|
| 117 |
+
default-features = false
|
| 118 |
+
|
| 119 |
+
[target."cfg(unix)".dependencies.libc]
|
| 120 |
+
version = "0.2.154"
|
| 121 |
+
default-features = false
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "getrandom"
|
| 3 |
+
version = "0.2.17" # Also update html_root_url in lib.rs when bumping this
|
| 4 |
+
edition = "2018"
|
| 5 |
+
authors = ["The Rand Project Developers"]
|
| 6 |
+
license = "MIT OR Apache-2.0"
|
| 7 |
+
description = "A small cross-platform library for retrieving random data from system source"
|
| 8 |
+
documentation = "https://docs.rs/getrandom"
|
| 9 |
+
repository = "https://github.com/rust-random/getrandom"
|
| 10 |
+
categories = ["os", "no-std"]
|
| 11 |
+
exclude = [".*"]
|
| 12 |
+
|
| 13 |
+
[dependencies]
|
| 14 |
+
cfg-if = "1"
|
| 15 |
+
|
| 16 |
+
# When built as part of libstd
|
| 17 |
+
compiler_builtins = { version = "0.1", optional = true }
|
| 18 |
+
core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" }
|
| 19 |
+
|
| 20 |
+
[target.'cfg(unix)'.dependencies]
|
| 21 |
+
libc = { version = "0.2.154", default-features = false }
|
| 22 |
+
|
| 23 |
+
[target.'cfg(target_os = "wasi")'.dependencies]
|
| 24 |
+
wasi = { version = "0.11", default-features = false }
|
| 25 |
+
|
| 26 |
+
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies]
|
| 27 |
+
wasm-bindgen = { version = "0.2.62", default-features = false, optional = true }
|
| 28 |
+
js-sys = { version = "0.3", optional = true }
|
| 29 |
+
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
|
| 30 |
+
wasm-bindgen-test = "0.3.18"
|
| 31 |
+
|
| 32 |
+
[features]
|
| 33 |
+
# Implement std-only traits for getrandom::Error
|
| 34 |
+
std = []
|
| 35 |
+
# Disable `/dev/urandom` fallback for Linux and Android targets.
|
| 36 |
+
# Bumps minimum supported Linux kernel version to 3.17 and Android API level to 23 (Marshmallow).
|
| 37 |
+
linux_disable_fallback = []
|
| 38 |
+
# Feature to enable fallback RDRAND-based implementation on x86/x86_64
|
| 39 |
+
rdrand = []
|
| 40 |
+
# Feature to enable JavaScript bindings on wasm*-unknown-unknown
|
| 41 |
+
js = ["wasm-bindgen", "js-sys"]
|
| 42 |
+
# Feature to enable custom RNG implementations
|
| 43 |
+
custom = []
|
| 44 |
+
# Unstable feature to support being a libstd dependency
|
| 45 |
+
rustc-dep-of-std = [
|
| 46 |
+
"compiler_builtins",
|
| 47 |
+
"core",
|
| 48 |
+
"libc/rustc-dep-of-std",
|
| 49 |
+
"wasi/rustc-dep-of-std",
|
| 50 |
+
]
|
| 51 |
+
# Unstable/test-only feature to run wasm-bindgen tests in a browser
|
| 52 |
+
test-in-browser = []
|
| 53 |
+
|
| 54 |
+
[package.metadata.docs.rs]
|
| 55 |
+
features = ["std", "custom"]
|
| 56 |
+
rustdoc-args = ["--cfg", "docsrs"]
|
| 57 |
+
|
| 58 |
+
# workaround for https://github.com/cross-rs/cross/issues/1345
|
| 59 |
+
[package.metadata.cross.target.x86_64-unknown-netbsd]
|
| 60 |
+
pre-build = [
|
| 61 |
+
"mkdir -p /tmp/netbsd",
|
| 62 |
+
"curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O",
|
| 63 |
+
"tar -C /tmp/netbsd -xJf base.tar.xz",
|
| 64 |
+
"cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib",
|
| 65 |
+
"rm base.tar.xz",
|
| 66 |
+
"rm -rf /tmp/netbsd",
|
| 67 |
+
]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/LICENSE-APACHE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
https://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 |
+
https://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/getrandom-0.2.17/LICENSE-MIT
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2018-2024 The rust-random Project Developers
|
| 2 |
+
Copyright (c) 2014 The Rust Project Developers
|
| 3 |
+
|
| 4 |
+
Permission is hereby granted, free of charge, to any
|
| 5 |
+
person obtaining a copy of this software and associated
|
| 6 |
+
documentation files (the "Software"), to deal in the
|
| 7 |
+
Software without restriction, including without
|
| 8 |
+
limitation the rights to use, copy, modify, merge,
|
| 9 |
+
publish, distribute, sublicense, and/or sell copies of
|
| 10 |
+
the Software, and to permit persons to whom the Software
|
| 11 |
+
is furnished to do so, subject to the following
|
| 12 |
+
conditions:
|
| 13 |
+
|
| 14 |
+
The above copyright notice and this permission notice
|
| 15 |
+
shall be included in all copies or substantial portions
|
| 16 |
+
of the Software.
|
| 17 |
+
|
| 18 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
|
| 19 |
+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
| 20 |
+
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
| 21 |
+
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
| 22 |
+
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
| 23 |
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
| 24 |
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 25 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 26 |
+
DEALINGS IN THE SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# getrandom
|
| 2 |
+
|
| 3 |
+
[![Build Status]][GitHub Actions] [![Crate]][crates.io] [![Documentation]][docs.rs] [![Dependency Status]][deps.rs] [![Downloads]][crates.io] [![License]][LICENSE-MIT]
|
| 4 |
+
|
| 5 |
+
[GitHub Actions]: https://github.com/rust-random/getrandom/actions?query=workflow:Tests+branch:master
|
| 6 |
+
[Build Status]: https://github.com/rust-random/getrandom/actions/workflows/tests.yml/badge.svg?branch=master
|
| 7 |
+
[crates.io]: https://crates.io/crates/getrandom
|
| 8 |
+
[Crate]: https://img.shields.io/crates/v/getrandom
|
| 9 |
+
[docs.rs]: https://docs.rs/getrandom
|
| 10 |
+
[Documentation]: https://docs.rs/getrandom/badge.svg
|
| 11 |
+
[deps.rs]: https://deps.rs/repo/github/rust-random/getrandom
|
| 12 |
+
[Dependency Status]: https://deps.rs/repo/github/rust-random/getrandom/status.svg
|
| 13 |
+
[Downloads]: https://img.shields.io/crates/d/getrandom
|
| 14 |
+
[LICENSE-MIT]: https://raw.githubusercontent.com/rust-random/getrandom/master/LICENSE-MIT
|
| 15 |
+
[License]: https://img.shields.io/crates/l/getrandom
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
A Rust library for retrieving random data from (operating) system sources. It is
|
| 19 |
+
assumed that the system always provides high-quality cryptographically secure random
|
| 20 |
+
data, ideally backed by hardware entropy sources. This crate derives its name
|
| 21 |
+
from Linux's `getrandom` function, but is cross-platform, roughly supporting
|
| 22 |
+
the same set of platforms as Rust's `std` lib.
|
| 23 |
+
|
| 24 |
+
This is a low-level API. Most users should prefer using high-level random-number
|
| 25 |
+
library like [`rand`].
|
| 26 |
+
|
| 27 |
+
[`rand`]: https://crates.io/crates/rand
|
| 28 |
+
|
| 29 |
+
## Usage
|
| 30 |
+
|
| 31 |
+
Add this to your `Cargo.toml`:
|
| 32 |
+
|
| 33 |
+
```toml
|
| 34 |
+
[dependencies]
|
| 35 |
+
getrandom = "0.2"
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
Then invoke the `getrandom` function:
|
| 39 |
+
|
| 40 |
+
```rust
|
| 41 |
+
fn get_random_buf() -> Result<[u8; 32], getrandom::Error> {
|
| 42 |
+
let mut buf = [0u8; 32];
|
| 43 |
+
getrandom::getrandom(&mut buf)?;
|
| 44 |
+
Ok(buf)
|
| 45 |
+
}
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
For more information about supported targets, entropy sources, `no_std` targets,
|
| 49 |
+
crate features, WASM support and Custom RNGs see the
|
| 50 |
+
[`getrandom` documentation](https://docs.rs/getrandom/latest) and
|
| 51 |
+
[`getrandom::Error` documentation](https://docs.rs/getrandom/latest/getrandom/struct.Error.html).
|
| 52 |
+
|
| 53 |
+
## Minimum Supported Rust Version
|
| 54 |
+
|
| 55 |
+
This crate requires Rust 1.36.0 or later.
|
| 56 |
+
|
| 57 |
+
## Platform Support
|
| 58 |
+
|
| 59 |
+
This crate generally supports the same operating system and platform versions that the Rust standard library does.
|
| 60 |
+
Additional targets may be supported using pluggable custom implementations.
|
| 61 |
+
|
| 62 |
+
This means that as Rust drops support for old versions of operating systems (such as old Linux kernel versions, Android API levels, etc)
|
| 63 |
+
in stable releases, `getrandom` may create new patch releases (`0.N.x`) that remove support for outdated platform versions.
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
The `getrandom` library is distributed under either of
|
| 68 |
+
|
| 69 |
+
* [Apache License, Version 2.0][LICENSE-APACHE]
|
| 70 |
+
* [MIT license][LICENSE-MIT]
|
| 71 |
+
|
| 72 |
+
at your option.
|
| 73 |
+
|
| 74 |
+
### Contribution
|
| 75 |
+
|
| 76 |
+
Unless you explicitly state otherwise, any contribution intentionally submitted
|
| 77 |
+
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
|
| 78 |
+
dual licensed as above, without any additional terms or conditions.
|
| 79 |
+
|
| 80 |
+
[LICENSE-APACHE]: https://github.com/rust-random/getrandom/blob/master/LICENSE-APACHE
|
| 81 |
+
[LICENSE-MIT]: https://github.com/rust-random/getrandom/blob/master/LICENSE-MIT
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.17/SECURITY.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Security Policy
|
| 2 |
+
|
| 3 |
+
## Supported Versions
|
| 4 |
+
|
| 5 |
+
Security updates are applied only to the latest release.
|
| 6 |
+
|
| 7 |
+
## Reporting a Vulnerability
|
| 8 |
+
|
| 9 |
+
If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
|
| 10 |
+
|
| 11 |
+
Please disclose it at [security advisory](https://github.com/rust-random/getrandom/security/advisories/new).
|
| 12 |
+
|
| 13 |
+
This project is maintained by a team of volunteers on a reasonable-effort basis. As such, please give us at least 90 days to work on a fix before public exposure.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "947c3aa814b9a5eab764a95f84242fe1756cf61a"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": "heed"
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.lock
ADDED
|
@@ -0,0 +1,590 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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 = "autocfg"
|
| 7 |
+
version = "1.1.0"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
| 10 |
+
|
| 11 |
+
[[package]]
|
| 12 |
+
name = "bincode"
|
| 13 |
+
version = "1.3.3"
|
| 14 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 15 |
+
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
| 16 |
+
dependencies = [
|
| 17 |
+
"serde",
|
| 18 |
+
]
|
| 19 |
+
|
| 20 |
+
[[package]]
|
| 21 |
+
name = "bitflags"
|
| 22 |
+
version = "2.6.0"
|
| 23 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 24 |
+
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
|
| 25 |
+
dependencies = [
|
| 26 |
+
"serde",
|
| 27 |
+
]
|
| 28 |
+
|
| 29 |
+
[[package]]
|
| 30 |
+
name = "byteorder"
|
| 31 |
+
version = "1.5.0"
|
| 32 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 33 |
+
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
| 34 |
+
|
| 35 |
+
[[package]]
|
| 36 |
+
name = "cc"
|
| 37 |
+
version = "1.1.10"
|
| 38 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 39 |
+
checksum = "e9e8aabfac534be767c909e0690571677d49f41bd8465ae876fe043d52ba5292"
|
| 40 |
+
|
| 41 |
+
[[package]]
|
| 42 |
+
name = "cfg-if"
|
| 43 |
+
version = "1.0.0"
|
| 44 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 45 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 46 |
+
|
| 47 |
+
[[package]]
|
| 48 |
+
name = "crossbeam-queue"
|
| 49 |
+
version = "0.3.8"
|
| 50 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 51 |
+
checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add"
|
| 52 |
+
dependencies = [
|
| 53 |
+
"cfg-if",
|
| 54 |
+
"crossbeam-utils",
|
| 55 |
+
]
|
| 56 |
+
|
| 57 |
+
[[package]]
|
| 58 |
+
name = "crossbeam-utils"
|
| 59 |
+
version = "0.8.14"
|
| 60 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 61 |
+
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
|
| 62 |
+
dependencies = [
|
| 63 |
+
"cfg-if",
|
| 64 |
+
]
|
| 65 |
+
|
| 66 |
+
[[package]]
|
| 67 |
+
name = "doxygen-rs"
|
| 68 |
+
version = "0.4.2"
|
| 69 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 70 |
+
checksum = "415b6ec780d34dcf624666747194393603d0373b7141eef01d12ee58881507d9"
|
| 71 |
+
dependencies = [
|
| 72 |
+
"phf",
|
| 73 |
+
]
|
| 74 |
+
|
| 75 |
+
[[package]]
|
| 76 |
+
name = "equivalent"
|
| 77 |
+
version = "1.0.1"
|
| 78 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 79 |
+
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
|
| 80 |
+
|
| 81 |
+
[[package]]
|
| 82 |
+
name = "errno"
|
| 83 |
+
version = "0.3.9"
|
| 84 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 85 |
+
checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
|
| 86 |
+
dependencies = [
|
| 87 |
+
"libc",
|
| 88 |
+
"windows-sys 0.52.0",
|
| 89 |
+
]
|
| 90 |
+
|
| 91 |
+
[[package]]
|
| 92 |
+
name = "fastrand"
|
| 93 |
+
version = "2.1.0"
|
| 94 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 95 |
+
checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
|
| 96 |
+
|
| 97 |
+
[[package]]
|
| 98 |
+
name = "form_urlencoded"
|
| 99 |
+
version = "1.2.1"
|
| 100 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 101 |
+
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
|
| 102 |
+
dependencies = [
|
| 103 |
+
"percent-encoding",
|
| 104 |
+
]
|
| 105 |
+
|
| 106 |
+
[[package]]
|
| 107 |
+
name = "hashbrown"
|
| 108 |
+
version = "0.14.5"
|
| 109 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 110 |
+
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
| 111 |
+
|
| 112 |
+
[[package]]
|
| 113 |
+
name = "heed"
|
| 114 |
+
version = "0.20.5"
|
| 115 |
+
dependencies = [
|
| 116 |
+
"bitflags",
|
| 117 |
+
"byteorder",
|
| 118 |
+
"heed-traits",
|
| 119 |
+
"heed-types",
|
| 120 |
+
"libc",
|
| 121 |
+
"lmdb-master-sys",
|
| 122 |
+
"once_cell",
|
| 123 |
+
"page_size",
|
| 124 |
+
"serde",
|
| 125 |
+
"synchronoise",
|
| 126 |
+
"tempfile",
|
| 127 |
+
"url",
|
| 128 |
+
]
|
| 129 |
+
|
| 130 |
+
[[package]]
|
| 131 |
+
name = "heed-traits"
|
| 132 |
+
version = "0.20.0"
|
| 133 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 134 |
+
checksum = "eb3130048d404c57ce5a1ac61a903696e8fcde7e8c2991e9fcfc1f27c3ef74ff"
|
| 135 |
+
|
| 136 |
+
[[package]]
|
| 137 |
+
name = "heed-types"
|
| 138 |
+
version = "0.20.1"
|
| 139 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 140 |
+
checksum = "9d3f528b053a6d700b2734eabcd0fd49cb8230647aa72958467527b0b7917114"
|
| 141 |
+
dependencies = [
|
| 142 |
+
"bincode",
|
| 143 |
+
"byteorder",
|
| 144 |
+
"heed-traits",
|
| 145 |
+
"rmp-serde",
|
| 146 |
+
"serde",
|
| 147 |
+
"serde_json",
|
| 148 |
+
]
|
| 149 |
+
|
| 150 |
+
[[package]]
|
| 151 |
+
name = "idna"
|
| 152 |
+
version = "0.5.0"
|
| 153 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 154 |
+
checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6"
|
| 155 |
+
dependencies = [
|
| 156 |
+
"unicode-bidi",
|
| 157 |
+
"unicode-normalization",
|
| 158 |
+
]
|
| 159 |
+
|
| 160 |
+
[[package]]
|
| 161 |
+
name = "indexmap"
|
| 162 |
+
version = "2.3.0"
|
| 163 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 164 |
+
checksum = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0"
|
| 165 |
+
dependencies = [
|
| 166 |
+
"equivalent",
|
| 167 |
+
"hashbrown",
|
| 168 |
+
]
|
| 169 |
+
|
| 170 |
+
[[package]]
|
| 171 |
+
name = "itoa"
|
| 172 |
+
version = "1.0.5"
|
| 173 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 174 |
+
checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440"
|
| 175 |
+
|
| 176 |
+
[[package]]
|
| 177 |
+
name = "libc"
|
| 178 |
+
version = "0.2.155"
|
| 179 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 180 |
+
checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
|
| 181 |
+
|
| 182 |
+
[[package]]
|
| 183 |
+
name = "linux-raw-sys"
|
| 184 |
+
version = "0.4.14"
|
| 185 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 186 |
+
checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
|
| 187 |
+
|
| 188 |
+
[[package]]
|
| 189 |
+
name = "lmdb-master-sys"
|
| 190 |
+
version = "0.2.4"
|
| 191 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 192 |
+
checksum = "472c3760e2a8d0f61f322fb36788021bb36d573c502b50fa3e2bcaac3ec326c9"
|
| 193 |
+
dependencies = [
|
| 194 |
+
"cc",
|
| 195 |
+
"doxygen-rs",
|
| 196 |
+
"libc",
|
| 197 |
+
]
|
| 198 |
+
|
| 199 |
+
[[package]]
|
| 200 |
+
name = "memchr"
|
| 201 |
+
version = "2.5.0"
|
| 202 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 203 |
+
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
| 204 |
+
|
| 205 |
+
[[package]]
|
| 206 |
+
name = "num-traits"
|
| 207 |
+
version = "0.2.17"
|
| 208 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 209 |
+
checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c"
|
| 210 |
+
dependencies = [
|
| 211 |
+
"autocfg",
|
| 212 |
+
]
|
| 213 |
+
|
| 214 |
+
[[package]]
|
| 215 |
+
name = "once_cell"
|
| 216 |
+
version = "1.19.0"
|
| 217 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 218 |
+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
| 219 |
+
|
| 220 |
+
[[package]]
|
| 221 |
+
name = "page_size"
|
| 222 |
+
version = "0.6.0"
|
| 223 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 224 |
+
checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da"
|
| 225 |
+
dependencies = [
|
| 226 |
+
"libc",
|
| 227 |
+
"winapi",
|
| 228 |
+
]
|
| 229 |
+
|
| 230 |
+
[[package]]
|
| 231 |
+
name = "paste"
|
| 232 |
+
version = "1.0.14"
|
| 233 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 234 |
+
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"
|
| 235 |
+
|
| 236 |
+
[[package]]
|
| 237 |
+
name = "percent-encoding"
|
| 238 |
+
version = "2.3.1"
|
| 239 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 240 |
+
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
|
| 241 |
+
|
| 242 |
+
[[package]]
|
| 243 |
+
name = "phf"
|
| 244 |
+
version = "0.11.1"
|
| 245 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 246 |
+
checksum = "928c6535de93548188ef63bb7c4036bd415cd8f36ad25af44b9789b2ee72a48c"
|
| 247 |
+
dependencies = [
|
| 248 |
+
"phf_macros",
|
| 249 |
+
"phf_shared",
|
| 250 |
+
]
|
| 251 |
+
|
| 252 |
+
[[package]]
|
| 253 |
+
name = "phf_generator"
|
| 254 |
+
version = "0.11.1"
|
| 255 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 256 |
+
checksum = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf"
|
| 257 |
+
dependencies = [
|
| 258 |
+
"phf_shared",
|
| 259 |
+
"rand",
|
| 260 |
+
]
|
| 261 |
+
|
| 262 |
+
[[package]]
|
| 263 |
+
name = "phf_macros"
|
| 264 |
+
version = "0.11.1"
|
| 265 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 266 |
+
checksum = "92aacdc5f16768709a569e913f7451034034178b05bdc8acda226659a3dccc66"
|
| 267 |
+
dependencies = [
|
| 268 |
+
"phf_generator",
|
| 269 |
+
"phf_shared",
|
| 270 |
+
"proc-macro2",
|
| 271 |
+
"quote",
|
| 272 |
+
"syn 1.0.107",
|
| 273 |
+
]
|
| 274 |
+
|
| 275 |
+
[[package]]
|
| 276 |
+
name = "phf_shared"
|
| 277 |
+
version = "0.11.1"
|
| 278 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 279 |
+
checksum = "e1fb5f6f826b772a8d4c0394209441e7d37cbbb967ae9c7e0e8134365c9ee676"
|
| 280 |
+
dependencies = [
|
| 281 |
+
"siphasher",
|
| 282 |
+
]
|
| 283 |
+
|
| 284 |
+
[[package]]
|
| 285 |
+
name = "proc-macro2"
|
| 286 |
+
version = "1.0.86"
|
| 287 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 288 |
+
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
|
| 289 |
+
dependencies = [
|
| 290 |
+
"unicode-ident",
|
| 291 |
+
]
|
| 292 |
+
|
| 293 |
+
[[package]]
|
| 294 |
+
name = "quote"
|
| 295 |
+
version = "1.0.36"
|
| 296 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 297 |
+
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
| 298 |
+
dependencies = [
|
| 299 |
+
"proc-macro2",
|
| 300 |
+
]
|
| 301 |
+
|
| 302 |
+
[[package]]
|
| 303 |
+
name = "rand"
|
| 304 |
+
version = "0.8.5"
|
| 305 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 306 |
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| 307 |
+
dependencies = [
|
| 308 |
+
"rand_core",
|
| 309 |
+
]
|
| 310 |
+
|
| 311 |
+
[[package]]
|
| 312 |
+
name = "rand_core"
|
| 313 |
+
version = "0.6.4"
|
| 314 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 315 |
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
| 316 |
+
|
| 317 |
+
[[package]]
|
| 318 |
+
name = "rmp"
|
| 319 |
+
version = "0.8.14"
|
| 320 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 321 |
+
checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4"
|
| 322 |
+
dependencies = [
|
| 323 |
+
"byteorder",
|
| 324 |
+
"num-traits",
|
| 325 |
+
"paste",
|
| 326 |
+
]
|
| 327 |
+
|
| 328 |
+
[[package]]
|
| 329 |
+
name = "rmp-serde"
|
| 330 |
+
version = "1.3.0"
|
| 331 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 332 |
+
checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db"
|
| 333 |
+
dependencies = [
|
| 334 |
+
"byteorder",
|
| 335 |
+
"rmp",
|
| 336 |
+
"serde",
|
| 337 |
+
]
|
| 338 |
+
|
| 339 |
+
[[package]]
|
| 340 |
+
name = "rustix"
|
| 341 |
+
version = "0.38.34"
|
| 342 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 343 |
+
checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
|
| 344 |
+
dependencies = [
|
| 345 |
+
"bitflags",
|
| 346 |
+
"errno",
|
| 347 |
+
"libc",
|
| 348 |
+
"linux-raw-sys",
|
| 349 |
+
"windows-sys 0.52.0",
|
| 350 |
+
]
|
| 351 |
+
|
| 352 |
+
[[package]]
|
| 353 |
+
name = "ryu"
|
| 354 |
+
version = "1.0.12"
|
| 355 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 356 |
+
checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde"
|
| 357 |
+
|
| 358 |
+
[[package]]
|
| 359 |
+
name = "serde"
|
| 360 |
+
version = "1.0.206"
|
| 361 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 362 |
+
checksum = "5b3e4cd94123dd520a128bcd11e34d9e9e423e7e3e50425cb1b4b1e3549d0284"
|
| 363 |
+
dependencies = [
|
| 364 |
+
"serde_derive",
|
| 365 |
+
]
|
| 366 |
+
|
| 367 |
+
[[package]]
|
| 368 |
+
name = "serde_derive"
|
| 369 |
+
version = "1.0.206"
|
| 370 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 371 |
+
checksum = "fabfb6138d2383ea8208cf98ccf69cdfb1aff4088460681d84189aa259762f97"
|
| 372 |
+
dependencies = [
|
| 373 |
+
"proc-macro2",
|
| 374 |
+
"quote",
|
| 375 |
+
"syn 2.0.74",
|
| 376 |
+
]
|
| 377 |
+
|
| 378 |
+
[[package]]
|
| 379 |
+
name = "serde_json"
|
| 380 |
+
version = "1.0.124"
|
| 381 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 382 |
+
checksum = "66ad62847a56b3dba58cc891acd13884b9c61138d330c0d7b6181713d4fce38d"
|
| 383 |
+
dependencies = [
|
| 384 |
+
"indexmap",
|
| 385 |
+
"itoa",
|
| 386 |
+
"memchr",
|
| 387 |
+
"ryu",
|
| 388 |
+
"serde",
|
| 389 |
+
]
|
| 390 |
+
|
| 391 |
+
[[package]]
|
| 392 |
+
name = "siphasher"
|
| 393 |
+
version = "0.3.10"
|
| 394 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 395 |
+
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
| 396 |
+
|
| 397 |
+
[[package]]
|
| 398 |
+
name = "syn"
|
| 399 |
+
version = "1.0.107"
|
| 400 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 401 |
+
checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5"
|
| 402 |
+
dependencies = [
|
| 403 |
+
"proc-macro2",
|
| 404 |
+
"quote",
|
| 405 |
+
"unicode-ident",
|
| 406 |
+
]
|
| 407 |
+
|
| 408 |
+
[[package]]
|
| 409 |
+
name = "syn"
|
| 410 |
+
version = "2.0.74"
|
| 411 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 412 |
+
checksum = "1fceb41e3d546d0bd83421d3409b1460cc7444cd389341a4c880fe7a042cb3d7"
|
| 413 |
+
dependencies = [
|
| 414 |
+
"proc-macro2",
|
| 415 |
+
"quote",
|
| 416 |
+
"unicode-ident",
|
| 417 |
+
]
|
| 418 |
+
|
| 419 |
+
[[package]]
|
| 420 |
+
name = "synchronoise"
|
| 421 |
+
version = "1.0.1"
|
| 422 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 423 |
+
checksum = "3dbc01390fc626ce8d1cffe3376ded2b72a11bb70e1c75f404a210e4daa4def2"
|
| 424 |
+
dependencies = [
|
| 425 |
+
"crossbeam-queue",
|
| 426 |
+
]
|
| 427 |
+
|
| 428 |
+
[[package]]
|
| 429 |
+
name = "tempfile"
|
| 430 |
+
version = "3.12.0"
|
| 431 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 432 |
+
checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
|
| 433 |
+
dependencies = [
|
| 434 |
+
"cfg-if",
|
| 435 |
+
"fastrand",
|
| 436 |
+
"once_cell",
|
| 437 |
+
"rustix",
|
| 438 |
+
"windows-sys 0.59.0",
|
| 439 |
+
]
|
| 440 |
+
|
| 441 |
+
[[package]]
|
| 442 |
+
name = "tinyvec"
|
| 443 |
+
version = "1.6.0"
|
| 444 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 445 |
+
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
| 446 |
+
dependencies = [
|
| 447 |
+
"tinyvec_macros",
|
| 448 |
+
]
|
| 449 |
+
|
| 450 |
+
[[package]]
|
| 451 |
+
name = "tinyvec_macros"
|
| 452 |
+
version = "0.1.0"
|
| 453 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 454 |
+
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
|
| 455 |
+
|
| 456 |
+
[[package]]
|
| 457 |
+
name = "unicode-bidi"
|
| 458 |
+
version = "0.3.15"
|
| 459 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 460 |
+
checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
|
| 461 |
+
|
| 462 |
+
[[package]]
|
| 463 |
+
name = "unicode-ident"
|
| 464 |
+
version = "1.0.6"
|
| 465 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 466 |
+
checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc"
|
| 467 |
+
|
| 468 |
+
[[package]]
|
| 469 |
+
name = "unicode-normalization"
|
| 470 |
+
version = "0.1.22"
|
| 471 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 472 |
+
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
|
| 473 |
+
dependencies = [
|
| 474 |
+
"tinyvec",
|
| 475 |
+
]
|
| 476 |
+
|
| 477 |
+
[[package]]
|
| 478 |
+
name = "url"
|
| 479 |
+
version = "2.5.2"
|
| 480 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 481 |
+
checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"
|
| 482 |
+
dependencies = [
|
| 483 |
+
"form_urlencoded",
|
| 484 |
+
"idna",
|
| 485 |
+
"percent-encoding",
|
| 486 |
+
]
|
| 487 |
+
|
| 488 |
+
[[package]]
|
| 489 |
+
name = "winapi"
|
| 490 |
+
version = "0.3.9"
|
| 491 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 492 |
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
| 493 |
+
dependencies = [
|
| 494 |
+
"winapi-i686-pc-windows-gnu",
|
| 495 |
+
"winapi-x86_64-pc-windows-gnu",
|
| 496 |
+
]
|
| 497 |
+
|
| 498 |
+
[[package]]
|
| 499 |
+
name = "winapi-i686-pc-windows-gnu"
|
| 500 |
+
version = "0.4.0"
|
| 501 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 502 |
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
| 503 |
+
|
| 504 |
+
[[package]]
|
| 505 |
+
name = "winapi-x86_64-pc-windows-gnu"
|
| 506 |
+
version = "0.4.0"
|
| 507 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 508 |
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
| 509 |
+
|
| 510 |
+
[[package]]
|
| 511 |
+
name = "windows-sys"
|
| 512 |
+
version = "0.52.0"
|
| 513 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 514 |
+
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
| 515 |
+
dependencies = [
|
| 516 |
+
"windows-targets",
|
| 517 |
+
]
|
| 518 |
+
|
| 519 |
+
[[package]]
|
| 520 |
+
name = "windows-sys"
|
| 521 |
+
version = "0.59.0"
|
| 522 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 523 |
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
| 524 |
+
dependencies = [
|
| 525 |
+
"windows-targets",
|
| 526 |
+
]
|
| 527 |
+
|
| 528 |
+
[[package]]
|
| 529 |
+
name = "windows-targets"
|
| 530 |
+
version = "0.52.6"
|
| 531 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 532 |
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
| 533 |
+
dependencies = [
|
| 534 |
+
"windows_aarch64_gnullvm",
|
| 535 |
+
"windows_aarch64_msvc",
|
| 536 |
+
"windows_i686_gnu",
|
| 537 |
+
"windows_i686_gnullvm",
|
| 538 |
+
"windows_i686_msvc",
|
| 539 |
+
"windows_x86_64_gnu",
|
| 540 |
+
"windows_x86_64_gnullvm",
|
| 541 |
+
"windows_x86_64_msvc",
|
| 542 |
+
]
|
| 543 |
+
|
| 544 |
+
[[package]]
|
| 545 |
+
name = "windows_aarch64_gnullvm"
|
| 546 |
+
version = "0.52.6"
|
| 547 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 548 |
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
| 549 |
+
|
| 550 |
+
[[package]]
|
| 551 |
+
name = "windows_aarch64_msvc"
|
| 552 |
+
version = "0.52.6"
|
| 553 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 554 |
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
| 555 |
+
|
| 556 |
+
[[package]]
|
| 557 |
+
name = "windows_i686_gnu"
|
| 558 |
+
version = "0.52.6"
|
| 559 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 560 |
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
| 561 |
+
|
| 562 |
+
[[package]]
|
| 563 |
+
name = "windows_i686_gnullvm"
|
| 564 |
+
version = "0.52.6"
|
| 565 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 566 |
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
| 567 |
+
|
| 568 |
+
[[package]]
|
| 569 |
+
name = "windows_i686_msvc"
|
| 570 |
+
version = "0.52.6"
|
| 571 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 572 |
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
| 573 |
+
|
| 574 |
+
[[package]]
|
| 575 |
+
name = "windows_x86_64_gnu"
|
| 576 |
+
version = "0.52.6"
|
| 577 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 578 |
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
| 579 |
+
|
| 580 |
+
[[package]]
|
| 581 |
+
name = "windows_x86_64_gnullvm"
|
| 582 |
+
version = "0.52.6"
|
| 583 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 584 |
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
| 585 |
+
|
| 586 |
+
[[package]]
|
| 587 |
+
name = "windows_x86_64_msvc"
|
| 588 |
+
version = "0.52.6"
|
| 589 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 590 |
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.toml
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
name = "heed"
|
| 15 |
+
version = "0.20.5"
|
| 16 |
+
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
| 17 |
+
build = false
|
| 18 |
+
autobins = false
|
| 19 |
+
autoexamples = false
|
| 20 |
+
autotests = false
|
| 21 |
+
autobenches = false
|
| 22 |
+
description = "A fully typed LMDB wrapper with minimum overhead"
|
| 23 |
+
readme = "README.md"
|
| 24 |
+
keywords = [
|
| 25 |
+
"lmdb",
|
| 26 |
+
"database",
|
| 27 |
+
"storage",
|
| 28 |
+
"typed",
|
| 29 |
+
]
|
| 30 |
+
categories = [
|
| 31 |
+
"database",
|
| 32 |
+
"data-structures",
|
| 33 |
+
]
|
| 34 |
+
license = "MIT"
|
| 35 |
+
repository = "https://github.com/Kerollmops/heed"
|
| 36 |
+
|
| 37 |
+
[lib]
|
| 38 |
+
name = "heed"
|
| 39 |
+
path = "src/lib.rs"
|
| 40 |
+
|
| 41 |
+
[[example]]
|
| 42 |
+
name = "all-types"
|
| 43 |
+
path = "examples/all-types.rs"
|
| 44 |
+
|
| 45 |
+
[[example]]
|
| 46 |
+
name = "clear-database"
|
| 47 |
+
path = "examples/clear-database.rs"
|
| 48 |
+
|
| 49 |
+
[[example]]
|
| 50 |
+
name = "cursor-append"
|
| 51 |
+
path = "examples/cursor-append.rs"
|
| 52 |
+
|
| 53 |
+
[[example]]
|
| 54 |
+
name = "custom-comparator"
|
| 55 |
+
path = "examples/custom-comparator.rs"
|
| 56 |
+
|
| 57 |
+
[[example]]
|
| 58 |
+
name = "multi-env"
|
| 59 |
+
path = "examples/multi-env.rs"
|
| 60 |
+
|
| 61 |
+
[[example]]
|
| 62 |
+
name = "nested"
|
| 63 |
+
path = "examples/nested.rs"
|
| 64 |
+
|
| 65 |
+
[[example]]
|
| 66 |
+
name = "rmp-serde"
|
| 67 |
+
path = "examples/rmp-serde.rs"
|
| 68 |
+
required-features = ["serde-rmp"]
|
| 69 |
+
|
| 70 |
+
[dependencies.bitflags]
|
| 71 |
+
version = "2.6.0"
|
| 72 |
+
features = ["serde"]
|
| 73 |
+
|
| 74 |
+
[dependencies.byteorder]
|
| 75 |
+
version = "1.5.0"
|
| 76 |
+
default-features = false
|
| 77 |
+
|
| 78 |
+
[dependencies.heed-traits]
|
| 79 |
+
version = "0.20.0"
|
| 80 |
+
|
| 81 |
+
[dependencies.heed-types]
|
| 82 |
+
version = "0.20.1"
|
| 83 |
+
default-features = false
|
| 84 |
+
|
| 85 |
+
[dependencies.libc]
|
| 86 |
+
version = "0.2.155"
|
| 87 |
+
|
| 88 |
+
[dependencies.lmdb-master-sys]
|
| 89 |
+
version = "0.2.4"
|
| 90 |
+
|
| 91 |
+
[dependencies.once_cell]
|
| 92 |
+
version = "1.19.0"
|
| 93 |
+
|
| 94 |
+
[dependencies.page_size]
|
| 95 |
+
version = "0.6.0"
|
| 96 |
+
|
| 97 |
+
[dependencies.serde]
|
| 98 |
+
version = "1.0.203"
|
| 99 |
+
features = ["derive"]
|
| 100 |
+
optional = true
|
| 101 |
+
|
| 102 |
+
[dependencies.synchronoise]
|
| 103 |
+
version = "1.0.1"
|
| 104 |
+
|
| 105 |
+
[dev-dependencies.serde]
|
| 106 |
+
version = "1.0.203"
|
| 107 |
+
features = ["derive"]
|
| 108 |
+
|
| 109 |
+
[dev-dependencies.tempfile]
|
| 110 |
+
version = "3.10.1"
|
| 111 |
+
|
| 112 |
+
[features]
|
| 113 |
+
arbitrary_precision = ["heed-types/arbitrary_precision"]
|
| 114 |
+
default = [
|
| 115 |
+
"serde",
|
| 116 |
+
"serde-bincode",
|
| 117 |
+
"serde-json",
|
| 118 |
+
]
|
| 119 |
+
longer-keys = ["lmdb-master-sys/longer-keys"]
|
| 120 |
+
mdb_idl_logn_10 = ["lmdb-master-sys/mdb_idl_logn_10"]
|
| 121 |
+
mdb_idl_logn_11 = ["lmdb-master-sys/mdb_idl_logn_11"]
|
| 122 |
+
mdb_idl_logn_12 = ["lmdb-master-sys/mdb_idl_logn_12"]
|
| 123 |
+
mdb_idl_logn_13 = ["lmdb-master-sys/mdb_idl_logn_13"]
|
| 124 |
+
mdb_idl_logn_14 = ["lmdb-master-sys/mdb_idl_logn_14"]
|
| 125 |
+
mdb_idl_logn_15 = ["lmdb-master-sys/mdb_idl_logn_15"]
|
| 126 |
+
mdb_idl_logn_16 = ["lmdb-master-sys/mdb_idl_logn_16"]
|
| 127 |
+
mdb_idl_logn_8 = ["lmdb-master-sys/mdb_idl_logn_8"]
|
| 128 |
+
mdb_idl_logn_9 = ["lmdb-master-sys/mdb_idl_logn_9"]
|
| 129 |
+
posix-sem = ["lmdb-master-sys/posix-sem"]
|
| 130 |
+
preserve_order = ["heed-types/preserve_order"]
|
| 131 |
+
raw_value = ["heed-types/raw_value"]
|
| 132 |
+
read-txn-no-tls = []
|
| 133 |
+
serde = [
|
| 134 |
+
"bitflags/serde",
|
| 135 |
+
"dep:serde",
|
| 136 |
+
]
|
| 137 |
+
serde-bincode = ["heed-types/serde-bincode"]
|
| 138 |
+
serde-json = ["heed-types/serde-json"]
|
| 139 |
+
serde-rmp = ["heed-types/serde-rmp"]
|
| 140 |
+
unbounded_depth = ["heed-types/unbounded_depth"]
|
| 141 |
+
|
| 142 |
+
[target."cfg(windows)".dependencies.url]
|
| 143 |
+
version = "2.5.2"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "heed"
|
| 3 |
+
version = "0.20.5"
|
| 4 |
+
authors = ["Kerollmops <renault.cle@gmail.com>"]
|
| 5 |
+
description = "A fully typed LMDB wrapper with minimum overhead"
|
| 6 |
+
license = "MIT"
|
| 7 |
+
repository = "https://github.com/Kerollmops/heed"
|
| 8 |
+
keywords = ["lmdb", "database", "storage", "typed"]
|
| 9 |
+
categories = ["database", "data-structures"]
|
| 10 |
+
readme = "../README.md"
|
| 11 |
+
edition = "2021"
|
| 12 |
+
|
| 13 |
+
[dependencies]
|
| 14 |
+
bitflags = { version = "2.6.0", features = ["serde"] }
|
| 15 |
+
byteorder = { version = "1.5.0", default-features = false }
|
| 16 |
+
heed-traits = { version = "0.20.0", path = "../heed-traits" }
|
| 17 |
+
heed-types = { version = "0.20.1", default-features = false, path = "../heed-types" }
|
| 18 |
+
libc = "0.2.155"
|
| 19 |
+
lmdb-master-sys = { version = "0.2.4", path = "../lmdb-master-sys" }
|
| 20 |
+
once_cell = "1.19.0"
|
| 21 |
+
page_size = "0.6.0"
|
| 22 |
+
serde = { version = "1.0.203", features = ["derive"], optional = true }
|
| 23 |
+
synchronoise = "1.0.1"
|
| 24 |
+
|
| 25 |
+
[dev-dependencies]
|
| 26 |
+
serde = { version = "1.0.203", features = ["derive"] }
|
| 27 |
+
tempfile = "3.10.1"
|
| 28 |
+
|
| 29 |
+
[target.'cfg(windows)'.dependencies]
|
| 30 |
+
url = "2.5.2"
|
| 31 |
+
|
| 32 |
+
[features]
|
| 33 |
+
# The `serde` feature makes some types serializable,
|
| 34 |
+
# like the `EnvOpenOptions` struct.
|
| 35 |
+
default = ["serde", "serde-bincode", "serde-json"]
|
| 36 |
+
serde = ["bitflags/serde", "dep:serde"]
|
| 37 |
+
|
| 38 |
+
# The #MDB_NOTLS flag is automatically set on Env opening,
|
| 39 |
+
# RoTxn and RoCursors implements the Send trait. This allows the
|
| 40 |
+
# user to move RoTxns and RoCursors between threads as read transactions
|
| 41 |
+
# will no more use thread local storage and will tie reader locktable
|
| 42 |
+
# slots to #MDB_txn objects instead of to threads.
|
| 43 |
+
#
|
| 44 |
+
# According to the LMDB documentation, when this feature is not enabled:
|
| 45 |
+
# A thread can only use one transaction at a time, plus any child
|
| 46 |
+
# transactions. Each transaction belongs to one thread. [...]
|
| 47 |
+
# The #MDB_NOTLS flag changes this for read-only transactions.
|
| 48 |
+
#
|
| 49 |
+
# And a #MDB_BAD_RSLOT error will be thrown when multiple read
|
| 50 |
+
# transactions exists on the same thread
|
| 51 |
+
read-txn-no-tls = []
|
| 52 |
+
|
| 53 |
+
# Enable the serde en/decoders for bincode, serde_json, or rmp_serde
|
| 54 |
+
serde-bincode = ["heed-types/serde-bincode"]
|
| 55 |
+
serde-json = ["heed-types/serde-json"]
|
| 56 |
+
serde-rmp = ["heed-types/serde-rmp"]
|
| 57 |
+
|
| 58 |
+
# serde_json features
|
| 59 |
+
preserve_order = ["heed-types/preserve_order"]
|
| 60 |
+
arbitrary_precision = ["heed-types/arbitrary_precision"]
|
| 61 |
+
raw_value = ["heed-types/raw_value"]
|
| 62 |
+
unbounded_depth = ["heed-types/unbounded_depth"]
|
| 63 |
+
|
| 64 |
+
# Whether to tell LMDB to use POSIX semaphores during compilation
|
| 65 |
+
# (instead of the default, which are System V semaphores).
|
| 66 |
+
# POSIX semaphores are required for Apple's App Sandbox on iOS & macOS,
|
| 67 |
+
# and are possibly faster and more appropriate for single-process use.
|
| 68 |
+
# There are tradeoffs for both POSIX and SysV semaphores; which you
|
| 69 |
+
# should look into before enabling this feature. Also, see here:
|
| 70 |
+
# <https://github.com/LMDB/lmdb/blob/3947014aed7ffe39a79991fa7fb5b234da47ad1a/libraries/liblmdb/lmdb.h#L46-L69>
|
| 71 |
+
posix-sem = ["lmdb-master-sys/posix-sem"]
|
| 72 |
+
|
| 73 |
+
# These features configure the MDB_IDL_LOGN macro, which determines
|
| 74 |
+
# the size of the free and dirty page lists (and thus the amount of memory
|
| 75 |
+
# allocated when opening an LMDB environment in read-write mode).
|
| 76 |
+
#
|
| 77 |
+
# Each feature defines MDB_IDL_LOGN as the value in the name of the feature.
|
| 78 |
+
# That means these features are mutually exclusive, and you must not specify
|
| 79 |
+
# more than one at the same time (or the crate will fail to compile).
|
| 80 |
+
#
|
| 81 |
+
# For more information on the motivation for these features (and their effect),
|
| 82 |
+
# see https://github.com/mozilla/lmdb/pull/2.
|
| 83 |
+
mdb_idl_logn_8 = ["lmdb-master-sys/mdb_idl_logn_8"]
|
| 84 |
+
mdb_idl_logn_9 = ["lmdb-master-sys/mdb_idl_logn_9"]
|
| 85 |
+
mdb_idl_logn_10 = ["lmdb-master-sys/mdb_idl_logn_10"]
|
| 86 |
+
mdb_idl_logn_11 = ["lmdb-master-sys/mdb_idl_logn_11"]
|
| 87 |
+
mdb_idl_logn_12 = ["lmdb-master-sys/mdb_idl_logn_12"]
|
| 88 |
+
mdb_idl_logn_13 = ["lmdb-master-sys/mdb_idl_logn_13"]
|
| 89 |
+
mdb_idl_logn_14 = ["lmdb-master-sys/mdb_idl_logn_14"]
|
| 90 |
+
mdb_idl_logn_15 = ["lmdb-master-sys/mdb_idl_logn_15"]
|
| 91 |
+
mdb_idl_logn_16 = ["lmdb-master-sys/mdb_idl_logn_16"]
|
| 92 |
+
|
| 93 |
+
# Setting this enables you to use keys longer than 511 bytes. The exact limit
|
| 94 |
+
# is computed by LMDB at compile time. You can find the exact value by calling
|
| 95 |
+
# Env::max_key_size(). This value varies by architecture.
|
| 96 |
+
#
|
| 97 |
+
# Example max key sizes:
|
| 98 |
+
# - Apple M1 (ARM64): 8126 bytes
|
| 99 |
+
# - Apple Intel (AMD64): 1982 bytes
|
| 100 |
+
# - Linux Intel (AMD64): 1982 bytes
|
| 101 |
+
#
|
| 102 |
+
# Setting this also enables you to use values larger than 511 bytes when using
|
| 103 |
+
# a Database with the DatabaseFlags::DUP_SORT flag.
|
| 104 |
+
#
|
| 105 |
+
# This builds LMDB with the -DMDB_MAXKEYSIZE=0 option.
|
| 106 |
+
#
|
| 107 |
+
# Note: If you are moving database files between architectures then your longest
|
| 108 |
+
# stored key must fit within the smallest limit of all architectures used. For
|
| 109 |
+
# example, if you are moving databases between Apple M1 and Apple Intel
|
| 110 |
+
# computers then you need to keep your keys within the smaller 1982 byte limit.
|
| 111 |
+
longer-keys = ["lmdb-master-sys/longer-keys"]
|
| 112 |
+
|
| 113 |
+
[[example]]
|
| 114 |
+
name = "rmp-serde"
|
| 115 |
+
required-features = ["serde-rmp"]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/heed-0.20.5/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<p align="center"><img width="280px" src="https://raw.githubusercontent.com/meilisearch/heed/main/assets/heed-pigeon-logo.png"></a></p>
|
| 2 |
+
<h1 align="center" >heed</h1>
|
| 3 |
+
|
| 4 |
+
[](#LICENSE)
|
| 5 |
+
[](https://crates.io/crates/heed)
|
| 6 |
+
[](https://docs.rs/heed)
|
| 7 |
+
[](https://deps.rs/repo/github/meilisearch/heed)
|
| 8 |
+
[](https://github.com/meilisearch/heed/actions/workflows/rust.yml)
|
| 9 |
+
|
| 10 |
+
A Rust-centric [LMDB](https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Database) abstraction with minimal overhead. This library enables the storage of various Rust types within LMDB, extending support to include Serde-compatible types.
|
| 11 |
+
|
| 12 |
+
## Simple Example Usage
|
| 13 |
+
|
| 14 |
+
Here is an example on how to store and read entries into LMDB in a safe and ACID way. For usage examples, see [heed/examples/](heed/examples/). To see more advanced usage techniques go check our [Cookbook](https://docs.rs/heed/latest/heed/cookbook/index.html).
|
| 15 |
+
|
| 16 |
+
```rust
|
| 17 |
+
use std::fs;
|
| 18 |
+
use std::path::Path;
|
| 19 |
+
use heed::{EnvOpenOptions, Database};
|
| 20 |
+
use heed::types::*;
|
| 21 |
+
|
| 22 |
+
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
| 23 |
+
let env = unsafe { EnvOpenOptions::new().open("my-first-db")? };
|
| 24 |
+
|
| 25 |
+
// We open the default unnamed database
|
| 26 |
+
let mut wtxn = env.write_txn()?;
|
| 27 |
+
let db: Database<Str, U32<byteorder::NativeEndian>> = env.create_database(&mut wtxn, None)?;
|
| 28 |
+
|
| 29 |
+
// We open a write transaction
|
| 30 |
+
db.put(&mut wtxn, "seven", &7)?;
|
| 31 |
+
db.put(&mut wtxn, "zero", &0)?;
|
| 32 |
+
db.put(&mut wtxn, "five", &5)?;
|
| 33 |
+
db.put(&mut wtxn, "three", &3)?;
|
| 34 |
+
wtxn.commit()?;
|
| 35 |
+
|
| 36 |
+
// We open a read transaction to check if those values are now available
|
| 37 |
+
let mut rtxn = env.read_txn()?;
|
| 38 |
+
|
| 39 |
+
let ret = db.get(&rtxn, "zero")?;
|
| 40 |
+
assert_eq!(ret, Some(0));
|
| 41 |
+
|
| 42 |
+
let ret = db.get(&rtxn, "five")?;
|
| 43 |
+
assert_eq!(ret, Some(5));
|
| 44 |
+
|
| 45 |
+
Ok(())
|
| 46 |
+
}
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Building from Source
|
| 50 |
+
|
| 51 |
+
You can use this command to clone the repository:
|
| 52 |
+
|
| 53 |
+
```bash
|
| 54 |
+
git clone --recursive https://github.com/meilisearch/heed.git
|
| 55 |
+
cd heed
|
| 56 |
+
cargo build
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
However, if you already cloned it and forgot to initialize the submodules, execute the following command:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
git submodule update --init
|
| 63 |
+
```
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.cargo_vcs_info.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"git": {
|
| 3 |
+
"sha1": "4179d09f73b27820e7c8817a01f0f51cfa4d0213"
|
| 4 |
+
},
|
| 5 |
+
"path_in_vcs": ""
|
| 6 |
+
}
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
target
|
| 2 |
+
Cargo.lock
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/CHANGELOG.md
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Changelog
|
| 2 |
+
|
| 3 |
+
Possible log types:
|
| 4 |
+
|
| 5 |
+
- `[added]` for new features.
|
| 6 |
+
- `[changed]` for changes in existing functionality.
|
| 7 |
+
- `[deprecated]` for once-stable features removed in upcoming releases.
|
| 8 |
+
- `[removed]` for deprecated features removed in this release.
|
| 9 |
+
- `[fixed]` for any bug fixes.
|
| 10 |
+
- `[security]` to invite users to upgrade in case of vulnerabilities.
|
| 11 |
+
|
| 12 |
+
### 0.6.0
|
| 13 |
+
|
| 14 |
+
- [changed] Improve layout of tables thanks to sftse:
|
| 15 |
+
- Table column size estimates have been improved when the source HTML has a lot
|
| 16 |
+
of unnecessary whitespace.
|
| 17 |
+
- Move the URL footnotes out to the top level, also improving layout of tables
|
| 18 |
+
containing links.
|
| 19 |
+
- [changed] Some APIs have slightly changed as part of the table improvements,
|
| 20 |
+
though most users should not be affeted.
|
| 21 |
+
|
| 22 |
+
### 0.5.1
|
| 23 |
+
|
| 24 |
+
- [fixed] Some tables were rendered too wide.
|
| 25 |
+
|
| 26 |
+
### 0.5.0
|
| 27 |
+
|
| 28 |
+
- [changed] Rich Image annotations now include the src attirbute (thanks spencerwi).
|
| 29 |
+
|
| 30 |
+
### 0.4.5
|
| 31 |
+
|
| 32 |
+
- [fixed] Preserve empty lines in pre blocks (thanks kpagacz).
|
| 33 |
+
|
| 34 |
+
### 0.4.4
|
| 35 |
+
|
| 36 |
+
- [fixed] Fix some panics when enumerated lists are in tables (thanks sfts).
|
| 37 |
+
- [fixed] Impove table size estimation to include links.
|
| 38 |
+
|
| 39 |
+
### 0.4.3
|
| 40 |
+
|
| 41 |
+
- [changed] MSRV is now 1.56.
|
| 42 |
+
- [fixed] Fix some panics when very large widths are used with tables.
|
| 43 |
+
|
| 44 |
+
### 0.4.2
|
| 45 |
+
|
| 46 |
+
- [changed] Moved the rcdom module directly into src/
|
| 47 |
+
|
| 48 |
+
### 0.4.1 (unpublished)
|
| 49 |
+
|
| 50 |
+
- [changed] rcdom now vendored as a module.
|
| 51 |
+
|
| 52 |
+
### 0.4.0 (unpublished)
|
| 53 |
+
|
| 54 |
+
- [changed] Update html5ever to v0.26.
|
| 55 |
+
- [changed] MSRV is now 1.49.
|
| 56 |
+
|
| 57 |
+
### 0.3.1
|
| 58 |
+
|
| 59 |
+
- [changed] Update the build badges to reflect the updated CI configuration.
|
| 60 |
+
|
| 61 |
+
### 0.3.0
|
| 62 |
+
|
| 63 |
+
- [added] New experimental `from_read_coloured()` (under `ansi_colours` feature).
|
| 64 |
+
- [added] Add `into_tagged_strings` and `tagged_strings` methods to `TaggedLine`
|
| 65 |
+
(thanks Robin Krahl)
|
| 66 |
+
- [added] Add `width` method to `TaggedString` (thanks Robin Krahl)
|
| 67 |
+
- [changed] Keep annotations in `TextRenderer::into_lines` (thanks Robin Krahl)
|
| 68 |
+
- [fixed] Add colon to reference style link (thanks zakaluka)
|
| 69 |
+
- [added] Allow text decorators to customise block prefix strings (thanks SardineFish)
|
| 70 |
+
- [fixed] Fixed some problems rendering some complicated tables, including a panic
|
| 71 |
+
and near-infinite loops.
|
| 72 |
+
- [changed] Tables which are too wide to possibly render in the given width are now
|
| 73 |
+
arranged vertically instead (with `///`) lines.
|
| 74 |
+
- [changed] A number of small table rendering improvements.
|
| 75 |
+
- [changed] MSRV is now 1.41.
|
| 76 |
+
|
| 77 |
+
### 0.2.1
|
| 78 |
+
|
| 79 |
+
- [added] New entry points - split HTML parsing from rendering the output,
|
| 80 |
+
thanks Robin Krahl.
|
| 81 |
+
- [fixed] Decorators weren't being used for preformatted text.
|
| 82 |
+
|
| 83 |
+
### 0.2.0
|
| 84 |
+
|
| 85 |
+
- [added] Support `<s>` strikeout text.
|
| 86 |
+
|
| 87 |
+
### 0.1.14 (2020-08-07)
|
| 88 |
+
|
| 89 |
+
- [fixed] A table with an `id` attribute on `<tbody>` would be hidden.
|
| 90 |
+
|
| 91 |
+
### 0.1.13 (2020-07-21)
|
| 92 |
+
|
| 93 |
+
- [changed] Run cargo fmt (thanks crunchyjesus)
|
| 94 |
+
- [added] CHANGELOG.md
|
| 95 |
+
- [fixed] Some text near a fragment start (`id="foo"` attribute) could be
|
| 96 |
+
lost if it needed breaking across lines.
|
| 97 |
+
- [added] Experimentally add dependabot configuration.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.lock
ADDED
|
@@ -0,0 +1,535 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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 = "addr2line"
|
| 7 |
+
version = "0.19.0"
|
| 8 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 9 |
+
checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"gimli",
|
| 12 |
+
]
|
| 13 |
+
|
| 14 |
+
[[package]]
|
| 15 |
+
name = "adler"
|
| 16 |
+
version = "1.0.2"
|
| 17 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 18 |
+
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
| 19 |
+
|
| 20 |
+
[[package]]
|
| 21 |
+
name = "argparse"
|
| 22 |
+
version = "0.2.2"
|
| 23 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 24 |
+
checksum = "3f8ebf5827e4ac4fd5946560e6a99776ea73b596d80898f357007317a7141e47"
|
| 25 |
+
|
| 26 |
+
[[package]]
|
| 27 |
+
name = "autocfg"
|
| 28 |
+
version = "1.1.0"
|
| 29 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 30 |
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
| 31 |
+
|
| 32 |
+
[[package]]
|
| 33 |
+
name = "backtrace"
|
| 34 |
+
version = "0.3.67"
|
| 35 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 36 |
+
checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca"
|
| 37 |
+
dependencies = [
|
| 38 |
+
"addr2line",
|
| 39 |
+
"cc",
|
| 40 |
+
"cfg-if",
|
| 41 |
+
"libc",
|
| 42 |
+
"miniz_oxide",
|
| 43 |
+
"object",
|
| 44 |
+
"rustc-demangle",
|
| 45 |
+
]
|
| 46 |
+
|
| 47 |
+
[[package]]
|
| 48 |
+
name = "bitflags"
|
| 49 |
+
version = "1.3.2"
|
| 50 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 51 |
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
| 52 |
+
|
| 53 |
+
[[package]]
|
| 54 |
+
name = "cc"
|
| 55 |
+
version = "1.0.79"
|
| 56 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 57 |
+
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
| 58 |
+
|
| 59 |
+
[[package]]
|
| 60 |
+
name = "cfg-if"
|
| 61 |
+
version = "1.0.0"
|
| 62 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 63 |
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
| 64 |
+
|
| 65 |
+
[[package]]
|
| 66 |
+
name = "futf"
|
| 67 |
+
version = "0.1.5"
|
| 68 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 69 |
+
checksum = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
|
| 70 |
+
dependencies = [
|
| 71 |
+
"mac",
|
| 72 |
+
"new_debug_unreachable",
|
| 73 |
+
]
|
| 74 |
+
|
| 75 |
+
[[package]]
|
| 76 |
+
name = "getrandom"
|
| 77 |
+
version = "0.2.9"
|
| 78 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 79 |
+
checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
|
| 80 |
+
dependencies = [
|
| 81 |
+
"cfg-if",
|
| 82 |
+
"libc",
|
| 83 |
+
"wasi",
|
| 84 |
+
]
|
| 85 |
+
|
| 86 |
+
[[package]]
|
| 87 |
+
name = "gimli"
|
| 88 |
+
version = "0.27.2"
|
| 89 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 90 |
+
checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4"
|
| 91 |
+
|
| 92 |
+
[[package]]
|
| 93 |
+
name = "html2text"
|
| 94 |
+
version = "0.6.0"
|
| 95 |
+
dependencies = [
|
| 96 |
+
"argparse",
|
| 97 |
+
"backtrace",
|
| 98 |
+
"html5ever",
|
| 99 |
+
"markup5ever",
|
| 100 |
+
"tendril",
|
| 101 |
+
"termion",
|
| 102 |
+
"unicode-width",
|
| 103 |
+
"xml5ever",
|
| 104 |
+
]
|
| 105 |
+
|
| 106 |
+
[[package]]
|
| 107 |
+
name = "html5ever"
|
| 108 |
+
version = "0.26.0"
|
| 109 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 110 |
+
checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7"
|
| 111 |
+
dependencies = [
|
| 112 |
+
"log",
|
| 113 |
+
"mac",
|
| 114 |
+
"markup5ever",
|
| 115 |
+
"proc-macro2",
|
| 116 |
+
"quote",
|
| 117 |
+
"syn",
|
| 118 |
+
]
|
| 119 |
+
|
| 120 |
+
[[package]]
|
| 121 |
+
name = "libc"
|
| 122 |
+
version = "0.2.144"
|
| 123 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 124 |
+
checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
|
| 125 |
+
|
| 126 |
+
[[package]]
|
| 127 |
+
name = "lock_api"
|
| 128 |
+
version = "0.4.9"
|
| 129 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 130 |
+
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
|
| 131 |
+
dependencies = [
|
| 132 |
+
"autocfg",
|
| 133 |
+
"scopeguard",
|
| 134 |
+
]
|
| 135 |
+
|
| 136 |
+
[[package]]
|
| 137 |
+
name = "log"
|
| 138 |
+
version = "0.4.17"
|
| 139 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 140 |
+
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
| 141 |
+
dependencies = [
|
| 142 |
+
"cfg-if",
|
| 143 |
+
]
|
| 144 |
+
|
| 145 |
+
[[package]]
|
| 146 |
+
name = "mac"
|
| 147 |
+
version = "0.1.1"
|
| 148 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 149 |
+
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
| 150 |
+
|
| 151 |
+
[[package]]
|
| 152 |
+
name = "markup5ever"
|
| 153 |
+
version = "0.11.0"
|
| 154 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 155 |
+
checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016"
|
| 156 |
+
dependencies = [
|
| 157 |
+
"log",
|
| 158 |
+
"phf",
|
| 159 |
+
"phf_codegen",
|
| 160 |
+
"string_cache",
|
| 161 |
+
"string_cache_codegen",
|
| 162 |
+
"tendril",
|
| 163 |
+
]
|
| 164 |
+
|
| 165 |
+
[[package]]
|
| 166 |
+
name = "memchr"
|
| 167 |
+
version = "2.5.0"
|
| 168 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 169 |
+
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
| 170 |
+
|
| 171 |
+
[[package]]
|
| 172 |
+
name = "miniz_oxide"
|
| 173 |
+
version = "0.6.2"
|
| 174 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 175 |
+
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
|
| 176 |
+
dependencies = [
|
| 177 |
+
"adler",
|
| 178 |
+
]
|
| 179 |
+
|
| 180 |
+
[[package]]
|
| 181 |
+
name = "new_debug_unreachable"
|
| 182 |
+
version = "1.0.4"
|
| 183 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 184 |
+
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
| 185 |
+
|
| 186 |
+
[[package]]
|
| 187 |
+
name = "numtoa"
|
| 188 |
+
version = "0.1.0"
|
| 189 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 190 |
+
checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
|
| 191 |
+
|
| 192 |
+
[[package]]
|
| 193 |
+
name = "object"
|
| 194 |
+
version = "0.30.3"
|
| 195 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 196 |
+
checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439"
|
| 197 |
+
dependencies = [
|
| 198 |
+
"memchr",
|
| 199 |
+
]
|
| 200 |
+
|
| 201 |
+
[[package]]
|
| 202 |
+
name = "once_cell"
|
| 203 |
+
version = "1.17.1"
|
| 204 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 205 |
+
checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3"
|
| 206 |
+
|
| 207 |
+
[[package]]
|
| 208 |
+
name = "parking_lot"
|
| 209 |
+
version = "0.12.1"
|
| 210 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 211 |
+
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
| 212 |
+
dependencies = [
|
| 213 |
+
"lock_api",
|
| 214 |
+
"parking_lot_core",
|
| 215 |
+
]
|
| 216 |
+
|
| 217 |
+
[[package]]
|
| 218 |
+
name = "parking_lot_core"
|
| 219 |
+
version = "0.9.7"
|
| 220 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 221 |
+
checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
|
| 222 |
+
dependencies = [
|
| 223 |
+
"cfg-if",
|
| 224 |
+
"libc",
|
| 225 |
+
"redox_syscall",
|
| 226 |
+
"smallvec",
|
| 227 |
+
"windows-sys",
|
| 228 |
+
]
|
| 229 |
+
|
| 230 |
+
[[package]]
|
| 231 |
+
name = "phf"
|
| 232 |
+
version = "0.10.1"
|
| 233 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 234 |
+
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
|
| 235 |
+
dependencies = [
|
| 236 |
+
"phf_shared",
|
| 237 |
+
]
|
| 238 |
+
|
| 239 |
+
[[package]]
|
| 240 |
+
name = "phf_codegen"
|
| 241 |
+
version = "0.10.0"
|
| 242 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 243 |
+
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
|
| 244 |
+
dependencies = [
|
| 245 |
+
"phf_generator",
|
| 246 |
+
"phf_shared",
|
| 247 |
+
]
|
| 248 |
+
|
| 249 |
+
[[package]]
|
| 250 |
+
name = "phf_generator"
|
| 251 |
+
version = "0.10.0"
|
| 252 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 253 |
+
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
| 254 |
+
dependencies = [
|
| 255 |
+
"phf_shared",
|
| 256 |
+
"rand",
|
| 257 |
+
]
|
| 258 |
+
|
| 259 |
+
[[package]]
|
| 260 |
+
name = "phf_shared"
|
| 261 |
+
version = "0.10.0"
|
| 262 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 263 |
+
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
| 264 |
+
dependencies = [
|
| 265 |
+
"siphasher",
|
| 266 |
+
]
|
| 267 |
+
|
| 268 |
+
[[package]]
|
| 269 |
+
name = "ppv-lite86"
|
| 270 |
+
version = "0.2.17"
|
| 271 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 272 |
+
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
| 273 |
+
|
| 274 |
+
[[package]]
|
| 275 |
+
name = "precomputed-hash"
|
| 276 |
+
version = "0.1.1"
|
| 277 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 278 |
+
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
| 279 |
+
|
| 280 |
+
[[package]]
|
| 281 |
+
name = "proc-macro2"
|
| 282 |
+
version = "1.0.58"
|
| 283 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 284 |
+
checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8"
|
| 285 |
+
dependencies = [
|
| 286 |
+
"unicode-ident",
|
| 287 |
+
]
|
| 288 |
+
|
| 289 |
+
[[package]]
|
| 290 |
+
name = "quote"
|
| 291 |
+
version = "1.0.27"
|
| 292 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 293 |
+
checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500"
|
| 294 |
+
dependencies = [
|
| 295 |
+
"proc-macro2",
|
| 296 |
+
]
|
| 297 |
+
|
| 298 |
+
[[package]]
|
| 299 |
+
name = "rand"
|
| 300 |
+
version = "0.8.5"
|
| 301 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 302 |
+
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
| 303 |
+
dependencies = [
|
| 304 |
+
"libc",
|
| 305 |
+
"rand_chacha",
|
| 306 |
+
"rand_core",
|
| 307 |
+
]
|
| 308 |
+
|
| 309 |
+
[[package]]
|
| 310 |
+
name = "rand_chacha"
|
| 311 |
+
version = "0.3.1"
|
| 312 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 313 |
+
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
| 314 |
+
dependencies = [
|
| 315 |
+
"ppv-lite86",
|
| 316 |
+
"rand_core",
|
| 317 |
+
]
|
| 318 |
+
|
| 319 |
+
[[package]]
|
| 320 |
+
name = "rand_core"
|
| 321 |
+
version = "0.6.4"
|
| 322 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 323 |
+
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
| 324 |
+
dependencies = [
|
| 325 |
+
"getrandom",
|
| 326 |
+
]
|
| 327 |
+
|
| 328 |
+
[[package]]
|
| 329 |
+
name = "redox_syscall"
|
| 330 |
+
version = "0.2.16"
|
| 331 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 332 |
+
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
| 333 |
+
dependencies = [
|
| 334 |
+
"bitflags",
|
| 335 |
+
]
|
| 336 |
+
|
| 337 |
+
[[package]]
|
| 338 |
+
name = "redox_termios"
|
| 339 |
+
version = "0.1.2"
|
| 340 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 341 |
+
checksum = "8440d8acb4fd3d277125b4bd01a6f38aee8d814b3b5fc09b3f2b825d37d3fe8f"
|
| 342 |
+
dependencies = [
|
| 343 |
+
"redox_syscall",
|
| 344 |
+
]
|
| 345 |
+
|
| 346 |
+
[[package]]
|
| 347 |
+
name = "rustc-demangle"
|
| 348 |
+
version = "0.1.23"
|
| 349 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 350 |
+
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"
|
| 351 |
+
|
| 352 |
+
[[package]]
|
| 353 |
+
name = "scopeguard"
|
| 354 |
+
version = "1.1.0"
|
| 355 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 356 |
+
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
| 357 |
+
|
| 358 |
+
[[package]]
|
| 359 |
+
name = "serde"
|
| 360 |
+
version = "1.0.163"
|
| 361 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 362 |
+
checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2"
|
| 363 |
+
|
| 364 |
+
[[package]]
|
| 365 |
+
name = "siphasher"
|
| 366 |
+
version = "0.3.10"
|
| 367 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 368 |
+
checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
| 369 |
+
|
| 370 |
+
[[package]]
|
| 371 |
+
name = "smallvec"
|
| 372 |
+
version = "1.10.0"
|
| 373 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 374 |
+
checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
|
| 375 |
+
|
| 376 |
+
[[package]]
|
| 377 |
+
name = "string_cache"
|
| 378 |
+
version = "0.8.7"
|
| 379 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 380 |
+
checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b"
|
| 381 |
+
dependencies = [
|
| 382 |
+
"new_debug_unreachable",
|
| 383 |
+
"once_cell",
|
| 384 |
+
"parking_lot",
|
| 385 |
+
"phf_shared",
|
| 386 |
+
"precomputed-hash",
|
| 387 |
+
"serde",
|
| 388 |
+
]
|
| 389 |
+
|
| 390 |
+
[[package]]
|
| 391 |
+
name = "string_cache_codegen"
|
| 392 |
+
version = "0.5.2"
|
| 393 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 394 |
+
checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
|
| 395 |
+
dependencies = [
|
| 396 |
+
"phf_generator",
|
| 397 |
+
"phf_shared",
|
| 398 |
+
"proc-macro2",
|
| 399 |
+
"quote",
|
| 400 |
+
]
|
| 401 |
+
|
| 402 |
+
[[package]]
|
| 403 |
+
name = "syn"
|
| 404 |
+
version = "1.0.109"
|
| 405 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 406 |
+
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
| 407 |
+
dependencies = [
|
| 408 |
+
"proc-macro2",
|
| 409 |
+
"quote",
|
| 410 |
+
"unicode-ident",
|
| 411 |
+
]
|
| 412 |
+
|
| 413 |
+
[[package]]
|
| 414 |
+
name = "tendril"
|
| 415 |
+
version = "0.4.3"
|
| 416 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 417 |
+
checksum = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
|
| 418 |
+
dependencies = [
|
| 419 |
+
"futf",
|
| 420 |
+
"mac",
|
| 421 |
+
"utf-8",
|
| 422 |
+
]
|
| 423 |
+
|
| 424 |
+
[[package]]
|
| 425 |
+
name = "termion"
|
| 426 |
+
version = "1.5.6"
|
| 427 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 428 |
+
checksum = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e"
|
| 429 |
+
dependencies = [
|
| 430 |
+
"libc",
|
| 431 |
+
"numtoa",
|
| 432 |
+
"redox_syscall",
|
| 433 |
+
"redox_termios",
|
| 434 |
+
]
|
| 435 |
+
|
| 436 |
+
[[package]]
|
| 437 |
+
name = "unicode-ident"
|
| 438 |
+
version = "1.0.8"
|
| 439 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 440 |
+
checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
|
| 441 |
+
|
| 442 |
+
[[package]]
|
| 443 |
+
name = "unicode-width"
|
| 444 |
+
version = "0.1.10"
|
| 445 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 446 |
+
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
|
| 447 |
+
|
| 448 |
+
[[package]]
|
| 449 |
+
name = "utf-8"
|
| 450 |
+
version = "0.7.6"
|
| 451 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 452 |
+
checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
| 453 |
+
|
| 454 |
+
[[package]]
|
| 455 |
+
name = "wasi"
|
| 456 |
+
version = "0.11.0+wasi-snapshot-preview1"
|
| 457 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 458 |
+
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
| 459 |
+
|
| 460 |
+
[[package]]
|
| 461 |
+
name = "windows-sys"
|
| 462 |
+
version = "0.45.0"
|
| 463 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 464 |
+
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
| 465 |
+
dependencies = [
|
| 466 |
+
"windows-targets",
|
| 467 |
+
]
|
| 468 |
+
|
| 469 |
+
[[package]]
|
| 470 |
+
name = "windows-targets"
|
| 471 |
+
version = "0.42.2"
|
| 472 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 473 |
+
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
| 474 |
+
dependencies = [
|
| 475 |
+
"windows_aarch64_gnullvm",
|
| 476 |
+
"windows_aarch64_msvc",
|
| 477 |
+
"windows_i686_gnu",
|
| 478 |
+
"windows_i686_msvc",
|
| 479 |
+
"windows_x86_64_gnu",
|
| 480 |
+
"windows_x86_64_gnullvm",
|
| 481 |
+
"windows_x86_64_msvc",
|
| 482 |
+
]
|
| 483 |
+
|
| 484 |
+
[[package]]
|
| 485 |
+
name = "windows_aarch64_gnullvm"
|
| 486 |
+
version = "0.42.2"
|
| 487 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 488 |
+
checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
| 489 |
+
|
| 490 |
+
[[package]]
|
| 491 |
+
name = "windows_aarch64_msvc"
|
| 492 |
+
version = "0.42.2"
|
| 493 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 494 |
+
checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
| 495 |
+
|
| 496 |
+
[[package]]
|
| 497 |
+
name = "windows_i686_gnu"
|
| 498 |
+
version = "0.42.2"
|
| 499 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 500 |
+
checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
| 501 |
+
|
| 502 |
+
[[package]]
|
| 503 |
+
name = "windows_i686_msvc"
|
| 504 |
+
version = "0.42.2"
|
| 505 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 506 |
+
checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
| 507 |
+
|
| 508 |
+
[[package]]
|
| 509 |
+
name = "windows_x86_64_gnu"
|
| 510 |
+
version = "0.42.2"
|
| 511 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 512 |
+
checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
| 513 |
+
|
| 514 |
+
[[package]]
|
| 515 |
+
name = "windows_x86_64_gnullvm"
|
| 516 |
+
version = "0.42.2"
|
| 517 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 518 |
+
checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
| 519 |
+
|
| 520 |
+
[[package]]
|
| 521 |
+
name = "windows_x86_64_msvc"
|
| 522 |
+
version = "0.42.2"
|
| 523 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 524 |
+
checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
| 525 |
+
|
| 526 |
+
[[package]]
|
| 527 |
+
name = "xml5ever"
|
| 528 |
+
version = "0.17.0"
|
| 529 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
| 530 |
+
checksum = "4034e1d05af98b51ad7214527730626f019682d797ba38b51689212118d8e650"
|
| 531 |
+
dependencies = [
|
| 532 |
+
"log",
|
| 533 |
+
"mac",
|
| 534 |
+
"markup5ever",
|
| 535 |
+
]
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.toml
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.56"
|
| 15 |
+
name = "html2text"
|
| 16 |
+
version = "0.6.0"
|
| 17 |
+
authors = ["Chris Emerson <github@mail.nosreme.org>"]
|
| 18 |
+
description = "Render HTML as plain text."
|
| 19 |
+
documentation = "https://docs.rs/html2text/"
|
| 20 |
+
readme = "README.md"
|
| 21 |
+
keywords = [
|
| 22 |
+
"html",
|
| 23 |
+
"text",
|
| 24 |
+
]
|
| 25 |
+
license = "MIT"
|
| 26 |
+
repository = "https://github.com/jugglerchris/rust-html2text/"
|
| 27 |
+
|
| 28 |
+
[[example]]
|
| 29 |
+
name = "html2term"
|
| 30 |
+
path = "examples/html2term.rs"
|
| 31 |
+
|
| 32 |
+
[[example]]
|
| 33 |
+
name = "html2text"
|
| 34 |
+
path = "examples/html2text.rs"
|
| 35 |
+
|
| 36 |
+
[dependencies.backtrace]
|
| 37 |
+
version = "0.3"
|
| 38 |
+
optional = true
|
| 39 |
+
|
| 40 |
+
[dependencies.html5ever]
|
| 41 |
+
version = "0.26.0"
|
| 42 |
+
|
| 43 |
+
[dependencies.markup5ever]
|
| 44 |
+
version = "0.11.0"
|
| 45 |
+
|
| 46 |
+
[dependencies.tendril]
|
| 47 |
+
version = "0.4"
|
| 48 |
+
|
| 49 |
+
[dependencies.unicode-width]
|
| 50 |
+
version = "0.1.5"
|
| 51 |
+
|
| 52 |
+
[dependencies.xml5ever]
|
| 53 |
+
version = "0.17"
|
| 54 |
+
|
| 55 |
+
[dev-dependencies.argparse]
|
| 56 |
+
version = "0.2.2"
|
| 57 |
+
|
| 58 |
+
[features]
|
| 59 |
+
ansi_colours = []
|
| 60 |
+
default = []
|
| 61 |
+
html_trace = []
|
| 62 |
+
html_trace_bt = ["backtrace"]
|
| 63 |
+
|
| 64 |
+
[target."cfg(unix)".dev-dependencies.termion]
|
| 65 |
+
version = "1.5"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/Cargo.toml.orig
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "html2text"
|
| 3 |
+
version = "0.6.0"
|
| 4 |
+
authors = ["Chris Emerson <github@mail.nosreme.org>"]
|
| 5 |
+
description = "Render HTML as plain text."
|
| 6 |
+
repository = "https://github.com/jugglerchris/rust-html2text/"
|
| 7 |
+
readme = "README.md"
|
| 8 |
+
documentation = "https://docs.rs/html2text/"
|
| 9 |
+
edition = "2018"
|
| 10 |
+
rust-version = "1.56"
|
| 11 |
+
|
| 12 |
+
keywords = ["html", "text"]
|
| 13 |
+
license = "MIT"
|
| 14 |
+
|
| 15 |
+
[dependencies]
|
| 16 |
+
html5ever = "0.26.0"
|
| 17 |
+
markup5ever = "0.11.0"
|
| 18 |
+
tendril = "0.4"
|
| 19 |
+
xml5ever = "0.17"
|
| 20 |
+
unicode-width = "0.1.5"
|
| 21 |
+
backtrace = { version = "0.3", optional=true }
|
| 22 |
+
|
| 23 |
+
[features]
|
| 24 |
+
html_trace = []
|
| 25 |
+
html_trace_bt = ["backtrace"]
|
| 26 |
+
default = []
|
| 27 |
+
ansi_colours = []
|
| 28 |
+
|
| 29 |
+
[[example]]
|
| 30 |
+
name = "html2term"
|
| 31 |
+
path = "examples/html2term.rs"
|
| 32 |
+
|
| 33 |
+
[[example]]
|
| 34 |
+
name = "html2text"
|
| 35 |
+
path = "examples/html2text.rs"
|
| 36 |
+
|
| 37 |
+
[dev-dependencies]
|
| 38 |
+
argparse = "0.2.2"
|
| 39 |
+
|
| 40 |
+
[target.'cfg(unix)'.dev-dependencies]
|
| 41 |
+
termion = "1.5"
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2016 Chris Emerson
|
| 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 THE
|
| 21 |
+
SOFTWARE.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[](https://app.circleci.com/pipelines/github/jugglerchris/rust-html2text?filter=all)
|
| 2 |
+
|
| 3 |
+
# html2text
|
| 4 |
+
|
| 5 |
+
html2text is a [Rust](http://www.rust-lang.org/) crate which converts HTML to
|
| 6 |
+
plain text.
|
| 7 |
+
|
| 8 |
+
It makes use of the [Servo project](https://github.com/servo/servo)'s HTML
|
| 9 |
+
parser, [html5ever](https://github.com/servo/html5ever/), using the DOM to
|
| 10 |
+
generate text (which can optionally include annotations for some features such
|
| 11 |
+
as hyperlinks).
|
| 12 |
+
|
| 13 |
+
The project aims to do a reasonable job of rendering reasonable HTML in a
|
| 14 |
+
terminal or other places where HTML needs to be converted to text (for
|
| 15 |
+
example the text/plain fallback in HTML e-mails).
|
| 16 |
+
|
| 17 |
+
## Examples
|
| 18 |
+
|
| 19 |
+
```rust
|
| 20 |
+
use html2text::from_read;
|
| 21 |
+
let html = b"
|
| 22 |
+
<ul>
|
| 23 |
+
<li>Item one</li>
|
| 24 |
+
<li>Item two</li>
|
| 25 |
+
<li>Item three</li>
|
| 26 |
+
</ul>";
|
| 27 |
+
assert_eq!(from_read(&html[..], 20),
|
| 28 |
+
"\
|
| 29 |
+
* Item one
|
| 30 |
+
* Item two
|
| 31 |
+
* Item three
|
| 32 |
+
");
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
A couple of simple demonstration programs are included as examples:
|
| 36 |
+
|
| 37 |
+
### html2text
|
| 38 |
+
|
| 39 |
+
The simplest example uses `from_read` to convert HTML on stdin into plain
|
| 40 |
+
text:
|
| 41 |
+
|
| 42 |
+
```sh
|
| 43 |
+
$ cargo run --example html2text < foo.html
|
| 44 |
+
[...]
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
### html2term
|
| 48 |
+
|
| 49 |
+
A very simple example of using the rich interface (`from_read_rich`) for a
|
| 50 |
+
slightly interactive console HTML viewer is provided as `html2term`.
|
| 51 |
+
|
| 52 |
+
```sh
|
| 53 |
+
$ cargo run --example html2term foo.html
|
| 54 |
+
[...]
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
Note that this example takes the HTML file as a parameter so that it can
|
| 58 |
+
read keys from stdin.
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/html2text-0.6.0/rust.yml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Rust
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches: [ master ]
|
| 6 |
+
pull_request:
|
| 7 |
+
branches: [ master ]
|
| 8 |
+
|
| 9 |
+
env:
|
| 10 |
+
CARGO_TERM_COLOR: always
|
| 11 |
+
|
| 12 |
+
jobs:
|
| 13 |
+
build:
|
| 14 |
+
|
| 15 |
+
runs-on: ubuntu-latest
|
| 16 |
+
|
| 17 |
+
steps:
|
| 18 |
+
- uses: actions/checkout@v2
|
| 19 |
+
- name: Build
|
| 20 |
+
run: cargo build --verbose
|
| 21 |
+
- name: Run tests
|
| 22 |
+
run: cargo test --verbose
|
.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/http-body-1.0.1/.cargo-ok
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"v":1}
|