Cargo.toml (1100B)
1 [package] 2 name = "webrender-examples" 3 version = "0.1.0" 4 authors = ["Glenn Watson <gw@intuitionlibrary.com>"] 5 license = "MPL-2.0" 6 repository = "https://github.com/servo/webrender" 7 edition = "2018" 8 9 [[bin]] 10 name = "alpha_perf" 11 path = "alpha_perf.rs" 12 13 [[bin]] 14 name = "animation" 15 path = "animation.rs" 16 17 [[bin]] 18 name = "basic" 19 path = "basic.rs" 20 21 [[bin]] 22 name = "blob" 23 path = "blob.rs" 24 25 [[bin]] 26 name = "document" 27 path = "document.rs" 28 29 [[bin]] 30 name = "iframe" 31 path = "iframe.rs" 32 33 [[bin]] 34 name = "image_resize" 35 path = "image_resize.rs" 36 37 [[bin]] 38 name = "multiwindow" 39 path = "multiwindow.rs" 40 41 [[bin]] 42 name = "scrolling" 43 path = "scrolling.rs" 44 45 [[bin]] 46 name = "texture_cache_stress" 47 path = "texture_cache_stress.rs" 48 49 [[bin]] 50 name = "yuv" 51 path = "yuv.rs" 52 53 [features] 54 debug = ["webrender/capture", "webrender/profiler"] 55 56 [dependencies] 57 app_units = "0.7" 58 env_logger = { version = "0.10", default-features = false } 59 euclid = "0.22" 60 gleam = { workspace = true } 61 glutin = "0.28" 62 rayon = "1" 63 webrender = { path = "../webrender" } 64 winit = "0.26" 65 66 [target.'cfg(target_os = "macos")'.dependencies] 67 core-foundation = "0.7"