mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
166 lines
2.9 KiB
TOML
166 lines
2.9 KiB
TOML
# 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"
|
|
rust-version = "1.92"
|
|
name = "krilla"
|
|
version = "0.8.2"
|
|
authors = ["Laurenz Stampfl <laurenz.stampfl@gmail.com>"]
|
|
build = false
|
|
exclude = ["src/tests"]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A high-level crate for creating PDF files."
|
|
readme = "README.md"
|
|
keywords = ["pdf"]
|
|
categories = [
|
|
"graphics",
|
|
"multimedia",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/LaurenzV/krilla"
|
|
|
|
[features]
|
|
comemo = ["dep:comemo"]
|
|
default = [
|
|
"raster-images",
|
|
"simple-text",
|
|
]
|
|
pdf = ["dep:hayro-write"]
|
|
raster-images = [
|
|
"dep:png",
|
|
"dep:zune-jpeg",
|
|
"dep:gif",
|
|
"dep:image-webp",
|
|
"dep:imagesize",
|
|
]
|
|
rayon = ["dep:rayon"]
|
|
simple-text = ["dep:rustybuzz"]
|
|
|
|
[lib]
|
|
name = "krilla"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "basic"
|
|
path = "examples/basic.rs"
|
|
|
|
[[example]]
|
|
name = "empty_document"
|
|
path = "examples/empty_document.rs"
|
|
|
|
[[example]]
|
|
name = "parley"
|
|
path = "examples/parley.rs"
|
|
|
|
[[example]]
|
|
name = "simple_text"
|
|
path = "examples/simple_text.rs"
|
|
|
|
[[example]]
|
|
name = "stream_builder"
|
|
path = "examples/stream_builder.rs"
|
|
|
|
[dependencies.base64]
|
|
version = "0.22.1"
|
|
|
|
[dependencies.bumpalo]
|
|
version = "3.16.0"
|
|
|
|
[dependencies.comemo]
|
|
version = "0.5.0"
|
|
optional = true
|
|
|
|
[dependencies.flate2]
|
|
version = "1.1.0"
|
|
|
|
[dependencies.float-cmp]
|
|
version = "0.9.0"
|
|
|
|
[dependencies.gif]
|
|
version = "0.14.2"
|
|
optional = true
|
|
|
|
[dependencies.hayro-write]
|
|
version = "0.7.0"
|
|
optional = true
|
|
|
|
[dependencies.image-webp]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.imagesize]
|
|
version = "0.14.0"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
version = "2.10.0"
|
|
|
|
[dependencies.pdf-writer]
|
|
version = "0.15.0"
|
|
|
|
[dependencies.png]
|
|
version = "0.18.1"
|
|
optional = true
|
|
|
|
[dependencies.rayon]
|
|
version = "1.10.0"
|
|
optional = true
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "2.1.1"
|
|
|
|
[dependencies.rustybuzz]
|
|
version = "0.20.1"
|
|
optional = true
|
|
|
|
[dependencies.siphasher]
|
|
version = "1.0.1"
|
|
|
|
[dependencies.skrifa]
|
|
version = "0.42.0"
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.15.1"
|
|
features = [
|
|
"union",
|
|
"const_new",
|
|
"write",
|
|
]
|
|
|
|
[dependencies.subsetter]
|
|
version = "0.2.6"
|
|
features = ["variable-fonts"]
|
|
|
|
[dependencies.tiny-skia-path]
|
|
version = "0.12.0"
|
|
|
|
[dependencies.xmp-writer]
|
|
version = "0.3.3"
|
|
|
|
[dependencies.yoke]
|
|
version = "0.8.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.zune-jpeg]
|
|
version = "0.5.5"
|
|
optional = true
|
|
|
|
[dev-dependencies.parley]
|
|
version = "0.8.0"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1.4.1"
|