Skip to content

Commit b1925f7

Browse files
committed
refactor: remove some unneeded/obsolete types
1 parent 23021c4 commit b1925f7

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trace_types"
3-
version = "0.5.1"
3+
version = "0.5.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

src/types.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ pub struct TraceMetadata {
3232
pub args: Vec<String>,
3333
}
3434

35-
#[derive(Debug, Clone, Serialize, Deserialize)]
36-
pub struct TraceLowLevelRecord {
37-
pub events: Vec<TraceLowLevelEvent>,
38-
}
39-
4035
// call keys:
4136

4237
#[derive(Debug, Default, Copy, Clone, PartialEq, Serialize, Deserialize)]
@@ -304,22 +299,3 @@ pub enum EventLogKind {
304299
// used for trace events
305300
TraceLogEvent,
306301
}
307-
308-
// struct Interpreter {
309-
// env: Vec<HashMap<String, ValueId>>,
310-
// values: Vec<Value>,
311-
// interned_ints: HashMap<i64, ValueId>,
312-
// interned_strings: HashMap<String, ValueId>,
313-
// current_position: Position,
314-
// // for now: TODO? more than one program file?
315-
// program_path: PathBuf,
316-
317-
// tracing: bool,
318-
// workdir: PathBuf,
319-
// paths: HashMap<PathBuf, PathId>,
320-
// functions: HashMap<String, FunctionId>,
321-
// variables: HashMap<String, VariableId>,
322-
// types: HashMap<String, TypeId>,
323-
324-
// events: Vec<TraceLowLevelEvent>,
325-
// }

0 commit comments

Comments
 (0)