Expand description
bdrck is a crate which contains some basic foundational tools. In general,
Modules
The configuration module contains utilities for persisting application
configuration to disk.
crypto contains some basic cryptographic primitives, built largely on top of
NaCl, which are generally useful for any program which performs crypto ops.
error defines error types specific to bdrck, which properly aggregates
errors from all of bdrck’s dependencies.
flags defines a library for command-line argument parsing.
fs provides various utilities for interacting with the filesystem.
http provides a really thin HTTP client wrapper around reqwest. The main
value-add is the addition of a mechanism for recording HTTP sessions, which
can be used for generating data for unit tests and then replaying it during
the test so we can verify the client’s behavior given previously observed
server behavior.
logging provides Logger implementations suitable for either command-line
applications or serving daemons.
net provides additional network-related utilities, on top of what is
available in std.
testing provides utilities which are useful for unit testing real production
code.
Functions
This function must be called before calling any other library code, or else
undefined behavior (thread safety problems in particular) may result. This
is due to underlying C library dependencies.