From 4c4e54ac8a9782439744fe15aa31a3bedab92b74 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 14 Jan 2021 18:47:42 +0300 Subject: prepare to publish el libro de arena --- crates/profile/Cargo.toml | 3 +-- crates/profile/src/tree.rs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'crates/profile') diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 4951f1835..096233a09 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -13,8 +13,7 @@ doctest = false once_cell = "1.3.1" cfg-if = "1" libc = "0.2.73" - -arena = { path = "../arena", version = "0.0.0" } +la-arena = "0.1.0" [target.'cfg(target_os = "linux")'.dependencies] perf-event = "0.4" diff --git a/crates/profile/src/tree.rs b/crates/profile/src/tree.rs index 3fac1f36c..62f0c30b5 100644 --- a/crates/profile/src/tree.rs +++ b/crates/profile/src/tree.rs @@ -1,7 +1,7 @@ //! A simple tree implementation which tries to not allocate all over the place. use std::ops; -use arena::Arena; +use la_arena::Arena; #[derive(Default)] pub(crate) struct Tree { @@ -9,7 +9,7 @@ pub(crate) struct Tree { current_path: Vec<(Idx, Option>)>, } -pub(crate) type Idx = arena::Idx>; +pub(crate) type Idx = la_arena::Idx>; impl Tree { pub(crate) fn start(&mut self) -- cgit v1.2.3