-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathCargo.toml
More file actions
134 lines (122 loc) · 4 KB
/
Copy pathCargo.toml
File metadata and controls
134 lines (122 loc) · 4 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[package]
name = "baseview"
version = "0.3.5"
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.82"
[features]
default = []
opengl = [
"windows/Win32_Graphics_OpenGL",
"windows-sys/Win32_Graphics_OpenGL",
"objc2-core-foundation/CFBundle",
"objc2-app-kit/NSOpenGL",
"objc2-app-kit/NSOpenGLView",
"objc2-app-kit/objc2-open-gl"
]
[dependencies]
keyboard-types = { version = "0.8.3" }
raw-window-handle = "0.6.2"
dpi = "0.1.2"
tracing = { version = "0.1", optional = true }
[target.'cfg(target_os="linux")'.dependencies]
x11rb = { version = "0.13.2", features = ["cursor", "dri3", "present", "resource_manager", "allow-unsafe-code", "dl-libxcb"], default-features = false }
xkbcommon-dl = { version = "0.4.2", features = ["x11"] }
x11-dl = { version = "2.21.0" }
calloop = "0.14.4"
percent-encoding = "2.3.2"
bytemuck = { version = "1.25.2", features = ["extern_crate_alloc"] }
libloading = "0.8.9" # Libloading 0.9 is out but its MSRV is 1.88
[target.'cfg(target_os="windows")'.dependencies]
windows = { version = "0.62.2", features = [
"Win32_Graphics_Gdi",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole",
"Win32_System_SystemServices",
"Win32_UI_WindowsAndMessaging",
] }
windows-sys = { version = "0.61.2", features = [
"Win32_Graphics_Gdi",
"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.62.2" }
[target.'cfg(target_os="macos")'.dependencies]
objc2 = "0.6.4"
objc2-core-foundation = { version = "0.3.2", default-features = false, features = ["std", "CFString", "CFUUID", "block2", "objc2"] }
block2 = "0.6.2"
dispatch2 = "0.3.1"
objc2-foundation = { version = "0.3.2", default-features = false, features = ["std", "NSEnumerator", "block2", "NSOperation"] }
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
"NSApplication",
"NSCursor",
"NSImage",
"NSDragging",
"NSEvent",
"NSGraphics",
"NSPasteboard",
"NSResponder",
"NSRunningApplication",
"NSTrackingArea",
"NSView",
"NSWindow",
"objc2-core-foundation"
] }
[workspace]
members = ["examples/cursors", "examples/open_parented", "examples/open_window", "examples/plugin_clack", "examples/render_femtovg", "examples/render_wgpu", "examples/plugin_clack_femtovg", "examples/test-frame-pacing"]
[lints.clippy]
missing-safety-doc = "allow"
allow-attributes-without-reason = "warn"
arithmetic-side-effects = "warn"
clone-on-ref-ptr = "warn"
dbg-macro = "warn"
default-union-representation = "deny"
deref-by-slicing = "warn"
doc-paragraphs-missing-punctuation = "warn"
empty-drop = "warn"
empty-enum-variants-with-brackets = "warn"
empty-structs-with-brackets = "warn"
error-impl-error = "warn"
exhaustive-enums = "warn"
exit = "deny"
expect-used = "warn"
float-cmp-const = "warn"
get-unwrap = "warn"
indexing-slicing = "warn"
integer-division = "warn"
lossy-float-literal = "warn"
non-zero-suggestions = "warn"
print-stderr = "warn"
print-stdout = "warn"
todo = "warn"
try-err = "warn"
unnecessary-safety-comment = "warn"
unwrap-used = "warn"
[package.metadata.docs.rs]
all-features = true
[workspace.dependencies]
tracing-subscriber = "0.3.23"