Skip to content

Commit

Permalink
Replace slab_tree with nary_tree because the former is no longer main…
Browse files Browse the repository at this point in the history
…tained.
  • Loading branch information
kenchou committed Aug 21, 2024
1 parent dc549b0 commit adfa758
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ dirs-next = "2.0.0"
fancy-regex = "0.13.0"
itertools = "0.13.0"
md-5 = { version = "0.10.6", features = ["md5-asm"] }
nary_tree = "0.4.3"
quick-error = "2.0.1"
serde = { version = "1.0.204", features = ["derive"] }
serde_yaml = "0.9.34"
slab_tree = "0.3.2"
walkdir = "2.5.0"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion src/p2tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::path::{Path,PathBuf};
use std::collections::HashMap;
use std::fs::read_link;

use slab_tree::{NodeId,TreeBuilder,Tree};
use nary_tree::{NodeId,TreeBuilder,Tree};
use colored::*;

use crate::data::Operation;
Expand Down
2 changes: 1 addition & 1 deletion src/tprint.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use slab_tree::{NodeRef, Tree};
use nary_tree::{NodeRef, Tree};

const GLYPH_TREE_SPACE: &str = " ";
const GLYPH_TREE_BRANCH: &str = "│ ";
Expand Down

0 comments on commit adfa758

Please sign in to comment.