# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "flax" version = "0.7.1" authors = ["Tei Leelo Roberts "] description = "An ergonomic archetypical ECS" documentation = "https://docs.rs/flax" readme = "README.md" keywords = [ "ecs", "hierarchy", "entity", ] categories = [ "data-structures", "game-engines", "no-std", ] license = "MIT" repository = "https://github.com/ten3roberts/flax" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.bench] debug = 2 [[example]] name = "guide" path = "examples/guide.rs" required-features = ["std"] [[example]] name = "query" path = "examples/guide/query.rs" required-features = ["std"] [[example]] name = "builder" path = "examples/guide/builder.rs" required-features = ["std"] [[example]] name = "query_advanced" path = "examples/guide/query_advanced.rs" required-features = ["std"] [[example]] name = "relations" path = "examples/guide/relations.rs" required-features = ["std"] [[example]] name = "commandbuffer" path = "examples/guide/commandbuffer.rs" required-features = ["std"] [[example]] name = "serialize" path = "examples/guide/serialize.rs" required-features = ["std"] [[example]] name = "change_detection" path = "examples/guide/change_detection.rs" required-features = ["std"] [[example]] name = "query_basic" path = "examples/query/basic.rs" required-features = ["std"] [[example]] name = "graphs" path = "examples/query/graphs.rs" required-features = ["std"] [[example]] name = "transform" path = "examples/query/transform.rs" required-features = ["std"] [[example]] name = "systems" path = "examples/guide/systems.rs" required-features = [ "std", "rayon", ] [[example]] name = "springs" path = "examples/guide/springs.rs" required-features = ["std"] [[bench]] name = "benchmarks" harness = false required-features = ["std"] [dependencies.anyhow] version = "1.0.75" default-features = false [dependencies.atomic_refcell] version = "0.1.13" default-features = false [dependencies.bitflags] version = "2.4.1" default-features = false [dependencies.erased-serde] version = "0.3.31" features = [] optional = true [dependencies.flax-derive] version = "0.7.1" optional = true [dependencies.flume] version = "0.11.0" optional = true default-features = false [dependencies.itertools] version = "0.12.1" [dependencies.once_cell] version = "1.18.0" [dependencies.puffin] version = "0.19" optional = true [dependencies.rayon] version = "1.8.0" optional = true default-features = false [dependencies.serde] version = "1.0.190" features = ["derive"] optional = true [dependencies.smallvec] version = "1.11.1" default-features = false [dependencies.tokio] version = "1.33.0" features = ["sync"] optional = true default-features = false [dependencies.tracing] version = "0.1.40" optional = true [dependencies.tynm] version = "0.1.9" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.futures] version = "0.3.29" [dev-dependencies.glam] version = "0.27.0" features = [ "rand", "serde", "scalar-math", ] [dev-dependencies.itertools] version = "0.12.1" default-features = false [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.ron] version = "0.8.1" [dev-dependencies.serde_json] version = "1.0.107" [dev-dependencies.tokio] version = "1.33.0" features = [ "test-util", "macros", ] [dev-dependencies.tracing] version = "0.1.40" [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dev-dependencies.tracing-tree] version = "0.3.0" [features] default = [ "std", "rayon", "flume", ] derive = ["flax-derive"] serde = [ "dep:serde", "erased-serde", ] std = [ "itertools/use_std", "itertools/use_alloc", "anyhow/std", ]