[package] name = "graphene-std" version = "0.1.0" edition = "2021" description = "Graphene standard library" authors = ["Graphite Authors "] license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["wasm", "imaginate"] gpu = [ "graphene-core/gpu", "gpu-compiler-bin-wrapper", "compilation-client", "gpu-executor", ] vulkan = ["gpu", "vulkan-executor"] wgpu = ["gpu", "wgpu-executor"] quantization = ["autoquant"] wasm = ["wasm-bindgen", "web-sys", "js-sys"] imaginate = ["image/png", "base64", "js-sys", "web-sys", "wasm-bindgen-futures"] image-compare = ["dep:image-compare"] wayland = [] [dependencies] rand = { version = "0.8.5", features = [ "alloc", "small_rng", ], default-features = false } rand_chacha = { version = "0.3.1", default-features = false } autoquant = { git = "https://github.com/truedoctor/autoquant", optional = true, features = [ "fitting", ] } graphene-core = { path = "../gcore", features = [ "async", "std", "serde", "alloc", ], default-features = false } dyn-any = { path = "../../libraries/dyn-any", features = ["derive"] } graph-craft = { path = "../graph-craft" } vulkan-executor = { path = "../vulkan-executor", optional = true } wgpu-executor = { path = "../wgpu-executor", optional = true, version = "0.1" } gpu-executor = { path = "../gpu-executor", optional = true } gpu-compiler-bin-wrapper = { path = "../gpu-compiler/gpu-compiler-bin-wrapper", optional = true } compilation-client = { path = "../compilation-client", optional = true } bytemuck = { version = "1.13" } tempfile = "3" image = { version = "0.24", default-features = false, features = [ "png", "jpeg", ] } base64 = { version = "0.21", optional = true } dyn-clone = "1.0" log = "0.4" bezier-rs = { path = "../../libraries/bezier-rs", features = ["serde"] } glam = { version = "0.24", features = ["serde"] } node-macro = { path = "../node-macro" } rustc-hash = { workspace = true } serde_json = "1.0.96" reqwest = { version = "0.11.18", features = ["rustls", "rustls-tls", "json"] } futures = "0.3.28" wasm-bindgen = { workspace = true, optional = true } js-sys = { version = "0.3.63", optional = true } wgpu-types = "0.17" wgpu = "0.17" wasm-bindgen-futures = { version = "0.4.36", optional = true } winit = "0.28.6" url = "2.4.0" tokio = { version = "1.29.0", optional = true, features = ["fs", "io-std"] } image-compare = { version = "0.3.0", optional = true } [dependencies.serde] version = "1.0" optional = true features = ["derive"] [dependencies.web-sys] version = "0.3.63" optional = true features = [ "Window", "CanvasRenderingContext2d", "ImageData", "Document", "Navigator", "Gpu", "HtmlCanvasElement", "HtmlImageElement", "ImageBitmapRenderingContext", ]