# 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 = "bevy_ort" version = "0.12.8" authors = ["mosure "] exclude = [ ".devcontainer", ".github", "docs", "dist", "build", "assets", "credits", ] default-run = "modnet" description = "bevy ort (onnxruntime) plugin" homepage = "https://github.com/mosure/bevy_ort" readme = "README.md" keywords = [ "bevy", "ort", "onnx", "onnxruntime", ] license = "MIT" repository = "https://github.com/mosure/bevy_ort" [profile.dev] opt-level = 1 [profile.dev.package."*"] opt-level = 3 [profile.release] opt-level = 3 lto = "thin" codegen-units = 1 [lib] path = "src/lib.rs" [[bin]] name = "flame" path = "tools/flame.rs" required-features = [ "flame", "flame_viewer", ] [[bin]] name = "lightglue" path = "tools/lightglue.rs" required-features = ["lightglue"] [[bin]] name = "modnet" path = "tools/modnet.rs" required-features = ["modnet"] [[bin]] name = "yolo_v8" path = "tools/yolo_v8.rs" required-features = ["yolo_v8"] [[bench]] name = "lightglue" path = "benches/lightglue.rs" harness = false required-features = ["lightglue"] [[bench]] name = "modnet" path = "benches/modnet.rs" harness = false required-features = ["modnet"] [[bench]] name = "yolo_v8" path = "benches/yolo_v8.rs" harness = false required-features = ["yolo_v8"] [dependencies.bevy] version = "0.13" features = [ "bevy_asset", "bevy_core_pipeline", "bevy_pbr", "bevy_render", "bevy_ui", "bevy_winit", "multi-threaded", "png", "tonemapping_luts", ] default-features = false [dependencies.bevy_args] version = "1.3" [dependencies.bevy_panorbit_camera] version = "0.18" optional = true [dependencies.bytemuck] version = "1.15" [dependencies.image] version = "0.24" [dependencies.include_bytes_aligned] version = "0.1" [dependencies.ndarray] version = "0.15" [dependencies.ort] version = "2.0.0-rc.2" features = [ "download-binaries", "ndarray", ] default-features = false [dependencies.rayon] version = "1.8" optional = true [dependencies.serde] version = "1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [features] default = [ "flame", "flame_viewer", "lightglue", "modnet", "yolo_v8", ] flame = [] flame_viewer = ["bevy_panorbit_camera"] lightglue = [] modnet = ["rayon"] yolo_v8 = []