-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (67 loc) · 2.53 KB
/
Copy pathCargo.toml
File metadata and controls
78 lines (67 loc) · 2.53 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
[workspace]
members = ["xtask"]
[package]
name = "mkgraphic"
version = "0.4.4"
edition = "2021"
description = "A Rust port of the cycfi/elements GUI framework"
license = "MIT"
documentation = "https://docs.rs/mkgraphic"
repository = "https://github.com/mkaudio-company/mkgraphic"
authors = ["MinjaeKim"]
build = "build.rs"
[features]
default = ["platform-native"]
platform-native = []
[dependencies]
# Core dependencies
bitflags = "2.4"
smallvec = "1.11"
thiserror = "1.0"
log = "0.4"
# Graphics backend - using tiny-skia for pure Rust 2D graphics
tiny-skia = "0.11"
fontdb = "0.16"
rustybuzz = "0.12"
ttf-parser = "0.20"
# Code editor syntax highlighting (incremental parsing, reused for future
# structural features like folding/navigation, not just token coloring)
tree-sitter = "0.24"
tree-sitter-rust = "0.23"
streaming-iterator = "0.1"
# Markdown rendering for ChatHistory's message bubbles (bold/italic/code/
# lists) -- first markdown-parsing dependency in this workspace.
pulldown-cmark = { version = "0.12", default-features = false }
# Platform-specific dependencies
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.5"
objc2-foundation = { version = "0.2", features = ["NSString", "NSArray", "NSEnumerator", "NSData", "NSNotification", "NSThread", "NSRunLoop", "NSTimer", "NSDate", "NSURL", "block2"] }
objc2-app-kit = { version = "0.2", features = ["NSApplication", "NSWindow", "NSView", "NSEvent", "NSResponder", "NSGraphicsContext", "NSColor", "NSCursor", "NSPasteboard", "NSScreen", "NSTrackingArea", "NSText", "NSRunningApplication", "NSGraphics", "NSMenu", "NSMenuItem", "NSPanel", "NSOpenPanel", "NSSavePanel"] }
core-graphics = "0.23"
core-foundation = "0.9"
foreign-types = "0.5"
block2 = "0.5"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.52", features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_HiDpi",
"Win32_System_Threading",
"Win32_Graphics_Direct2D",
"Win32_Graphics_Direct2D_Common",
"Win32_Graphics_DirectWrite",
"Win32_System_Com",
"Win32_System_SystemServices",
]}
[target.'cfg(target_os = "linux")'.dependencies]
x11rb = { version = "0.13", features = ["allow-unsafe-code"] }
# For poll(2) on the X connection's socket, so the event loop can wake up
# for scheduled timers as well as X events (see App::schedule_timer).
libc = "0.2"
[target.'cfg(target_os = "windows")'.build-dependencies]
winres = "0.1"
[dev-dependencies]
env_logger = "0.10"