# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "orbclient"
version = "0.4.1"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Orbital Client Library"
documentation = "https://docs.rs/orbclient"
readme = "README.md"
keywords = [
    "orbital",
    "redox",
    "ui",
]
license = "MIT"
repository = "https://gitlab.redox-os.org/redox-os/orbclient"

[features]
bundled = [
    "sdl",
    "sdl2/bundled",
    "sdl2/static-link",
]
default = [
    "std",
    "sdl",
    "unifont",
]
image = [
    "std",
    "dep:image",
    "dep:resize",
]
sdl = ["dep:sdl2"]
std = []
unifont = []

[lib]
name = "orbclient"
path = "src/lib.rs"

[[example]]
name = "image_bench"
path = "examples/image_bench.rs"

[[example]]
name = "rect_bench"
path = "examples/rect_bench.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[dependencies.image]
version = "0.21.0"
optional = true

[dependencies.resize]
version = "0.3.0"
optional = true

[target.'cfg(not(target_os = "redox"))'.dependencies.raw-window-handle]
version = "0.5.2"
optional = true

[target.'cfg(not(target_os = "redox"))'.dependencies.sdl2]
version = "0.38.0"
optional = true

[target.'cfg(target_os = "redox")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "redox")'.dependencies.libredox]
version = "0.1"
