-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
58 lines (49 loc) · 1.49 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
53
54
55
56
57
58
[workspace]
resolver = "2"
members = ["examples/with_winit", "examples/run_wasm", "examples/scenes"]
[workspace.package]
edition = "2021"
version = "0.5.0"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/vello_svg"
# Keep in sync with RUST_MIN_VER in .github/workflows/ci.yml, with the relevant README.md files
# and with the MSRV in the `Unreleased` section of CHANGELOG.md.
rust-version = "1.75"
[workspace.lints]
clippy.doc_markdown = "warn"
clippy.semicolon_if_nothing_returned = "warn"
[workspace.dependencies]
# NOTE: Make sure to keep this in sync with the version badge in README.md
vello = { version = "0.3.0", default-features = false }
[package]
name = "vello_svg"
description = "An SVG integration for vello."
categories = ["rendering", "graphics"]
keywords = ["2d", "vector-graphics", "vello", "svg"]
version.workspace = true
rust-version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
[package.metadata.docs.rs]
all-features = true
# There are no platform specific docs.
default-target = "x86_64-unknown-linux-gnu"
targets = []
[lints]
workspace = true
[dependencies]
vello = { workspace = true }
thiserror = "1.0.61"
usvg = "0.44.0"
image = { version = "0.25.0", default-features = false, features = [
"webp",
"png",
"jpeg",
"gif",
] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3.42"
[features]
# Enables the wgpu feature on vello, which is disabled by default
wgpu = ["vello/wgpu"]