# 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_files"
version = "0.4.0"
authors = ["Oicana <hello@oicana.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "File abstractions for Typst templates."
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 = [
    "packed",
    "preloaded",
]
native = [
    "dep:typst-kit",
    "dep:termcolor",
    "dep:dirs",
    "dep:codespan-reporting",
]
packed = ["dep:zip"]
preloaded = []

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

[dependencies.codespan-reporting]
version = "0.13"
optional = true

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.log]
version = "0.4.21"

[dependencies.termcolor]
version = "1"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.typst]
version = "0.16.0-rc.1"
package = "tmp-typst-custom-metadata"

[dependencies.typst-kit]
version = "0.16.0-rc.1"
features = [
    "system-packages",
    "system-downloader",
]
optional = true
package = "tmp-typst-kit-custom-metadata"

[dependencies.typst-utils]
version = "0.16.0-rc.1"
package = "tmp-typst-utils-custom-metadata"

[dependencies.zip]
version = "6.0.0"
features = [
    "zstd",
    "zstd",
]
optional = true
default-features = false

[dev-dependencies.tempfile]
version = "3.13.0"

[dev-dependencies.toml]
version = "0.9.8"

[lints.rust]
missing_docs = "warn"
