# 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 = "grafix-toolbox"
version = "0.8.28"
authors = ["Alexander Drozdoff"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Personal collection of opengl and rust tools, also serving as an functional gui crate. See ./gui/elements for premade gui elements"
homepage = "https://github.com/installgentoo/grafix_toolbox"
readme = "README.md"
license = "MIT"
repository = "https://github.com/installgentoo/grafix_toolbox"

[lib]
name = "grafix_toolbox"
path = "crate.rs"

[dependencies.bincode]
version = "^1"
optional = true

[dependencies.bitflags]
version = "^2"

[dependencies.crossbeam-channel]
version = "^0.5"

[dependencies.fastrand]
version = "^2"
optional = true

[dependencies.flume]
version = "^0.11"

[dependencies.futures-lite]
version = "^2"
default-features = false

[dependencies.gl]
version = "^0.14"

[dependencies.glfw]
version = "^0.58"

[dependencies.half]
version = "^2"

[dependencies.image]
version = "^0.25"
default-features = false

[dependencies.nalgebra]
version = "^0.33"
features = [
    "std",
    "serde-serialize",
]
default-features = false

[dependencies.notify]
version = "^6"
optional = true

[dependencies.rusttype]
version = "^0.9"
optional = true

[dependencies.serde]
version = "^1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "^1"
optional = true

[dependencies.simdnoise]
version = "^3"
optional = true

[dependencies.tobj]
version = "^4"
optional = true

[dependencies.tokio]
version = "^1"
features = [
    "rt-multi-thread",
    "io-util",
    "io-std",
    "fs",
    "time",
]
default-features = false

[dependencies.yansi]
version = "^1"

[dependencies.zstd]
version = "^0.13"
optional = true

[features]
adv_cg = [
    "hdr",
    "obj",
    "sdf",
]
adv_fs = [
    "bincode",
    "serde",
    "serde_json",
    "half/serde",
    "zstd",
]
adv_img = [
    "gif",
    "jpg",
    "png",
    "webp",
    "avif",
]
avif = ["image/avif"]
default = ["gl45"]
fsnotify = ["notify"]
gif = ["image/gif"]
gl45 = []
gui = []
hdr = ["image/hdr"]
jpg = ["image/jpeg"]
obj = ["tobj"]
png = ["image/png"]
profiling = []
rng = [
    "fastrand",
    "simdnoise",
]
sdf = ["rusttype"]
webp = ["image/webp"]
