BlueGit

ict rusty-teams

Files

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

Cargo.toml.orig

eef6c0a4 History
Cargo.toml.orig 2.6 KiB Download Raw
1[package]
2description = "Behavior, interaction, and infrastructure foundations for GPUI applications."
3keywords = ["desktop", "gpui", "ui", "foundation"]
4license = "Apache-2.0"
5name = "gpui-base"
6# The examples are development tools that read fixtures from `crates/story`;
7# they stay out of the published package.
8exclude = ["examples/"]
9repository = "https://github.com/longbridge/gpui-kit"
10homepage = "https://gpui-kit.com"
11documentation = "https://docs.rs/gpui-base"
12version = "0.7.1"
13publish = true
14edition.workspace = true
15
16[lib]
17doctest = false
18
19[[bench]]
20name = "motion"
21harness = false
22
23[[bench]]
24name = "text_view_scroll"
25harness = false
26
27[features]
28decimal = ["dep:rust_decimal"]
29test-support = ["gpui/test-support"]
30inspector = ["gpui_macros/inspector", "gpui/inspector"]
31
32[dependencies]
33anyhow.workspace = true
34aho-corasick = "1.1.3"
35chrono = "0.4.38"
36data-url = "0.3"
37futures = "0.3"
38gpui.workspace = true
39gpui_macros.workspace = true
40instant.workspace = true
41itertools = "0.13.0"
42lsp-types.workspace = true
43markdown = { version = "1.0.0", features = ["serde"] }
44html5ever = "0.27"
45markup5ever_rcdom = "0.3.0"
46num-traits = "0.2"
47ropey.workspace = true
48regex = "1"
49rust_decimal = { version = "1.37.0", optional = true }
50schemars.workspace = true
51serde.workspace = true
52serde_json.workspace = true
53smallvec.workspace = true
54sum-tree.workspace = true
55tracing.workspace = true
56unicode-linebreak = "0.1.5"
57unicode-segmentation = "1.12.0"
58web-time = "1"
59
60[target.'cfg(not(target_family = "wasm"))'.dependencies]
61smol.workspace = true
62
63[target.'cfg(target_family = "wasm")'.dependencies]
64async-channel = "2.3.1"
65
66[target.'cfg(target_os = "macos")'.dependencies]
67raw-window-handle.workspace = true
68objc2 = "0.6"
69objc2-app-kit = { version = "0.3", features = ["NSAccessibility", "NSView", "NSWindow", "NSWorkspace"] }
70objc2-foundation = { version = "0.3", features = ["NSGeometry", "NSString"] }
71
72[target.'cfg(target_os = "windows")'.dependencies]
73# The reduced-motion preference (SystemParametersInfoW).
74windows = { workspace = true, features = ["Win32_Foundation", "Win32_UI_WindowsAndMessaging"] }
75
76[target.'cfg(target_os = "linux")'.dependencies]
77# The reduced-motion preference, through the XDG desktop portal's Settings
78# interface. The same version and features `gpui-pre-linux` already pulls in.
79ashpd = { version = "0.13", default-features = false, features = ["async-io", "settings"] }
80
81[dev-dependencies]
82criterion = "0.5"
83gpui = { workspace = true, features = ["test-support", "bench-support"] }
84gpui_platform = { workspace = true, features = ["bench-support"] }
85indoc = "2"
86reqwest_client.workspace = true
87
88[lints]
89workspace = true