iced-markdown-editor 0.3.2

A Word-style WYSIWYG CommonMark editor widget for Iced
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 = "2024"
rust-version = "1.99"
name = "iced-markdown-editor"
version = "0.3.2"
build = false
exclude = [
    ".github/",
    ".claude/",
    "scripts/",
    "todo.txt",
    "website/",
    "examples/web/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Word-style WYSIWYG CommonMark editor widget for Iced"
homepage = "https://github.com/iocast/iced-markdown-editor"
documentation = "https://docs.rs/iced-markdown-editor"
readme = "README.md"
keywords = [
    "iced",
    "markdown",
    "editor",
    "wysiwyg",
    "commonmark",
]
categories = [
    "gui",
    "text-editors",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iocast/iced-markdown-editor"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
images = [
    "dep:arboard",
    "dep:png",
    "dep:imagesize",
    "iced/image",
]
syntect = ["dep:syntect"]

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

[[example]]
name = "editor"
path = "examples/editor.rs"
required-features = [
    "syntect",
    "images",
]

[[example]]
name = "images_embed"
path = "examples/images_embed.rs"
required-features = ["images"]

[[example]]
name = "images_folder"
path = "examples/images_folder.rs"
required-features = ["images"]

[[example]]
name = "images_insert"
path = "examples/images_insert.rs"
required-features = ["images"]

[[example]]
name = "images_upload"
path = "examples/images_upload.rs"
required-features = ["images"]

[[example]]
name = "minimal"
path = "examples/minimal.rs"

[dependencies.ab_glyph]
version = "^0.2"

[dependencies.fluent-bundle]
version = "^0.16"

[dependencies.iced]
version = "^0.14"
features = ["canvas"]

[dependencies.imagesize]
version = "^0.15"
optional = true

[dependencies.pulldown-cmark]
version = "^0.13"
features = ["html"]
default-features = false

[dependencies.syntect]
version = "^5.3"
features = ["default-fancy"]
optional = true
default-features = false

[dependencies.unic-langid]
version = "^0.9"

[dependencies.web-time]
version = "^1.1"

[dev-dependencies.fluent-syntax]
version = "^0.12"

[dev-dependencies.rfd]
version = "^0.17"

[dev-dependencies.serde]
version = "^1.0"
features = ["derive"]

[dev-dependencies.serde_json]
version = "^1.0"

[dev-dependencies.tokio]
version = "^1.54"
features = ["time"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arboard]
version = "^3.7"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.iced]
version = "^0.14"
features = ["tokio"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.png]
version = "^0.18"
optional = true