Upgrade and document crate
The rust support still unfinished, so it is safe to not bother with backward compatibility here. I removed methods, that was newer used by the RustCompiler / RustTranslator, add new methods which is currently recommended to be implemented by runtime and document the crate. I also add a new trait FromStrRadix that would be used in my work on Rust target.
Glad to see this get picked up!
@dgramop:
Glad to see this get picked up!
Actually, contents of this repo have been completely replaced in https://github.com/kaitai-io/kaitai_struct_rust_runtime/pull/6 (because the compiler PR https://github.com/kaitai-io/kaitai_struct_compiler/pull/250 for improving Rust support by @Agile86 and @revitalyr depended on another runtime library implementation, see https://github.com/kaitai-io/kaitai_struct/issues/22#issuecomment-2095928775), so this PR is non-actionable. Someone would have to cherry-pick individual things from this PR and adapt them to the reworked implementation (and not everything may translate well or at all), if this PR has some good things worth porting.