# 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 = "2021" name = "tetra" version = "0.8.0" authors = ["Joe Clay <27cupsofcoffee@gmail.com>"] description = "A simple 2D game framework written in Rust" documentation = "https://docs.rs/tetra" readme = "README.md" keywords = [ "game", "engine", "framework", "gamedev", ] categories = ["game-engines"] license = "MIT" repository = "https://github.com/17cupsofcoffee/tetra" [dependencies.ab_glyph] version = "0.2.2" optional = true [dependencies.bytemuck] version = "1.5.0" [dependencies.glow] version = "0.12.0" [dependencies.half] version = "2.1.0" features = ["bytemuck"] [dependencies.hashbrown] version = "0.13.1" [dependencies.image] version = "0.24.1" default-features = false [dependencies.lyon_tessellation] version = "1.0.7" [dependencies.num-traits] version = "0.2.14" [dependencies.rodio] version = "0.17.1" optional = true default-features = false [dependencies.sdl2] version = "0.35.0" [dependencies.serde] version = "1.0.104" optional = true [dependencies.vek] version = "0.15.4" default-features = false [dependencies.xi-unicode] version = "0.3.0" [dev-dependencies.anyhow] version = "1.0.33" [dev-dependencies.legion] version = "0.4.0" [dev-dependencies.rand] version = "0.8.0" [features] audio = ["rodio"] audio_flac = [ "audio", "rodio/flac", ] audio_mp3 = [ "audio", "rodio/mp3", ] audio_vorbis = [ "audio", "rodio/vorbis", ] audio_wav = [ "audio", "rodio/wav", ] default = [ "audio", "audio_mp3", "audio_vorbis", "audio_wav", "font_ttf", "texture_png", "texture_jpeg", "texture_gif", "texture_bmp", ] font_ttf = ["ab_glyph"] sdl2_bundled = ["sdl2/bundled"] sdl2_static_link = ["sdl2/static-link"] serde_support = [ "serde", "vek/serde", ] texture_bmp = ["image/bmp"] texture_dds = [ "image/dds", "image/dxt", ] texture_gif = ["image/gif"] texture_ico = ["image/ico"] texture_jpeg = [ "image/jpeg", "image/jpeg_rayon", ] texture_png = ["image/png"] texture_pnm = ["image/pnm"] texture_tga = ["image/tga"] texture_tiff = ["image/tiff"] texture_webp = ["image/webp"]