kode-leptos 0.2.2

Fast Leptos code editor + WYSIWYG markdown component — syntax highlighting, diagnostics, completions, theming
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"
rust-version = "1.85"
name = "kode-leptos"
version = "0.2.2"
authors = ["Jason Adams <jason@yellowgorilla.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Leptos code editor + WYSIWYG markdown component — syntax highlighting, diagnostics, completions, theming"
homepage = "https://github.com/kyomi-ai/kode"
readme = "README.md"
keywords = [
    "leptos",
    "editor",
    "code",
    "wysiwyg",
    "markdown",
]
categories = [
    "gui",
    "text-editors",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/kyomi-ai/kode"

[features]
schema = [
    "dep:boon",
    "dep:serde_json",
    "dep:serde-saphyr",
    "dep:saphyr-parser",
]

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

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

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

[dependencies.arborium-tree-sitter]
version = "2.16"

[dependencies.boon]
version = "0.6"
optional = true

[dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[dependencies.js-sys]
version = "0.3"

[dependencies.kode-core]
version = "0.2.1"

[dependencies.kode-doc]
version = "0.2.1"

[dependencies.kode-markdown]
version = "0.2.1"

[dependencies.leptos]
version = "0.8"
features = ["csr"]

[dependencies.log]
version = "0.4"

[dependencies.saphyr-parser]
version = "0.0"
optional = true

[dependencies.send_wrapper]
version = "0.6"

[dependencies.serde-saphyr]
version = "0.0"
optional = true

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

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.wasm-bindgen-futures]
version = "0.4"

[dependencies.web-sys]
version = "0.3"
features = [
    "HtmlTextAreaElement",
    "HtmlElement",
    "HtmlDivElement",
    "KeyboardEvent",
    "InputEvent",
    "MouseEvent",
    "DomRect",
    "DomRectList",
    "Window",
    "Document",
    "Element",
    "Node",
    "NodeList",
    "Range",
    "WheelEvent",
    "FocusEvent",
    "CompositionEvent",
    "ClipboardEvent",
    "DataTransfer",
    "HtmlPreElement",
    "HtmlSpanElement",
    "CssStyleDeclaration",
]

[dev-dependencies.arborium]
version = "2.16"
features = ["lang-sql"]
default-features = false

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

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