Skip to content

Commit

Permalink
fix(y-octo): missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Sep 8, 2023
1 parent 097ade7 commit 121b8d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions y-octo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ nom = "7.1"
ordered-float = "3.8"
rand = "0.8"
rand_chacha = "0.3"
serde = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"

Expand All @@ -50,7 +50,7 @@ lib0 = { version = "0.16", features = ["lib0-serde"] }
ordered-float = { version = "3.8", features = ["proptest"] }
path-ext = "0.1"
proptest = "1.1"
proptest-derive = "0.3"
proptest-derive = "0.4"
y-sync = "=0.3.0"
yrs = "=0.16.5"

Expand Down
1 change: 1 addition & 0 deletions y-octo/src/doc/history.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::collections::{HashMap, VecDeque};

use log::info;
use serde::Serialize;

use super::*;
Expand Down
2 changes: 1 addition & 1 deletion y-octo/yrs-is-unsafe/bin/mem_usage.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use yrs::{updates::decoder::Decode, Update};

fn main() {
if let Ok(_) = Update::decode_v1(&[255, 255, 255, 122]) {};
if Update::decode_v1(&[255, 255, 255, 122]).is_ok() {};
}

0 comments on commit 121b8d9

Please sign in to comment.