-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (87 loc) · 2.85 KB
/
Cargo.toml
File metadata and controls
96 lines (87 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "baseview"
version = "0.1.1"
authors = [
"William Light <git@wrl.lhiaudio.com>",
"Charles Saracco <crsaracco@gmail.com>",
"Mirko Covizzi <mrkcvzz@gmail.com>",
"Micah Johnston <micah@glowcoil.com>",
"Billy Messenger <billydm@protonmail.com>",
"Anton Lazarev <https://antonok.com>",
"Joakim Frostegård <joakim.frostegard@gmail.com>",
"Robbert van der Helm <mail@robbertvanderhelm.nl>",
"Adrien Prokopowicz <prokopylmc@gmail.com>"
]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Low-level windowing system geared towards making audio plugin UIs."
keywords = ["windowing", "audio", "plugin"]
categories = ["gui"]
repository = "https://github.com/RustAudio/baseview"
exclude = [".github"]
rust-version = "1.80"
[features]
default = []
opengl = [
"uuid",
"objc2-core-foundation/CFBundle",
"objc2-app-kit/NSOpenGL",
"objc2-app-kit/NSOpenGLView",
"objc2-app-kit/objc2-open-gl"
]
[dependencies]
keyboard-types = { version = "0.6.1", default-features = false }
raw-window-handle = "0.5"
[target.'cfg(target_os="linux")'.dependencies]
x11rb = { version = "0.13.2", features = ["cursor", "resource_manager", "allow-unsafe-code", "dl-libxcb"], default-features = false }
x11-dl = { version = "2.21" }
nix = "0.22.0"
[target.'cfg(target_os="windows")'.dependencies]
# Later versions of the windows crates need MSRV 1.80
windows = { version = "=0.61.3", features = [
"Win32_Graphics_Gdi",
"Win32_Graphics_OpenGL",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
"Win32_System_SystemServices",
"Win32_UI_WindowsAndMessaging",
] }
windows-sys = { version = "0.61.2", features = [
"Win32_Graphics_Gdi",
"Win32_Graphics_OpenGL",
"Win32_System_Rpc",
"Win32_System_LibraryLoader",
"Win32_System_Ole",
"Win32_System_SystemServices",
"Win32_System_Threading",
"Win32_UI_Controls",
"Win32_UI_HiDpi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }
windows-core = { version = "=0.61.2" }
uuid = { version = "0.8", features = ["v4"], optional = true }
[target.'cfg(target_os="macos")'.dependencies]
objc2 = "0.6.4"
objc2-core-foundation = { version = "0.3.2", default-features = false, features = ["std", "CFString", "CFUUID"] }
objc2-foundation = { version = "0.3.2", default-features = false, features = ["std", "NSEnumerator"] }
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
"NSApplication",
"NSDragging",
"NSEvent",
"NSGraphics",
"NSPasteboard",
"NSResponder",
"NSRunningApplication",
"NSTrackingArea",
"NSView",
"NSWindow",
"objc2-core-foundation"
] }
[workspace]
members = ["examples/open_parented", "examples/open_window", "examples/render_femtovg"]
[lints.clippy]
missing-safety-doc = "allow"
[package.metadata.docs.rs]
all-features = true