[package]
edition = "2024"
rust-version = "1.85"
name = "ferrodoc"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal document converter: markdown, GFM, HTML, DOCX, ODT, EPUB, Jupyter and the pandoc JSON AST in; those plus LaTeX, reStructuredText, AsciiDoc and plain text out — every format checked against pandoc document by document"
homepage = "https://github.com/alexgaoth/ferrodoc"
readme = "README.md"
keywords = [
"pandoc",
"markdown",
"docx",
"html",
"converter",
]
categories = [
"text-processing",
"parser-implementations",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alexgaoth/ferrodoc"
[features]
all = [
"markdown",
"html",
"text",
"docx",
"odt",
"epub",
"ipynb",
"latex",
"rst",
"asciidoc",
"highlight",
]
asciidoc = ["dep:ferrodoc-asciidoc"]
default = ["all"]
docx = ["dep:ferrodoc-docx"]
epub = [
"dep:ferrodoc-epub",
"html",
"docx",
]
highlight = [
"ferrodoc-html?/highlight",
"ferrodoc-latex?/highlight",
]
html = ["dep:ferrodoc-html"]
ipynb = [
"dep:ferrodoc-ipynb",
"markdown",
]
latex = ["dep:ferrodoc-latex"]
markdown = ["dep:ferrodoc-markdown"]
odt = [
"dep:ferrodoc-odt",
"docx",
]
rst = ["dep:ferrodoc-rst"]
text = ["dep:ferrodoc-text"]
[lib]
name = "ferrodoc"
path = "src/lib.rs"
[[bin]]
name = "ferrodoc"
path = "src/main.rs"
[dependencies.ferrodoc-asciidoc]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-ast]
version = "1.0.1"
[dependencies.ferrodoc-docx]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-epub]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-html]
version = "1.0.1"
optional = true
default-features = false
[dependencies.ferrodoc-ipynb]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-latex]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-markdown]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-odt]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-rst]
version = "1.0.1"
optional = true
[dependencies.ferrodoc-text]
version = "1.0.1"
optional = true
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"