-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
52 lines (44 loc) · 1.37 KB
/
Cargo.toml
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
[package]
name = "lukaj"
version = "0.2.0"
edition = "2021"
license = "LGPL-3.0-or-later"
description = "Interactive diff tool for SVG images"
readme = "README.md"
homepage = "https://github.com/adamws/lukaj"
repository = "https://github.com/adamws/lukaj"
keywords = ["diff", "svg", "graphics", "images"]
categories = ["graphics", "multimedia::images"]
[[bin]]
name = "lukaj"
path = "src/main.rs"
[lib]
name = "lukaj"
path = "src/lib.rs"
[dependencies]
clap = { version = "4.4.6", features = ["derive"] }
env_logger = "0.10.0"
log = "0.4.20"
sdl2 = { version = "0.36.0", default-features = false, features = ["ttf"] }
cairo-rs = { version = "0.18.2", optional = true }
librsvg = { version = "2.57.0", optional = true }
resvg = { version = "0.36.0", optional = true }
tiny-skia = { version = "0.11.2", optional = true }
usvg = { version = "0.36.0", optional = true }
[features]
default = ["use-usvg"]
use-rsvg = ["cairo-rs", "librsvg"]
use-usvg = ["resvg", "tiny-skia", "usvg"]
# use static linking as much as possible
static-link = ["sdl2/use-vcpkg", "sdl2/static-link"]
[dev-dependencies]
dssim-core = "3.2.7"
image = "0.24.7"
rgb = "0.8.37"
rstest = "0.18.2"
[package.metadata.vcpkg]
dependencies = ["sdl2", "sdl2-ttf"]
git = "https://github.com/microsoft/vcpkg"
rev = "a42af01" # release 2023.11.20
[package.metadata.vcpkg.target]
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }