[package]
edition = "2021"
rust-version = "1.85"
name = "emblema"
version = "0.7.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Flutter-class 2D renderer: Vulkan and GLES backends, WSI and DRM/KMS presentation."
readme = "README.md"
keywords = [
"renderer",
"vulkan",
"gles",
"graphics",
"flutter",
]
categories = [
"graphics",
"rendering::engine",
]
license = "BSD-3-Clause"
repository = "https://github.com/jwinarske/emblema"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"vulkan",
"present-wsi",
]
drm = ["dep:emblema-present-drm"]
gbm = [
"drm",
"emblema-present-drm/gbm",
]
gles = ["dep:emblema-hal-gles"]
gpu = [
"vulkan",
"emblema-hal-vulkan/gpu",
]
present-egl = [
"gles",
"dep:emblema-present-egl",
]
present-wsi = [
"vulkan",
"dep:emblema-present-vk",
]
vulkan = ["dep:emblema-hal-vulkan"]
[lib]
name = "emblema"
path = "src/lib.rs"
[[example]]
name = "frame"
path = "examples/frame.rs"
[[example]]
name = "showcase"
path = "examples/showcase.rs"
[[test]]
name = "device_lost"
path = "tests/device_lost.rs"
[[test]]
name = "filter_space"
path = "tests/filter_space.rs"
[[test]]
name = "filter_space_hostile"
path = "tests/filter_space_hostile.rs"
[[test]]
name = "gpu_image"
path = "tests/gpu_image.rs"
[[test]]
name = "hostile_api"
path = "tests/hostile_api.rs"
[[test]]
name = "import_image"
path = "tests/import_image.rs"
[[test]]
name = "public_api"
path = "tests/public_api.rs"
[[test]]
name = "tint_blend"
path = "tests/tint_blend.rs"
[[test]]
name = "wsi_reachable"
path = "tests/wsi_reachable.rs"
[dependencies.emblema-core]
version = "0.7.1"
[dependencies.emblema-hal]
version = "0.7.1"
[dependencies.emblema-hal-gles]
version = "0.7.1"
optional = true
[dependencies.emblema-hal-vulkan]
version = "0.7.1"
optional = true
[dependencies.emblema-present]
version = "0.7.1"
[dependencies.emblema-present-drm]
version = "0.7.1"
optional = true
[dependencies.emblema-present-egl]
version = "0.7.1"
optional = true
[dependencies.emblema-present-vk]
version = "0.7.1"
optional = true
[dependencies.emblema-shaders]
version = "0.7.1"
[dev-dependencies.googletest]
version = "0.14"
[dev-dependencies.half]
version = "2"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"