mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
2e8781fbb6
Removes the dependency on the piet crate and replaces all uses with the scene crate. Also does some cleanup of the scene API, renaming some types and moving them all to the crate root for better ergonomics.
50 lines
912 B
TOML
50 lines
912 B
TOML
[package]
|
|
name = "piet-gpu"
|
|
version = "0.1.0"
|
|
authors = ["Raph Levien <raph.levien@gmail.com>"]
|
|
description = "A compute-centric GPU 2D renderer."
|
|
readme = "README.md"
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "cli"
|
|
path = "bin/cli.rs"
|
|
|
|
[[bin]]
|
|
name = "winit"
|
|
path = "bin/winit.rs"
|
|
|
|
[[example]]
|
|
name = "android"
|
|
path = "bin/android.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies.piet-gpu-hal]
|
|
path = "../piet-gpu-hal"
|
|
|
|
[dependencies.piet-gpu-types]
|
|
path = "../piet-gpu-types"
|
|
|
|
[dependencies.piet-scene]
|
|
path = "../piet-scene"
|
|
features = ["kurbo"]
|
|
|
|
[dependencies]
|
|
png = "0.16.2"
|
|
rand = "0.7.3"
|
|
roxmltree = "0.13"
|
|
winit = "0.26.1"
|
|
clap = "2.33"
|
|
bytemuck = { version = "1.7.2", features = ["derive"] }
|
|
kurbo = "0.8.3"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
ndk = "0.3"
|
|
ndk-sys = "0.2.0"
|
|
ndk-glue = "0.3"
|
|
raw-window-handle = "0.3"
|
|
|
|
[package.metadata.android.application]
|
|
debuggable = true
|