[package] name = "fdsm" version = "0.6.0" edition = "2021" authors = ["+merlan #flirora"] license = "MIT" repository = "https://gitlab.com/Kyarei/fdsm" keywords = ["msdf", "distance-fields"] categories = ["graphics"] description = "A pure-Rust implementation of multi-channel signed distance field generation" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] image = { version = "0.25.1", default-features = false } nalgebra = "0.33.0" num-traits = "0.2.15" oklab = { version = "1.0.0", optional = true } ttf-parser = { version = "0.24.1", optional = true } [features] ttf-parser = ["dep:ttf-parser"] visualize = ["dep:oklab"] [dev-dependencies] approx = "0.5.1" criterion = { version = "0.5.1", features = ["html_reports"] } image = { version = "0.25.1", default-features = false, features = ["png"] } msdfgen = "0.2.1" notosans = "0.1.0" iai-callgrind = "0.12.3" [profile.dev] opt-level = 1 [profile.bench] debug = true [[bench]] name = "msdfgen" harness = false [[bench]] name = "ec" harness = false [[bench]] name = "msdfgen-iai" harness = false [[bench]] name = "ec-iai" harness = false [package.metadata.docs.rs] all-features = true