[package] name = "stb" version = "0.3.2" authors = ["Maksym Pavlenko "] edition = "2018" repository = "https://github.com/mxpv/stb" documentation = "https://docs.rs/stb" description = "Safe Rust API for stb libraries" license = "MIT" categories = ["api-bindings", "parsing", "rendering::data-formats", "game-development"] keywords = ["stb", "gamedev"] readme = "../README.md" [dependencies] stb-sys = { path = "../stb-sys", version = "0.6.0" } [[example]] name = "easy_font" [features] default = [ "stb_easy_font", "stb_dxt", "stb_image", "stb_image_write", "stb_perlin", "stb_rect_pack", "stb_image_resize", "stb_truetype", ] # Easy font stb_easy_font = ["stb-sys/stb_easy_font"] # DXT stb_dxt = ["stb-sys/stb_dxt"] stb_dxt_use_rounding_bias = ["stb-sys/stb_dxt_use_rounding_bias"] # Image stb_image = ["stb-sys/stb_image"] stbi_no_linear = ["stb-sys/stbi_no_linear"] stbi_no_jpeg = ["stb-sys/stbi_no_jpeg"] stbi_no_png = ["stb-sys/stbi_no_png"] stbi_no_bmp = ["stb-sys/stbi_no_bmp"] stbi_no_psd = ["stb-sys/stbi_no_psd"] stbi_no_gif = ["stb-sys/stbi_no_gif"] stbi_no_hdr = ["stb-sys/stbi_no_hdr"] stbi_no_pic = ["stb-sys/stbi_no_pic"] stbi_no_pnm = ["stb-sys/stbi_no_pnm"] # Image write stb_image_write = ["stb-sys/stb_image_write"] # Perlin stb_perlin = ["stb-sys/stb_perlin"] # To be implemented stb_rect_pack = ["stb-sys/stb_image_resize"] stb_image_resize = ["stb-sys/stb_image_resize"] stb_truetype = ["stb-sys/stb_truetype"] [badges] maintenance = { status = "actively-developed" }