Skip to content

Commit

Permalink
- update: NullTerminatedString to utils crate
Browse files Browse the repository at this point in the history
- update: README.md
  • Loading branch information
RavenX8 committed Dec 13, 2024
1 parent ddc2975 commit 953d64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
packet generator for osiROSE-new

##### Build status
[![lin-badge]][lin-link] [![win-badge]][win-link]

[lin-badge]: https://travis-ci.com/dev-osrose/IDL.svg?branch=master "Linux build status"
[lin-link]: https://travis-ci.com/dev-osrose/IDL "Linux build status"
[win-badge]: https://ci.appveyor.com/api/projects/status/vok7xs5wr1ajqpbc?svg=true "Windows build status"
[win-link]: https://ci.appveyor.com/project/RavenX8/idl "Windows build status"
Check the actions tab for build status.
2 changes: 1 addition & 1 deletion generator/src/codegen/rust/codegen_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ impl<'a, W: Write> CodeSourceGenerator<'a, W> {
cg!(self, r#"use bincode::{{Encode, Decode, enc::Encoder, de::Decoder, error::DecodeError}};"#);
cg!(self, r#"use bincode::de::read::Reader;"#);
cg!(self, r#"use bincode::enc::write::Writer;"#);
cg!(self, r#"use utils::null_string::NullTerminatedString;"#);
cg!(self, r#"use crate::enums::*;"#);
cg!(self, r#"use crate::types::*;"#);
cg!(self, r#"use crate::dataconsts::*;"#);
cg!(self, r#"use crate::packet::PacketPayload;"#);
cg!(self, r#"use crate::handlers::null_string::NullTerminatedString;"#);

let mut iserialize: HashMap<String, String> = HashMap::new();
iserialize.insert("int8_t".to_string(), "i8".to_string());
Expand Down

0 comments on commit 953d64e

Please sign in to comment.