fast image operations
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 67 |
1 files changed, 60 insertions, 7 deletions
@@ -1,33 +1,86 @@ [package] name = "fimg" -version = "0.4.1" +version = "0.4.55" authors = ["bend-n <[email protected]>"] license = "MIT" -edition = "2021" +edition = "2024" description = "fast image operations" -repository = "https://github.com/bend-n/fimg" -exclude = ["src/cat.png", "src/small_cat.png", "benches/"] +repository = "https://git.bendn.org/fimg" +exclude = ["tdata", "benches/", ".gitignore"] +keywords = ["image", "affine", "scale", "drawing"] +categories = ["multimedia::images", "graphics"] [dependencies] -png = { version = "0.17", features = ["unstable"], optional = true } +mattr = "0.0.2" +png = { version = "0.18", features = ["unstable"], optional = true } +fontdue = { version = "0.7.3", optional = true } +vecto = "0.1.1" +umath = "0.0.7" +fr = { version = "0.1.1", package = "fer", optional = true } +slur = { version = "0.1.0", optional = true } +clipline = "0.4.0" +minifb = { version = "0.25.0", default-features = false, features = [ + "x11", + "wayland", +], optional = true } +wgpu = { version = "0.19.1", default-features = false, optional = true } +atools = "0.1.9" +qwant = { version = "1.0.2", optional = true } +libc = "0.2.154" +hinted = { version = "1.0.0", features = ["nightly"] } +lower = "0.2.0" +array_chunks = "1.0.0" +car = "0.1.3" + +[target.'cfg(windows)'.dependencies] +windows = { version = "0.53.0", features = [ + "Win32_System_Console", +], optional = true } [dev-dependencies] -iai = { version = "0.1.1", features = [], git = "https://github.com/bend-n/iai/" } +iai = { git = "https://github.com/bend-n/iai.git" } [[bench]] name = "overlays" +path = "benches/overlays.rs" harness = false [[bench]] +name = "drawing" +path = "benches/drawing.rs" +# harness = false + +[[bench]] name = "affine_transformations" +path = "benches/affine_transformations.rs" +harness = false + +[[bench]] +name = "scaling" +path = "benches/scaling.rs" +harness = false + +[[bench]] +name = "tile" +path = "benches/tile.rs" harness = false [features] +scale = ["fr"] save = ["png"] -default = ["save"] +text = ["fontdue"] +blur = ["slur"] +term = ["qwant", "save", "scale", "windows"] +real-show = ["minifb", "text"] +default = ["save", "scale", "term"] +wgpu-convert = ["dep:wgpu"] [profile.release] debug = 2 opt-level = 3 lto = "thin" incremental = true + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--generate-link-to-definition"] |