Docs.rs
postgresql_archive-0.20.0
postgresql_archive 0.20.0
Permalink
Docs.rs crate page
(
Apache-2.0
OR
MIT
) AND
PostgreSQL
Links
Repository
crates.io
Source
Owners
brianheineman
Dependencies
async-trait ^0.1.89
normal
flate2 ^1.1.2
normal
optional
futures-util ^0.3.31
normal
hex ^0.4.3
normal
liblzma ^0.4.4
normal
optional
md-5 ^0.10.6
normal
optional
num-format ^0.4.4
normal
quick-xml ^0.38.3
normal
optional
regex-lite ^0.1.7
normal
reqwest ^0.12.23
normal
reqwest-middleware ^0.4.2
normal
reqwest-retry ^0.7.0
normal
reqwest-tracing ^0.5.8
normal
semver ^1.0.26
normal
serde ^1.0.219
normal
serde_json ^1.0.143
normal
optional
sha1 ^0.10.6
normal
optional
sha2 ^0.10.8
normal
optional
tar ^0.4.44
normal
optional
target-triple ^0.1.4
normal
optional
tempfile ^3.21.0
normal
thiserror ^2.0.16
normal
tokio ^1.47.1
normal
optional
tracing ^0.1.41
normal
tracing-indicatif ^0.3.13
normal
optional
url ^2.5.7
normal
zip ^4.5.0
normal
optional
anyhow ^1.0.99
dev
criterion ^0.7.0
dev
hex ^0.4.3
dev
test-log ^0.2.18
dev
tokio ^1.47.1
dev
Versions
67.95%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
hash
postgresql_
archive
0.20.0
hash
Sections
Errors
In postgresql_
archive::
hasher::
sha2_
256
postgresql_archive
::
hasher
::
sha2_256
Function
hash
Copy item path
Source
pub fn hash(data: &
Vec
<
u8
>) ->
Result
<
String
>
Expand description
Hashes the data using SHA2-256.
ยง
Errors
If the data cannot be hashed.