consistently dont use smallvec default features (#19972)

# Objective

- for smallvec some crates specify default features false, other dont.
turns out we dont need them

## Solution

- remove

## Testing

- 3d_scene
This commit is contained in:
atlv 2025-07-06 00:25:26 -04:00 committed by GitHub
parent dd57db44d9
commit c5fe7f0975
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 15 additions and 12 deletions

View File

@ -41,7 +41,7 @@ derive_more = { version = "2", default-features = false, features = ["from"] }
either = "1.13"
thread_local = "1"
uuid = { version = "1.13.1", features = ["v4"] }
smallvec = "1"
smallvec = { version = "1", default-features = false }
tracing = { version = "0.1", default-features = false, features = ["std"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]

View File

@ -31,7 +31,7 @@ serde = { version = "1", default-features = false, features = ["derive"] }
thiserror = { version = "2", default-features = false }
downcast-rs = { version = "2", default-features = false, features = ["std"] }
derive_more = { version = "2", default-features = false, features = ["from"] }
smallvec = { version = "1.11", features = ["const_new"] }
smallvec = { version = "1", default-features = false, features = ["const_new"] }
[features]
default = []

View File

@ -43,7 +43,7 @@ serde = { version = "1", features = ["derive"] }
bitflags = "2.3"
radsort = "0.1"
nonmax = "0.5"
smallvec = "1"
smallvec = { version = "1", default-features = false }
thiserror = { version = "2", default-features = false }
tracing = { version = "0.1", default-features = false, features = ["std"] }
bytemuck = { version = "1" }

View File

@ -112,7 +112,10 @@ derive_more = { version = "2", default-features = false, features = [
] }
nonmax = { version = "0.5", default-features = false }
arrayvec = { version = "0.7.4", default-features = false, optional = true }
smallvec = { version = "1", features = ["union", "const_generics"] }
smallvec = { version = "1", default-features = false, features = [
"union",
"const_generics",
] }
indexmap = { version = "2.5.0", default-features = false }
variadics_please = { version = "1.1", default-features = false }
tracing = { version = "0.1", default-features = false, optional = true }

View File

@ -63,7 +63,7 @@ itertools = "0.14"
percent-encoding = "2.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.140"
smallvec = "1.11"
smallvec = { version = "1", default-features = false }
tracing = { version = "0.1", default-features = false, features = ["std"] }
bevy_log = { path = "../bevy_log", version = "0.17.0-dev" }

View File

@ -24,7 +24,7 @@ libm = { version = "0.2", optional = true }
approx = { version = "0.5", default-features = false, optional = true }
rand = { version = "0.8", default-features = false, optional = true }
rand_distr = { version = "0.4.3", optional = true }
smallvec = { version = "1.11" }
smallvec = { version = "1", default-features = false }
bevy_reflect = { path = "../bevy_reflect", version = "0.17.0-dev", default-features = false, features = [
"glam",
], optional = true }

View File

@ -71,7 +71,7 @@ bitvec = { version = "1", optional = true }
# direct dependency required for derive macro
bytemuck = { version = "1", features = ["derive", "must_cast"] }
radsort = "0.1"
smallvec = "1.6"
smallvec = { version = "1", default-features = false }
nonmax = "0.5"
static_assertions = "1"
tracing = { version = "0.1", default-features = false, features = ["std"] }

View File

@ -96,7 +96,7 @@ thiserror = { version = "2", default-features = false }
derive_more = { version = "2", default-features = false, features = ["from"] }
serde = { version = "1", default-features = false, features = ["alloc"] }
assert_type_match = "0.1.1"
smallvec = { version = "1.11", default-features = false, optional = true }
smallvec = { version = "1", default-features = false, optional = true }
glam = { version = "0.29.3", default-features = false, features = [
"serde",
], optional = true }

View File

@ -114,7 +114,7 @@ profiling = { version = "1", features = [
], optional = true }
async-channel = "2.3.0"
nonmax = "0.5"
smallvec = { version = "1.11", features = ["const_new"] }
smallvec = { version = "1", default-features = false, features = ["const_new"] }
offset-allocator = "0.2"
variadics_please = "1.1"
tracing = { version = "0.1", default-features = false, features = ["std"] }

View File

@ -36,7 +36,7 @@ bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-fea
cosmic-text = { version = "0.14", features = ["shape-run-cache"] }
thiserror = { version = "2", default-features = false }
serde = { version = "1", features = ["derive"] }
smallvec = "1.13"
smallvec = { version = "1", default-features = false }
unicode-bidi = "0.3.13"
sys-locale = "0.3.0"
tracing = { version = "0.1", default-features = false, features = ["std"] }

View File

@ -40,7 +40,7 @@ bytemuck = { version = "1.5", features = ["derive"] }
thiserror = { version = "2", default-features = false }
derive_more = { version = "2", default-features = false, features = ["from"] }
nonmax = "0.5"
smallvec = "1.11"
smallvec = { version = "1", default-features = false }
accesskit = "0.19"
tracing = { version = "0.1", default-features = false, features = ["std"] }

View File

@ -37,7 +37,7 @@ bytemuck = { version = "1.5", features = ["derive"] }
thiserror = { version = "2", default-features = false }
derive_more = { version = "1", default-features = false, features = ["from"] }
nonmax = "0.5"
smallvec = "1.11"
smallvec = { version = "1", default-features = false }
accesskit = "0.18"
tracing = { version = "0.1", default-features = false, features = ["std"] }