Docs.rs
switchboard-common-0.11.3
switchboard-common 0.11.3
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
mgild
gallynaut
ahermida
Dependencies
async-trait ^0.1
normal
base64 ^0.21.5
normal
envy ^0.4
normal
futures ^0.3
normal
getrandom ^0.2.8
normal
hex ^0.4.3
normal
ipfs-api ^0.17.0
normal
ipfs-api-backend-hyper ^0.6
normal
ipfs-api-prelude ^0.6
normal
log ^0.4.20
normal
serde ^1
normal
serde_json ^1
normal
sgx-quote ^0.1.0
normal
sha2 ^0.10.8
normal
sha3 ^0.10.8
normal
pretty_assertions ^1.4.0
dev
rand ^0.8.5
dev
simple_logger ^4.2
dev
Versions
28.52%
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
switchboard_common
0.11.3
Module utils
Functions
In crate switchboard_common
?
Module
switchboard_common
::
utils
source
·
[
−
]
Functions
§
read_and_trim_file
Read a file to a string and trim any leading or trailing whitespace.
unix_timestamp
Return the unix timestamp in seconds.