BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-base / Cargo.toml

Cargo.toml

6944317b History
Cargo.toml 4.7 KiB Download Raw
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2024"
14name = "gpui-base"
15version = "0.7.1"
16build = false
17exclude = ["examples/"]
18publish = true
19autolib = false
20autobins = false
21autoexamples = false
22autotests = false
23autobenches = false
24description = "Behavior, interaction, and infrastructure foundations for GPUI applications."
25homepage = "https://gpui-kit.com"
26documentation = "https://docs.rs/gpui-base"
27readme = "README.md"
28keywords = [
29 "desktop",
30 "gpui",
31 "ui",
32 "foundation",
33]
34license = "Apache-2.0"
35repository = "https://github.com/longbridge/gpui-kit"
36resolver = "2"
37
38[features]
39decimal = ["dep:rust_decimal"]
40inspector = [
41 "gpui_macros/inspector",
42 "gpui/inspector",
43]
44test-support = ["gpui/test-support"]
45
46[lib]
47name = "gpui_base"
48path = "src/lib.rs"
49doctest = false
50
51[[test]]
52name = "element_ext"
53path = "tests/element_ext.rs"
54
55[[bench]]
56name = "motion"
57path = "benches/motion.rs"
58harness = false
59
60[[bench]]
61name = "text_view_scroll"
62path = "benches/text_view_scroll.rs"
63harness = false
64
65[dependencies.aho-corasick]
66version = "1.1.3"
67
68[dependencies.anyhow]
69version = "1"
70
71[dependencies.chrono]
72version = "0.4.38"
73
74[dependencies.data-url]
75version = "0.3"
76
77[dependencies.futures]
78version = "0.3"
79
80[dependencies.gpui]
81version = "=0.3.8"
82package = "gpui-pre"
83
84[dependencies.gpui_macros]
85version = "=0.3.8"
86package = "gpui-pre-macros"
87
88[dependencies.html5ever]
89version = "0.27"
90
91[dependencies.instant]
92version = "0.1"
93features = ["wasm-bindgen"]
94
95[dependencies.itertools]
96version = "0.13.0"
97
98[dependencies.lsp-types]
99version = "0.97.0"
100features = ["proposed"]
101
102[dependencies.markdown]
103version = "1.0.0"
104features = ["serde"]
105
106[dependencies.markup5ever_rcdom]
107version = "0.3.0"
108
109[dependencies.num-traits]
110version = "0.2"
111
112[dependencies.regex]
113version = "1"
114
115[dependencies.ropey]
116version = "=2.0.0-beta.1"
117features = [
118 "metric_chars",
119 "metric_lines_lf",
120 "metric_utf16",
121]
122
123[dependencies.rust_decimal]
124version = "1.37.0"
125optional = true
126
127[dependencies.schemars]
128version = "1"
129
130[dependencies.serde]
131version = "1.0.219"
132features = ["derive"]
133
134[dependencies.serde_json]
135version = "1"
136
137[dependencies.smallvec]
138version = "1"
139
140[dependencies.sum-tree]
141version = "=0.3.8"
142package = "gpui-pre-sum-tree"
143
144[dependencies.tracing]
145version = "0.1.41"
146
147[dependencies.unicode-linebreak]
148version = "0.1.5"
149
150[dependencies.unicode-segmentation]
151version = "1.12.0"
152
153[dependencies.web-time]
154version = "1"
155
156[dev-dependencies.criterion]
157version = "0.5"
158
159[dev-dependencies.gpui]
160version = "=0.3.8"
161features = [
162 "test-support",
163 "bench-support",
164]
165package = "gpui-pre"
166
167[dev-dependencies.gpui_platform]
168version = "=0.3.8"
169features = [
170 "font-kit",
171 "x11",
172 "wayland",
173 "runtime_shaders",
174 "bench-support",
175]
176package = "gpui-pre-platform"
177
178[dev-dependencies.indoc]
179version = "2"
180
181[dev-dependencies.reqwest_client]
182version = "=0.3.8"
183package = "gpui-pre-reqwest-client"
184
185[target.'cfg(not(target_family = "wasm"))'.dependencies.smol]
186version = "2"
187
188[target.'cfg(target_family = "wasm")'.dependencies.async-channel]
189version = "2.3.1"
190
191[target.'cfg(target_os = "linux")'.dependencies.ashpd]
192version = "0.13"
193features = [
194 "async-io",
195 "settings",
196]
197default-features = false
198
199[target.'cfg(target_os = "macos")'.dependencies.objc2]
200version = "0.6"
201
202[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
203version = "0.3"
204features = [
205 "NSAccessibility",
206 "NSView",
207 "NSWindow",
208 "NSWorkspace",
209]
210
211[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
212version = "0.3"
213features = [
214 "NSGeometry",
215 "NSString",
216]
217
218[target.'cfg(target_os = "macos")'.dependencies.raw-window-handle]
219version = "0.6.2"
220
221[target.'cfg(target_os = "windows")'.dependencies.windows]
222version = "0.58.0"
223features = [
224 "Wdk",
225 "Wdk_System",
226 "Wdk_System_SystemServices",
227 "Win32_Foundation",
228 "Win32_UI_WindowsAndMessaging",
229]
230
231[lints.clippy]
232almost_complete_range = "allow"
233arc_with_non_send_sync = "allow"
234borrowed_box = "allow"
235dbg_macro = "deny"
236let_underscore_future = "allow"
237manual_is_multiple_of = "allow"
238map_entry = "allow"
239module_inception = "allow"
240non_canonical_partial_ord_impl = "allow"
241reversed_empty_ranges = "allow"
242single_range_in_vec_init = "allow"
243todo = "deny"
244type_complexity = "allow"
245useless_conversion = "allow"
246
247[lints.clippy.style]
248level = "allow"
249priority = -1
250
251[workspace]