docs.rs failed to build marctk-0.6.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
marctk-0.6.0
Rust MARC XML / Breaker / Binary Toolkit
Tools for parsing and generating MARC21 binary, XML, and breaker text.
Example
use Record;
// Read a file of MARC records, modify, and print them.
for record in from_binary_file.expect
Strings & Bytes
For ease of use, the API primarily traffics in &str/String's. Byte counts are enforced where needed, but otherwise the user can generally use Rust strings without concern for bytes and UTF-8 conversions.
Requirements
- Data must be UTF-8 compatible.
- Indicators and subfield codes must have a byte length of 1.
- Tags must have a byte length of 3.
- Leaders must have a byte length of 24.
- Binary leader/directory metadata must be sane/usable.
In cases where these conditions are not met, routines exit early with explanatory Err()'s.