Expand description
Import of third-party ballistic profile files.
Currently supports the ArcherBC2 .a7p format (MD5-hex envelope + proto3
payload). The wire format is implemented here from the protobuf wire
specification for interoperability; no upstream schema files or code are
vendored (the a7p project is LGPL-3.0, this crate is MIT OR Apache-2.0).
Structs§
- A7pDocument
- A7pImport
Outcome - A7pProfile
- Import
Report - Everything
profile importproduced: the profile to save plus the honest account of what mapped, what did not, and why. - Unknown
Field
Enums§
Functions§
- map_
a7p_ to_ profile - parse_
a7p - sanitize_
profile_ name - Restrict imported profile names to characters that are safe as file names
in the profile store (
~/.ballistics/profiles/<name>.json). - wrap_
payload - Wrap a serialized Payload in the .a7p envelope (MD5 hex prefix). The
inverse of the envelope check in
parse_a7p; used by tests today and by .a7p export later.