[package] readme = "README.md" name = "gldf-rs" version = "0.2.3" edition = "2021" authors = ["Holger Trahe"] documentation = "https://docs.rs/gldf-rs/" description = "GLDF (General Lighting Data Format) parser and writer for Rust, specifically for the Rust/WASM target as such designed for JSON format" repository = "https://github.com/holg/gldf-rs" homepage = "https://github.com/holg/gldf-rs" license = "GPL-3.0-or-later" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] #yaserde = {version = "0.8"} # we do need our own branch anymore, as now we use the one from yaserde #yaserde = {path = "../yaserde/yaserde"} #, branch="gldf"} yaserde = {version="0.8", git = "https://github.com/holg/yaserde/", branch="gldf"} #yaserde_derive = {path = "../yaserde/yaserde_derive"} #, branch="gldf"} yaserde_derive = {version = "0.8", git = "https://github.com/holg/yaserde/", branch="gldf"} serde = { version = "1.0", features = ["derive"] } serde_json = {version = "1.0"} anyhow = {version = "1.0"} zip = {version="2.2", features = ["deflate", "time"], default-features = false} regex = { version = "1.9" } reqwest = { version = "0.12.8", features = ["json", "blocking"] } futures = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.regex] version = "1.9" [dev-dependencies] tokio = { version = "1", features = ["full"] } [target.'cfg(target_arch = "wasm32")'.dependencies.reqwest-wasm] version = "0.11.16" default-features = false features = ["json", "blocking"] #zip = {path = "../zip", features = ["deflate", "time"], default-features = false} [lib] name = "gldf_rs" path = "src/lib.rs" crate-type = ["cdylib", "rlib"]