chore: bump version to 0.1.7

- Improve index parsing logic with better error handling
This commit is contained in:
ysq
2025-07-29 23:11:20 +08:00
parent 0a4be48b99
commit 3e41481cfa
4 changed files with 17 additions and 7 deletions
+12 -2
View File
@@ -326,8 +326,18 @@ pub trait EventParser: Send + Sync {
let i_index_parent_index = i_index.split(".").nth(0).unwrap();
let in_index_parent_index = in_index.split(".").nth(0).unwrap();
if i_index_parent_index == in_index_parent_index {
let i_index_child_index = i_index.split(".").nth(1).unwrap();
let in_index_child_index = in_index.split(".").nth(1).unwrap();
let i_index_child_index = i_index
.split(".")
.nth(1)
.unwrap()
.parse::<u32>()
.unwrap_or(0);
let in_index_child_index = in_index
.split(".")
.nth(1)
.unwrap()
.parse::<u32>()
.unwrap_or(0);
if in_index_child_index > i_index_child_index {
instruction_event.merge(inner_instruction_event.clone_boxed());
break;