| 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] |
| 5 |
name = "vello_cpp" |
| 6 |
version = "0.0.1" |
| 7 |
description = "C++ bindings for https://github.com/linebender/vello" |
| 8 |
edition = "2021" |
| 9 |
license = "BSD" |
| 10 |
publish = false |
| 11 |
|
| 12 |
[lib] |
| 13 |
crate-type = ["staticlib"] |
| 14 |
|
| 15 |
[profile.release] |
| 16 |
panic = "abort" |
| 17 |
|
| 18 |
[features] |
| 19 |
msl = ["vello_shaders/msl"] |
| 20 |
wgsl = ["vello_shaders/wgsl"] |
| 21 |
|
| 22 |
[dependencies] |
| 23 |
bytemuck = "1.12.1" |
| 24 |
cxx = "1.0" |
| 25 |
peniko = { git = "https://github.com/linebender/peniko", rev = "cafdac9a211a0fb2fec5656bd663d1ac770bcc81" } |
| 26 |
vello_encoding = { path = "../externals/vello/crates/encoding", default_features = false } |
| 27 |
vello_shaders = { path = "../externals/vello/crates/shaders", default_features = false } |
| 28 |
|
| 29 |
[build-dependencies] |
| 30 |
cxx-build = "1.0" |