# 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.88"
name = "oicana_export"
version = "0.2.0"
authors = ["Oicana <hello@oicana.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helpers to export a compiled document."
homepage = "https://oicana.com"
readme = "README.md"
keywords = [
    "oicana",
    "typst",
    "typesetting",
    "pdf",
]
categories = ["template-engine"]
license-file = "LICENSE.md"
repository = "https://github.com/oicana/oicana"

[features]
default = [
    "pdf",
    "svg",
    "png",
]
pdf = ["dep:typst-pdf"]
png = [
    "dep:typst-render",
    "dep:png",
    "dep:thiserror",
]
svg = ["dep:typst-svg"]

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

[dependencies.oicana_template]
version = "0.2.0"

[dependencies.oicana_world]
version = "0.2.0"

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

[dependencies.thiserror]
version = "2.0"
optional = true

[dependencies.typst]
version = "0.14.1"

[dependencies.typst-pdf]
version = "0.14.1"
optional = true

[dependencies.typst-render]
version = "0.14.1"
optional = true

[dependencies.typst-svg]
version = "0.14.1"
optional = true

[dev-dependencies.oicana_files]
version = "0.2.0"
features = ["preloaded"]
default-features = false

[dev-dependencies.oicana_input]
version = "0.2.0"
