# 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.70.0" name = "ambient_guest_bridge" version = "0.3.1" description = "Crate for the Ambient runtime that allows code to target either native host code or the API exposed to guest code." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/AmbientRun/Ambient" [package.metadata.docs.rs] features = ["guest"] rustdoc-args = [ "--cfg", "docsrs", ] targets = ["wasm32-wasi"] [dependencies.ambient_api_core] version = "0.3.1" optional = true [dependencies.ambient_core] version = "0.3.1-dev" optional = true [dependencies.ambient_ecs] version = "0.3.1-dev" optional = true [dependencies.ambient_input] version = "0.3.1-dev" optional = true [dependencies.ambient_layout] version = "0.3.1-dev" optional = true [dependencies.ambient_rect] version = "0.3.1-dev" optional = true [dependencies.ambient_renderer] version = "0.3.1-dev" optional = true [dependencies.ambient_shared_types] version = "0.3.1" [dependencies.ambient_sys] version = "0.3.1" optional = true [dependencies.ambient_text] version = "0.3.1-dev" optional = true [dependencies.anyhow] version = "1.0" features = ["backtrace"] [features] client = ["ambient_api_core?/client"] guest = ["dep:ambient_api_core"] native = [ "dep:ambient_ecs", "dep:ambient_core", "dep:ambient_layout", "dep:ambient_renderer", "dep:ambient_text", "dep:ambient_rect", "dep:ambient_input", "dep:ambient_sys", "dep:arboard", "ambient_shared_types/native", ] server = ["ambient_api_core?/server"] [target."cfg(not(target_os = \"unknown\"))".dependencies.arboard] version = "3.2.1" optional = true