Docs.rs
anchor-syn-0.30.1
anchor-syn 0.30.1
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
armaniferrante
acheroncrypto
Dependencies
anyhow ^1
normal
bs58 ^0.5
normal
cargo_toml ^0.19
normal
optional
heck ^0.3
normal
proc-macro2 ^1
normal
quote ^1
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
syn ^1
normal
thiserror ^1
normal
Versions
2.73%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
anchor_syn
0.30.1
In anchor_syn::hash
Function
anchor_syn
::
hash
::
hash
Copy item path
source
ยท
[
−
]
pub fn hash(val: &[
u8
]) ->
Hash
Available on
crate feature
hash
only.
Expand description
Return a Sha256 hash for the given data.