kaitai_struct_rust_runtime icon indicating copy to clipboard operation
kaitai_struct_rust_runtime copied to clipboard

Upgrade and document crate

Open Mingun opened this issue 1 year ago • 2 comments

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.

Mingun avatar Mar 29 '24 21:03 Mingun

Glad to see this get picked up!

dgramop avatar Sep 25 '24 02:09 dgramop

@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.

generalmimon avatar Sep 25 '24 07:09 generalmimon