dioxus-code 0.0.1

Syntax-highlighted code blocks for Dioxus.
# 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"
name = "dioxus-code"
version = "0.0.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Syntax-highlighted code blocks for Dioxus."
homepage = "https://dioxuslabs.github.io/dioxus-code/"
readme = "README.md"
keywords = [
    "dioxus",
    "code",
    "highlighting",
    "editor",
]
categories = [
    "gui",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/ealmloff/dioxus-code"

[features]
all-languages = [
    "runtime",
    "arborium/all-languages",
]
default = ["macro"]
lang-python = [
    "runtime",
    "arborium/lang-python",
]
lang-toml = [
    "runtime",
    "arborium/lang-toml",
]
macro = ["dep:dioxus-code-macro"]
runtime = ["arborium/lang-rust"]

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

[dependencies.arborium]
version = "2.16.0"
default-features = false

[dependencies.arborium-theme]
version = "2.16.0"

[dependencies.dioxus]
version = "0.7.0"
features = ["lib"]
default-features = false

[dependencies.dioxus-code-macro]
version = "0.0.1"
optional = true

[dev-dependencies.dioxus]
version = "0.7.0"
features = ["ssr"]

[build-dependencies.arborium]
version = "2.16.0"
default-features = false