Cargo Features
[dependencies]
hyperast = { version = "0.2.0", default-features = false, features = ["legion", "hecs", "bevy_ecs", "web", "native", "jemalloc", "ts", "serialize", "scripting", "subtree-stats"] }
- default = bevy_ecs, hecs, jemalloc, legion, native, scripting, ts
-
These default features are set whenever
hyperast
is added without
somewhere in the dependency tree.default-features = false - legion default
-
Enables legion
store
Affects
hyperast::cyclomatic
,nodes::legion
,nodes::DefaultNodeStore
,nodes::DefaultNodeIdentifier
,nodes::HashedNodeRef
,nodes::Metadata
,tree_gen::add_cs_no_spaces
,tree_gen::add_md_precomp_queries
,types::Compo
,types::Compo
… - hecs default
-
Enables hecs
Affects
nodes::hecs
… - bevy_ecs default
-
Enables bevy_ecs ^0.14.2 and frunk
Affects
nodes::bevy_ecs
,types::Compo
… - web
-
Enables hashbrown ^0.14.5 and string-interner ^0.17.0, js of getrandom ^0.2.7
- native default
-
Enables string-interner ^0.17.0, ahash of hashbrown ^0.14.5
- jemalloc default = jemalloc-ctl, jemallocator
-
Affects
utils::memusage
,utils::memusage
,utils::memusage_linux
,utils::memusage_linux
… - ts default
-
Enables tree-sitter ^0.23.0
# gen
Affects
tree_gen::zipped
,tree_gen::utils_ts
,tree_gen::zipped_ts_no_goto_parent
,tree_gen::zipped_ts_no_goto_parent_a
,tree_gen::zipped_ts_simp
,tree_gen::zipped_ts_simp0
,tree_gen::zipped_ts_simp1
… - serialize = serde
- scripting default
-
Affects
scripting::lua_scripting
… - subtree-stats
-
Affects
legion::NodeStoreInner.height_counts
,legion::NodeStoreInner.height_counts_non_dedup
,legion::NodeStoreInner.height_counts_structural
,legion::NodeStoreInner.structurals
,legion::NodeStoreInner.height_counts_label
,legion::NodeStoreInner.labels
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- jemalloc-ctl not msvc jemalloc
- jemallocator not msvc jemalloc
- serde not msvc serialize?