smep 0.1.12

A Simple Markdown Editor & Previewer, written in Rust
# 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.97"
name = "smep"
version = "0.1.12"
build = "build.rs"
include = [
    "src/**",
    "tests/**",
    "assets/themes/*",
    "assets/icon/smep.ico",
    "assets/icon/smep-256.png",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Simple Markdown Editor & Previewer, written in Rust"
homepage = "https://github.com/newdee/smep"
readme = "README.md"
keywords = [
    "markdown",
    "editor",
    "preview",
    "gui",
    "gpui",
]
categories = ["text-editors"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/newdee/smep"

[features]
default = [
    "pdf-import",
    "pdf-export",
]
pdf-export = [
    "dep:typst-as-lib",
    "dep:typst-layout",
    "dep:typst-pdf",
]
pdf-import = ["dep:pdf-inspector"]

[[bin]]
name = "smep"
path = "src/main.rs"

[[test]]
name = "command_line"
path = "tests/command_line.rs"

[dependencies.anyhow]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.docx-rust]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.gpui-kit]
version = "0.8"

[dependencies.htmd]
version = "0.5"

[dependencies.interprocess]
version = "2"

[dependencies.markdown]
version = "1"

[dependencies.pdf-inspector]
version = "1.25"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.toml]
version = "1"

[dependencies.typst-as-lib]
version = "0.16"
features = ["typst-kit-fonts"]
optional = true

[dependencies.typst-layout]
version = "0.15"
optional = true

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

[dev-dependencies.gpui-kit]
version = "0.8"
features = ["test-support"]

[dev-dependencies.serde_json]
version = "1"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_System_Console",
    "Win32_System_Threading",
    "Win32_UI_WindowsAndMessaging",
]

[target."cfg(windows)".dependencies.winreg]
version = "0.55"

[target."cfg(windows)".build-dependencies.winresource]
version = "0.1"

[profile.release]
lto = "thin"
codegen-units = 1
strip = true