Docs.rs
contract-build-5.0.3
contract-build 5.0.3
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
cmichi
ascjones
AlexD10S
github:use-ink:ink-developers
peterwht
Dependencies
anyhow ^1.0.94
normal
blake2 ^0.10.6
normal
bollard ^0.18
normal
cargo_metadata ^0.19.1
normal
clap ^4.5.22
normal
colored ^2.1.0
normal
contract-metadata ^5.0.3
normal
crossterm ^0.28.1
normal
duct ^0.13.7
normal
heck ^0.5.0
normal
hex ^0.4.3
normal
impl-serde ^0.5.0
normal
regex ^1
normal
rustc_version ^0.4.0
normal
parity-scale-codec ^3.0.0
normal
semver ^1.0.23
normal
serde ^1
normal
serde_json ^1.0.133
normal
strum ^0.26
normal
tempfile ^3.10.1
normal
term_size ^0.3.2
normal
tokio ^1
normal
tokio-stream ^0.1
normal
toml ^0.8.13
normal
tracing ^0.1.40
normal
url ^2.5.4
normal
wasm-encoder ^0.220.0
normal
wasm-opt =0.116.1
normal
wasmparser ^0.220.0
normal
which ^7.0.0
normal
zip ^2.2.1
normal
pretty_assertions ^1.4.1
dev
wabt ^0.10.0
dev
anyhow ^1.0.94
build
walkdir ^2.5.0
build
zip ^2.2.1
build
uzers ^0.12
normal
Versions
58.52%
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
code_hash
contract_
build
5.0.3
contract_build
Function
code_
hash
Copy item path
Source
pub fn code_hash(code: &[
u8
]) -> [
u8
;
32
]
Expand description
Returns the blake2 hash of the code slice.