# Objective
When running `cargo check --no-default-features --features render` I get
```rust
warning: unused import: `Quat`
--> crates/bevy_gltf/src/loader.rs:11:23
|
11 | use bevy_math::{Mat4, Quat, Vec3};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: function is never used: `paths_recur`
--> crates/bevy_gltf/src/loader.rs:542:4
|
542 | fn paths_recur(
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
```
## Solution
Put these items behind `#[cfg(feature = "animation")]`.
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||