Skip to content

Commit 953d64e

Browse files
committed
- update: NullTerminatedString to utils crate
- update: README.md
1 parent ddc2975 commit 953d64e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22
packet generator for osiROSE-new
33

44
##### Build status
5-
[![lin-badge]][lin-link] [![win-badge]][win-link]
65

7-
[lin-badge]: https://travis-ci.com/dev-osrose/IDL.svg?branch=master "Linux build status"
8-
[lin-link]: https://travis-ci.com/dev-osrose/IDL "Linux build status"
9-
[win-badge]: https://ci.appveyor.com/api/projects/status/vok7xs5wr1ajqpbc?svg=true "Windows build status"
10-
[win-link]: https://ci.appveyor.com/project/RavenX8/idl "Windows build status"
6+
Check the actions tab for build status.

generator/src/codegen/rust/codegen_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ impl<'a, W: Write> CodeSourceGenerator<'a, W> {
3636
cg!(self, r#"use bincode::{{Encode, Decode, enc::Encoder, de::Decoder, error::DecodeError}};"#);
3737
cg!(self, r#"use bincode::de::read::Reader;"#);
3838
cg!(self, r#"use bincode::enc::write::Writer;"#);
39+
cg!(self, r#"use utils::null_string::NullTerminatedString;"#);
3940
cg!(self, r#"use crate::enums::*;"#);
4041
cg!(self, r#"use crate::types::*;"#);
4142
cg!(self, r#"use crate::dataconsts::*;"#);
4243
cg!(self, r#"use crate::packet::PacketPayload;"#);
43-
cg!(self, r#"use crate::handlers::null_string::NullTerminatedString;"#);
4444

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

0 commit comments

Comments
 (0)