-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
33 lines (28 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "luminance-front"
version = "0.6.1"
license = "BSD-3-Clause"
authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"]
description = "luminance re-exported with a backend picked at compile-time"
keywords = ["stateless", "type-safe", "graphics", "luminance"]
categories = ["rendering::graphics-api"]
homepage = "https://github.com/phaazon/luminance-rs"
repository = "https://github.com/phaazon/luminance-rs"
documentation = "https://docs.rs/luminance-front"
readme = "README.md"
edition = "2021"
rust-version = "1.65.0"
[badges]
maintenance = { status = "actively-developed" }
[features]
default = ["autoselect"]
autoselect = ["gl33", "webgl2"] # automatically pick the right backend depending on the compilation target
gl33 = ["luminance-gl"] # OpenGL 3.3 backend
gl33-GL_ARB_gpu_shader_fp64 = ["luminance-gl/GL_ARB_gpu_shader_fp64"] # 64-bit support
webgl2 = ["luminance-webgl"] # WebGL2 backend
[dependencies]
luminance = { version = ">=0.46, <0.48", path = "../luminance" }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
luminance-gl = { version = "0.19", path = "../luminance-gl", optional = true }
[target.'cfg(target_family = "wasm")'.dependencies]
luminance-webgl = { version = "0.6", path = "../luminance-webgl", optional = true }