2019-02-15 21:21:46 -05:00
|
|
|
[package]
|
|
|
|
name = "demo"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
authors = ["Patrick Walton <pcwalton@mimiga.net>"]
|
|
|
|
|
2019-03-08 15:30:07 -05:00
|
|
|
[features]
|
2019-06-05 17:35:46 -04:00
|
|
|
pf-gl = ["pathfinder_demo/pf-gl"]
|
2019-03-08 15:30:07 -05:00
|
|
|
pf-no-simd = ["pathfinder_simd/pf-no-simd"]
|
|
|
|
|
2019-02-15 21:21:46 -05:00
|
|
|
[dependencies]
|
2020-02-04 14:55:40 -05:00
|
|
|
color-backtrace = "0.3"
|
|
|
|
gl = "0.14"
|
2020-04-23 21:00:52 -04:00
|
|
|
lazy_static = "1"
|
2019-03-08 19:52:47 -05:00
|
|
|
nfd = "0.0.4"
|
2020-02-04 14:55:40 -05:00
|
|
|
pretty_env_logger = "0.4"
|
2020-04-23 21:00:52 -04:00
|
|
|
|
|
|
|
[dependencies.euclid]
|
|
|
|
version = "0.20"
|
|
|
|
features = []
|
2019-02-15 21:21:46 -05:00
|
|
|
|
|
|
|
[dependencies.pathfinder_demo]
|
|
|
|
path = "../common"
|
2019-03-07 19:14:26 -05:00
|
|
|
|
|
|
|
[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"
|
|
|
|
|
2020-02-28 20:10:53 -05:00
|
|
|
[dependencies.pathfinder_resources]
|
|
|
|
path = "../../resources"
|
|
|
|
|
2019-03-08 15:30:07 -05:00
|
|
|
[dependencies.pathfinder_simd]
|
|
|
|
path = "../../simd"
|
2019-05-02 14:12:33 -04:00
|
|
|
|
2020-04-23 21:00:52 -04:00
|
|
|
[dependencies.surfman]
|
2020-05-08 15:45:40 -04:00
|
|
|
git = "https://github.com/servo/surfman"
|
|
|
|
rev = "f3df871ac8c3926fe9106d86a3e51e20aa50d3cc"
|
2020-05-08 15:22:17 -04:00
|
|
|
features = ["sm-winit", "sm-x11"]
|
2020-04-23 21:00:52 -04:00
|
|
|
|
|
|
|
[dependencies.winit]
|
|
|
|
version = "<0.19.4" # 0.19.4 causes build errors https://github.com/rust-windowing/winit/pull/1105
|
|
|
|
|
2019-06-05 17:35:46 -04:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2020-02-07 14:46:20 -05:00
|
|
|
foreign-types = "0.3"
|
2020-04-23 21:00:52 -04:00
|
|
|
io-surface = "0.12"
|
2020-06-29 15:48:49 -04:00
|
|
|
metal = "0.18"
|
2020-04-23 21:00:52 -04:00
|
|
|
objc = "0.2"
|
2019-06-05 17:35:46 -04:00
|
|
|
|
2019-06-20 15:34:55 -04:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.pathfinder_metal]
|
|
|
|
path = "../../metal"
|
|
|
|
|
2019-05-02 14:12:33 -04:00
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
2020-02-04 14:55:40 -05:00
|
|
|
jemallocator = "0.3"
|