Skip to content

Commit 8e1aea0

Browse files
committed
clean: remove unused deps
1 parent 88ac277 commit 8e1aea0

File tree

4 files changed

+1
-43
lines changed

4 files changed

+1
-43
lines changed

Cargo.lock

Lines changed: 1 addition & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

float-pigment-forest/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ euclid = "0.22"
4242
concat-idents = "1.1.3"
4343
cbindgen = { version = "0.19", optional = true }
4444
lru = "0.7.8"
45-
fs_extra = "1.2"
4645
float-pigment-forest-macro = { workspace = true }
4746
bit-vec = "0.6.3"
4847
lazy_static = "1.4"

float-pigment-layout/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,5 @@ euclid = { version = "0.22", default-features = false, features = ["libm"] }
2525
lru = "0.7.8"
2626
float-pigment-css = { workspace = true }
2727

28-
[target.'cfg(target_os="android")'.dependencies]
29-
android_logger = "0.13.0"
30-
3128
[lints]
3229
workspace = true

float-pigment-layout/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ impl<T: LayoutTreeNode> LayoutNode<T> {
317317
/// The `env` will be received in measure functions.
318318
#[inline]
319319
pub fn update(&self, env: &mut T::Env, node: &T, available_size: OptionSize<T::Length>) {
320-
init_debug_logger();
321320
self.unit.borrow_mut().compute(env, node, available_size)
322321
}
323322

@@ -335,7 +334,6 @@ impl<T: LayoutTreeNode> LayoutNode<T> {
335334
available_size: OptionSize<T::Length>,
336335
containing_size: OptionSize<T::Length>,
337336
) {
338-
init_debug_logger();
339337
self.unit.borrow_mut().compute_with_containing_size(
340338
env,
341339
node,
@@ -444,9 +442,3 @@ impl<L: LengthNum> Default for ComputedStyle<L> {
444442
}
445443
}
446444
}
447-
448-
#[doc(hidden)]
449-
pub fn init_debug_logger() {
450-
#[cfg(target_os = "android")]
451-
android_logger::init_once(android_logger::Config::default().with_max_level(LevelFilter::Trace));
452-
}

0 commit comments

Comments
 (0)