document-graphics 0.1.3

Render graphics from untrusted documents to RGBA, with resource limits and isolated workers.
Documentation
# 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 = "2024"
rust-version = "1.90"
name = "document-graphics"
version = "0.1.3"
build = false
include = [
    "src/**",
    "tests/**",
    "fonts/**",
    "README.md",
    "LICENSE",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Render graphics from untrusted documents to RGBA, with resource limits and isolated workers."
documentation = "https://docs.rs/document-graphics"
readme = "README.md"
keywords = [
    "mermaid",
    "svg",
    "preview",
    "rendering",
]
categories = [
    "rendering",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/garlab/document-graphics"

[features]
default = []
sgf = []

[lib]
name = "document_graphics"
path = "src/lib.rs"

[[test]]
name = "worker"
path = "tests/worker.rs"
harness = false

[dependencies.katex-native]
version = "0.1"

[dependencies.mermaid-rs-renderer]
version = "=0.1.3"
default-features = false
package = "document-graphics-mermaid"

[dependencies.resvg]
version = "0.45.1"
features = ["text"]
default-features = false

[dependencies.roxmltree]
version = "0.20"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
dbg_macro = "warn"
todo = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"