# 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" rust-version = "1.80" name = "bevy_flowfield_tiles_plugin" version = "0.11.0" authors = ["BlondeBurrito"] build = false exclude = [ ".github/", "crates/", "assets/", "docs/png/", "justfile", ] publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "An implementation of FlowField (vector field) pathfinding as a plugin to the Bevy game engine" homepage = "https://github.com/BlondeBurrito/bevy_flowfield_tiles_plugin" readme = "README.md" keywords = [ "navigation", "pathfinding", "bevy", ] categories = [ "game-development", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/BlondeBurrito/bevy_flowfield_tiles_plugin" [package.metadata.docs.rs] features = [ "serde", "ron", "csv", "2d", "3d", "heightmap", ] [profile.codecov] inherits = "release" strip = false [profile.dev] opt-level = 1 [profile.flamegraph] debug = 2 inherits = "release" strip = false [profile.release] codegen-units = 2 strip = true [lib] name = "bevy_flowfield_tiles_plugin" path = "src/lib.rs" [[example]] name = "2d_complex_movement" path = "examples/2d_complex_movement.rs" required-features = [ "csv", "2d", ] [[example]] name = "2d_continuous" path = "examples/2d_continuous.rs" required-features = [ "ron", "2d", ] [[example]] name = "2d_from_mesh" path = "examples/2d_from_mesh.rs" required-features = ["2d"] [[example]] name = "2d_large_actor" path = "examples/2d_large_actor.rs" required-features = [ "ron", "2d", ] [[example]] name = "2d_multi_actor" path = "examples/2d_multi_actor.rs" required-features = [ "ron", "2d", ] [[example]] name = "2d_multi_actor_controls" path = "examples/2d_multi_actor_controls.rs" required-features = [ "ron", "2d", ] [[example]] name = "2d_mutate_costfields" path = "examples/2d_mutate_costfields.rs" required-features = [ "ron", "2d", ] [[example]] name = "2d_variety_costs" path = "examples/2d_variety_costs.rs" required-features = [ "heightmap", "2d", ] [[example]] name = "2d_with_steering" path = "examples/2d_with_steering.rs" required-features = [ "ron", "2d", ] [[example]] name = "3d_actor_movement" path = "examples/3d_actor_movement.rs" required-features = [ "ron", "3d", ] [[example]] name = "flow_field_right_click" path = "examples/flow_field_right_click.rs" required-features = [ "ron", "2d", ] [[example]] name = "visualise_cost_field" path = "examples/visualise_cost_field.rs" required-features = ["ron"] [[example]] name = "visualise_cost_field_heightmap" path = "examples/visualise_cost_field_heightmap.rs" required-features = ["heightmap"] [[example]] name = "visualise_flow_field_tiles" path = "examples/visualise_flow_field_tiles.rs" required-features = ["ron"] [[example]] name = "visualise_integration_field" path = "examples/visualise_integration_field.rs" required-features = ["ron"] [[example]] name = "visualise_integration_field_los" path = "examples/visualise_integration_field_los.rs" required-features = ["ron"] [[example]] name = "visualise_integration_fields" path = "examples/visualise_integration_fields.rs" required-features = ["ron"] [[example]] name = "visualise_portals" path = "examples/visualise_portals.rs" required-features = [ "csv", "2d", ] [[test]] name = "construct_each_field" path = "tests/construct_each_field.rs" [[bench]] name = "calc_flow_maze" path = "benches/calc_flow_maze.rs" harness = false [[bench]] name = "calc_flow_open" path = "benches/calc_flow_open.rs" harness = false [[bench]] name = "calc_flow_sparse" path = "benches/calc_flow_sparse.rs" harness = false [[bench]] name = "calc_route" path = "benches/calc_route.rs" harness = false [[bench]] name = "init_bundle" path = "benches/init_bundle.rs" harness = false [[bench]] name = "init_cost_fields" path = "benches/init_cost_fields.rs" harness = false [[bench]] name = "init_portal_graph" path = "benches/init_portal_graph.rs" harness = false [[bench]] name = "init_portals" path = "benches/init_portals.rs" harness = false [dependencies.bevy] version = "0.14" features = [ "bevy_render", "wayland", "bevy_render", "wayland", ] default-features = false [dependencies.csv] version = "1" optional = true [dependencies.photon-rs] version = "0.3" optional = true [dependencies.ron] version = "0.8" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.avian2d] version = "0.1" features = [ "2d", "f32", "parry-f32", "default-collider", "parallel", "debug-plugin", ] default-features = false [dev-dependencies.bevy] version = "0.14" features = [ "bevy_render", "wayland", "wayland", ] default-features = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" [features] 2d = [] 3d = [] csv = [ "serde", "dep:csv", ] heightmap = ["dep:photon-rs"] ron = [ "serde", "dep:ron", ] serde = ["dep:serde"] [lints.clippy] cargo_common_metadata = "deny" missing_docs_in_private_items = "deny" todo = "deny" unimplemented = "warn" [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ["cfg(tarpaulin_include)"]