-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (44 loc) · 1.59 KB
/
Cargo.toml
File metadata and controls
51 lines (44 loc) · 1.59 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
[package]
name = "skia-canvas"
version = "3.0.8"
description = "A canvas environment for Node"
authors = ["Christian Swinehart <drafting@samizdat.co>"]
license = "MIT"
edition = "2021"
exclude = ["index.node"]
[lib]
crate-type = ["cdylib"]
[profile.release]
lto = "fat"
[features]
freetype = ["skia-safe/embed-freetype", "skia-safe/freetype-woff2"]
metal = ["skia-safe/metal", "dep:metal", "dep:raw-window-handle", "dep:raw-window-metal", "dep:core-graphics-types", "dep:cocoa", "dep:objc"]
vulkan = ["skia-safe/vulkan", "winit/rwh_05", "dep:ash", "dep:vulkano"]
window = ["dep:winit", "dep:spin_sleep"]
[dependencies]
neon = "1.0"
crc = "^3.0"
css-color = "^0.2"
rayon = "^1.5"
crossbeam = "0.8.2"
once_cell = "1.13"
little_exif = "0.6.8"
dashmap = "6.1.0"
process_path = "0.1.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
allsorts = { version = "0.15", features = ["flate2_zlib"], default-features = false}
skia-safe = { version = "0.88.0", features = ["textlayout", "webp", "svg"] }
# vulkan
ash = { version = "0.37.3", optional = true }
vulkano = { version = "0.34.1", optional = true }
# metal
metal = { version = "0.29", optional = true }
raw-window-handle = { version = "0.6", optional = true }
raw-window-metal = { version = "1.0.0", optional = true }
core-graphics-types = { version = "0.1.1", optional = true }
cocoa = { version = "0.26.0", optional = true }
objc = { version = "0.2.7", optional = true }
# window
winit = { version = '0.30.12', features = ["serde"], optional = true }
spin_sleep = {version = "1.2.1", optional = true }