copybook
copybook is the canonical crates.io entrypoint for the
copybook-rs project.
copybook-rs is an existing Rust crate family for COBOL copybook and mainframe
data tooling. The component crates remain available for users who want narrow
dependencies. This root crate provides a convenient facade over the public
component crates.
Facade Modules
The facade keeps the public surface module-shaped and explicit:
use codec;
use core;
use error;
Each module re-exports the corresponding published component crate:
| Module | Component crate |
|---|---|
charset |
copybook-charset |
codec |
copybook-codec |
codepage |
copybook-codepage |
contracts |
copybook-contracts |
core |
copybook-core |
determinism |
copybook-determinism |
error |
copybook-error |
error_reporter |
copybook-error-reporter |
fixed |
copybook-fixed |
governance_contracts |
copybook-governance-contracts |
options |
copybook-options |
overflow |
copybook-overflow |
overpunch |
copybook-overpunch |
rdw |
copybook-rdw |
record_io |
copybook-record-io |
support_matrix |
copybook-support-matrix |
utils |
copybook-utils |
Use the component crates directly when you need the smallest possible dependency
surface. Use copybook when you want the canonical project entrypoint and a
single dependency over the public crate family.
Add copybook in your Cargo.toml:
[]
= "0.5"