forked from karx/catbox
39 lines
880 B
TOML
39 lines
880 B
TOML
[package]
|
|
name = "cat-box"
|
|
version = "0.1.9"
|
|
edition = "2018"
|
|
license = "MIT"
|
|
description = "Work in progress game engine, inspired by arcade"
|
|
repository = "https://git.karx.xyz/karx/catbox"
|
|
readme = "README.md"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies.sdl2]
|
|
version = "0.35.2"
|
|
features = ["image", "ttf"]
|
|
|
|
[dependencies]
|
|
rodio = { version = "0.17.1", optional = true}
|
|
vulkano = { version = "0.32.3", optional = true }
|
|
gl = { version = "0.14.0", optional = true }
|
|
x11 = "2.21.0"
|
|
|
|
|
|
[build-dependencies]
|
|
ureq = {version = "2.6.2", features = ["native-tls"]}
|
|
native-tls = "0.2.7"
|
|
zip-extract = "0.1.2"
|
|
tempfile = "3.4.0"
|
|
|
|
[features]
|
|
default = ["audio", "sdl2/gfx"]
|
|
static = ["sdl2/static-link", "sdl2/bundled"]
|
|
audio = ["dep:rodio"]
|
|
vulkan = ["dep:vulkano"]
|
|
opengl = ["dep:gl"]
|
|
|
|
|
|
[[example]]
|
|
name = "example_1"
|