pathfinder/demo/native/Cargo.toml

59 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "demo"
version = "0.1.0"
edition = "2018"
authors = ["Patrick Walton <pcwalton@mimiga.net>"]
2019-03-08 15:30:07 -05:00
[features]
pf-gl = ["pathfinder_demo/pf-gl"]
2019-03-08 15:30:07 -05:00
pf-no-simd = ["pathfinder_simd/pf-no-simd"]
[dependencies]
color-backtrace = "0.3"
gl = "0.14"
lazy_static = "1"
2019-03-08 19:52:47 -05:00
nfd = "0.0.4"
pretty_env_logger = "0.4"
[dependencies.euclid]
version = "0.20"
features = []
[dependencies.pathfinder_demo]
path = "../common"
[dependencies.pathfinder_geometry]
path = "../../geometry"
2019-03-08 15:30:07 -05:00
2019-03-08 19:52:47 -05:00
[dependencies.pathfinder_gl]
path = "../../gl"
[dependencies.pathfinder_gpu]
path = "../../gpu"
[dependencies.pathfinder_resources]
path = "../../resources"
2019-03-08 15:30:07 -05:00
[dependencies.pathfinder_simd]
path = "../../simd"
[dependencies.surfman]
2020-05-08 15:45:40 -04:00
git = "https://github.com/servo/surfman"
rev = "f3df871ac8c3926fe9106d86a3e51e20aa50d3cc"
features = ["sm-winit", "sm-x11"]
[dependencies.winit]
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
[target.'cfg(target_os = "macos")'.dependencies]
foreign-types = "0.3"
io-surface = "0.12"
metal = "0.18"
objc = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.pathfinder_metal]
path = "../../metal"
[target.'cfg(not(windows))'.dependencies]
jemallocator = "0.3"