chartml-render 3.0.0

Server-side ChartML rendering: ChartElement tree → SVG → PNG
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 = "2021"
name = "chartml-render"
version = "3.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server-side ChartML rendering: ChartElement tree → SVG → PNG"
homepage = "https://chartml.org"
readme = "README.md"
keywords = [
    "chartml",
    "render",
    "svg",
    "png",
]
categories = [
    "visualization",
    "graphics",
]
license = "MIT"
repository = "https://github.com/chartml/chartml"

[features]
default = ["rasterize"]
rasterize = [
    "dep:resvg",
    "dep:usvg",
    "dep:fontdb",
    "dep:tiny-skia",
    "dep:png",
]

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

[dependencies.chartml-core]
version = "3.0.0"

[dependencies.fontdb]
version = "0.22"
optional = true

[dependencies.png]
version = "0.17"
optional = true

[dependencies.resvg]
version = "0.44"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tiny-skia]
version = "0.11"
optional = true

[dependencies.usvg]
version = "0.44"
optional = true

[lints.clippy]
large_enum_variant = "forbid"
too_many_arguments = "forbid"
wrong_self_convention = "forbid"

[lints.rust]
dead_code = "deny"
unused_imports = "deny"
unused_mut = "deny"
unused_variables = "deny"