mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
remove bincode dep
This commit is contained in:
parent
3f48387079
commit
bba1d69c13
@ -31,7 +31,7 @@ unicode-width = "~0.1"
|
||||
vte = { git = "https://github.com/wez/vte", branch="oscbigbuf" }
|
||||
|
||||
[dev-dependencies]
|
||||
bincode = "1.1"
|
||||
varbincode = { path = "../varbincode" }
|
||||
|
||||
[dependencies.num-derive]
|
||||
features = ["full-syntax"]
|
||||
|
@ -244,8 +244,8 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn roundtrip_rgbcolor() {
|
||||
let data = bincode::serialize(&RgbColor::from_named("DarkGreen").unwrap()).unwrap();
|
||||
let data = varbincode::serialize(&RgbColor::from_named("DarkGreen").unwrap()).unwrap();
|
||||
eprintln!("serialized as {:?}", data);
|
||||
let _decoded: RgbColor = bincode::deserialize(&data).unwrap();
|
||||
let _decoded: RgbColor = varbincode::deserialize(data.as_slice()).unwrap();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user