зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1806766 - Updata data-encoding to 2.3.3. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165334
This commit is contained in:
Родитель
49ede6e263
Коммит
cc41cb3957
|
@ -1277,9 +1277,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "data-encoding"
|
||||
version = "2.3.2"
|
||||
version = "2.3.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
|
||||
checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb"
|
||||
|
||||
[[package]]
|
||||
name = "data-encoding-ffi"
|
||||
|
|
|
@ -430,6 +430,11 @@ criteria = "safe-to-deploy"
|
|||
delta = "0.4.1 -> 0.5.0"
|
||||
notes = "The commits between 0.4.1 and 0.5.0 were all audited by Dzmitry Malyshau or myself."
|
||||
|
||||
[[audits.data-encoding]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "2.3.2 -> 2.3.3"
|
||||
|
||||
[[audits.derive_arbitrary]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-run"
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"files":{"Cargo.toml":"7d194e74f962d707a65d607af4e9a615e91a1c32e33a8ce617446725ce247313","LICENSE":"b68ad1a3367b825447089e1f8d6829b97f47a89eb78d2f4ebaef4672f5606186","README.md":"021d067021f4228b8cce30013ea1297587f577785a87577e847441e8f9a84717","src/lib.rs":"8a4fa7649e0c0711b5a136182de37b88ef85e8bbe623ed6fbf335face1557d5d"},"package":"3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"}
|
||||
{"files":{"Cargo.toml":"8e951c8c17231134e3d1a5450a8355509ae87046aff9a64721bb785cf245a72e","LICENSE":"b68ad1a3367b825447089e1f8d6829b97f47a89eb78d2f4ebaef4672f5606186","README.md":"ac92e91c7165d183c7578f78557608c7ffaa3033cbfcb04ab879d80454b0955a","src/lib.rs":"51a950c3b3ad7ad512743834a831a80bcc39091f5d3c0927e1a5f98daed213f6"},"package":"23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb"}
|
|
@ -3,24 +3,37 @@
|
|||
# When uploading crates to the registry Cargo will automatically
|
||||
# "normalize" Cargo.toml files for maximal compatibility
|
||||
# with all versions of Cargo and also rewrite `path` dependencies
|
||||
# to registry (e.g., crates.io) dependencies
|
||||
# to registry (e.g., crates.io) dependencies.
|
||||
#
|
||||
# If you believe there's an error in this file please file an
|
||||
# issue against the rust-lang/cargo repository. If you're
|
||||
# editing this file be aware that the upstream Cargo.toml
|
||||
# will likely look very different (and much more reasonable)
|
||||
# If you are reading this file be aware that the original Cargo.toml
|
||||
# will likely look very different (and much more reasonable).
|
||||
# See Cargo.toml.orig for the original contents.
|
||||
|
||||
[package]
|
||||
edition = "2018"
|
||||
rust-version = "1.46"
|
||||
name = "data-encoding"
|
||||
version = "2.3.2"
|
||||
version = "2.3.3"
|
||||
authors = ["Julien Cretin <git@ia0.eu>"]
|
||||
include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"]
|
||||
include = [
|
||||
"Cargo.toml",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"src/lib.rs",
|
||||
]
|
||||
description = "Efficient and customizable data-encoding functions like base64, base32, and hex"
|
||||
documentation = "https://docs.rs/data-encoding"
|
||||
readme = "README.md"
|
||||
keywords = ["no_std", "base64", "base32", "hex"]
|
||||
categories = ["encoding", "no-std"]
|
||||
keywords = [
|
||||
"no_std",
|
||||
"base64",
|
||||
"base32",
|
||||
"hex",
|
||||
]
|
||||
categories = [
|
||||
"encoding",
|
||||
"no-std",
|
||||
]
|
||||
license = "MIT"
|
||||
repository = "https://github.com/ia0/data-encoding"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[![Build Status][travis_badge]][travis]
|
||||
[![Build Status][appveyor_badge]][appveyor]
|
||||
[![CI Status][ci_badge]][ci]
|
||||
[![Coverage Status][coveralls_badge]][coveralls]
|
||||
|
||||
This library provides the following common encodings:
|
||||
|
@ -28,10 +27,8 @@ all above use-cases are particular instances).
|
|||
|
||||
See the [documentation] for more details.
|
||||
|
||||
[appveyor]: https://ci.appveyor.com/project/ia0/data-encoding
|
||||
[appveyor_badge]:https://ci.appveyor.com/api/projects/status/wm4ga69xnlriukhl/branch/master?svg=true
|
||||
[ci]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml
|
||||
[ci_badge]: https://github.com/ia0/data-encoding/actions/workflows/ci.yml/badge.svg
|
||||
[coveralls]: https://coveralls.io/github/ia0/data-encoding?branch=master
|
||||
[coveralls_badge]: https://coveralls.io/repos/github/ia0/data-encoding/badge.svg?branch=master
|
||||
[documentation]: https://docs.rs/data-encoding
|
||||
[travis]: https://travis-ci.org/ia0/data-encoding
|
||||
[travis_badge]: https://travis-ci.org/ia0/data-encoding.svg?branch=master
|
||||
|
|
|
@ -353,7 +353,6 @@ fn order(msb: bool, n: usize, i: usize) -> usize {
|
|||
}
|
||||
|
||||
fn enc(bit: usize) -> usize {
|
||||
debug_assert!(1 <= bit && bit <= 6);
|
||||
match bit {
|
||||
1 | 2 | 4 => 1,
|
||||
3 | 6 => 3,
|
||||
|
|
Загрузка…
Ссылка в новой задаче