[package] name = "xloop" version = "0.1.1" edition = "2021" license = "MIT" repository = "https://gitee.com/mindbox/xloop" description = "a window init." [lib] path = "lib.rs" [dependencies] xloop_types = { version = "0.1", path = "types" } xloop_macos = { version = "0.1", path = "macos", optional = true } xloop_ios = { version = "0.1", path = "ios", optional = true } xloop_android = { version = "0.1", path = "android", optional = true } xloop_windows = { version = "0.1", path = "windows", optional = true } xloop_wasm = { version = "0.1", path = "wasm", optional = true } [target.'cfg(target_os = "macos")'.dependencies] xloop_macos = { version = "0.1", path = "macos" } [target.'cfg(target_os = "ios")'.dependencies] xloop_ios = { version = "0.1", path = "ios" } [target.'cfg(target_os = "android")'.dependencies] xloop_android = { version = "0.1", path = "android" } [target.'cfg(target_os = "windows")'.dependencies] xloop_windows = { version = "0.1", path = "windows" } [target.'cfg(target_arch = "wasm32")'.dependencies] xloop_wasm = { version = "0.1", path = "wasm" } [features] default = ["auto"] # default = ["all"] auto = [] macos_metal = ["xloop_macos"] ios_metal = ["xloop_ios"] android_gpu = ["xloop_android"] windows_dx = ["xloop_windows"] wasm_wgl = ["xloop_wasm"] all = [ "xloop_macos", "xloop_ios", "xloop_android", "xloop_windows", "xloop_wasm", ] [workspace] members = ["examples/basic"] resolver = "2"