xref: /aosp_15_r20/external/skia/third_party/vello/Cargo.toml (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1# This is the canonical cargo manifest definition for the vello_cpp crate. This file should be kept
2# in sync with the BUILD.bazel file.
3
4[package]
5name = "vello_cpp"
6version = "0.0.1"
7description = "C++ bindings for https://github.com/linebender/vello"
8edition = "2021"
9license = "BSD"
10publish = false
11
12[lib]
13crate-type = ["staticlib"]
14
15[profile.release]
16panic = "abort"
17
18[features]
19msl = ["vello_shaders/msl"]
20wgsl = ["vello_shaders/wgsl"]
21
22[dependencies]
23bytemuck = "1.12.1"
24cxx = "1.0"
25peniko = { git = "https://github.com/linebender/peniko", rev = "cafdac9a211a0fb2fec5656bd663d1ac770bcc81" }
26vello_encoding = { path = "../externals/vello/crates/encoding", default_features = false }
27vello_shaders = { path = "../externals/vello/crates/shaders", default_features = false }
28
29[build-dependencies]
30cxx-build = "1.0"
31