rustdesk/vendor/tao/Cargo.toml

295 lines
5.9 KiB
TOML

# 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.56"
name = "tao"
version = "0.25.0"
authors = [
"Tauri Programme within The Commons Conservancy",
"The winit contributors",
]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform window manager library."
documentation = "https://docs.rs/tao"
readme = "README.md"
keywords = ["windowing"]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/tauri-apps/tao"
[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
features = [
"rwh_04",
"rwh_05",
"rwh_06",
"serde",
]
targets = [
"i686-pc-windows-msvc",
"x86_64-pc-windows-msvc",
"i686-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
[lib]
name = "tao"
path = "src/lib.rs"
[[example]]
name = "control_flow"
path = "examples/control_flow.rs"
[[example]]
name = "cursor"
path = "examples/cursor.rs"
[[example]]
name = "cursor_grab"
path = "examples/cursor_grab.rs"
[[example]]
name = "custom_events"
path = "examples/custom_events.rs"
[[example]]
name = "drag_window"
path = "examples/drag_window.rs"
[[example]]
name = "fullscreen"
path = "examples/fullscreen.rs"
[[example]]
name = "handling_close"
path = "examples/handling_close.rs"
[[example]]
name = "min_max_size"
path = "examples/min_max_size.rs"
[[example]]
name = "minimize"
path = "examples/minimize.rs"
[[example]]
name = "monitor_list"
path = "examples/monitor_list.rs"
[[example]]
name = "mouse_wheel"
path = "examples/mouse_wheel.rs"
[[example]]
name = "multithreaded"
path = "examples/multithreaded.rs"
[[example]]
name = "multiwindow"
path = "examples/multiwindow.rs"
[[example]]
name = "parentwindow"
path = "examples/parentwindow.rs"
[[example]]
name = "progress_bar"
path = "examples/progress_bar.rs"
[[example]]
name = "request_redraw"
path = "examples/request_redraw.rs"
[[example]]
name = "request_redraw_threaded"
path = "examples/request_redraw_threaded.rs"
[[example]]
name = "resizable"
path = "examples/resizable.rs"
[[example]]
name = "set_ime_position"
path = "examples/set_ime_position.rs"
[[example]]
name = "theme"
path = "examples/theme.rs"
[[example]]
name = "timer"
path = "examples/timer.rs"
[[example]]
name = "transparent"
path = "examples/transparent.rs"
[[example]]
name = "video_modes"
path = "examples/video_modes.rs"
[[example]]
name = "window"
path = "examples/window.rs"
[[example]]
name = "window_debug"
path = "examples/window_debug.rs"
[[example]]
name = "window_icon"
path = "examples/window_icon.rs"
[[example]]
name = "window_run_return"
path = "examples/window_run_return.rs"
[[test]]
name = "send_objects"
path = "tests/send_objects.rs"
[[test]]
name = "serde_objects"
path = "tests/serde_objects.rs"
[[test]]
name = "sync_object"
path = "tests/sync_object.rs"
[dependencies]
bitflags = "1"
crossbeam-channel = "0.5"
instant = "0.1"
lazy_static = "1"
libc = "0.2"
log = "0.4"
url = "2"
[dependencies.rwh_04]
version = "0.4"
optional = true
package = "raw-window-handle"
[dependencies.rwh_05]
version = "0.5"
features = ["std"]
optional = true
package = "raw-window-handle"
[dependencies.rwh_06]
version = "0.6"
features = ["std"]
optional = true
package = "raw-window-handle"
[dependencies.serde]
version = "1"
features = ["serde_derive"]
optional = true
[dev-dependencies]
env_logger = "0.10"
image = "0.24"
[build-dependencies]
cc = "1"
[features]
default = ["rwh_06"]
[target.'cfg(any(target_os = "android", target_os = "windows"))'.dependencies]
once_cell = "1"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
objc = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
gdkwayland-sys = "0.18.0"
gdkx11-sys = "0.18"
gtk = "0.18"
parking_lot = "0.12"
png = "0.17"
x11-dl = "2.21"
zbus = "3"
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21"
ndk = "0.7"
ndk-context = "0.1"
ndk-sys = "0.4"
[target.'cfg(target_os = "android")'.dependencies.tao-macros]
version = "0.1.0"
path = "./tao-macros"
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.25"
core-foundation = "0.9"
core-graphics = "0.23"
dispatch = "0.2"
png = "0.17"
scopeguard = "1.2"
[target.'cfg(target_os = "windows")'.dependencies]
parking_lot = "0.12"
unicode-segmentation = "1.10"
windows-implement = "0.52"
windows-version = "0.1"
[target.'cfg(target_os = "windows")'.dependencies.image]
version = "0.24"
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.52"
features = [
"implement",
"Win32_Devices_HumanInterfaceDevice",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Graphics_Dwm",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_DataExchange",
"Win32_System_Diagnostics_Debug",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
"Win32_System_Ole",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
"Win32_System_SystemInformation",
"Win32_UI_Accessibility",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_Ime",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Input_Pointer",
"Win32_UI_Input_Touch",
"Win32_UI_Shell",
"Win32_UI_TextServices",
"Win32_UI_WindowsAndMessaging",
]
[target.'cfg(target_os = "windows")'.dev-dependencies]
softbuffer = "0.4.1"
[workspace]
members = ["tao-macros"]