mdqy 0.1.4

jq for markdown: query and transform Markdown with a hybrid selector and jq DSL
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.83"
name = "mdqy"
version = "0.1.4"
authors = ["pawelb"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "jq for markdown: query and transform Markdown with a hybrid selector and jq DSL"
homepage = "https://github.com/pawelb0/mdqy"
readme = "README.md"
keywords = [
    "markdown",
    "jq",
    "query",
    "cli",
    "pulldown-cmark",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MPL-2.0"
repository = "https://github.com/pawelb0/mdqy"

[package.metadata.wix]
upgrade-guid = "EC01F7DE-BD69-4878-9A58-510D77943F5A"
path-guid = "9B0DC815-B44E-49D5-BE13-68B921934502"
license = false
eula = false

[features]
default = []
schema-export = ["dep:schemars"]
tty = [
    "dep:mdcat",
    "dep:syntect",
]
watch = ["dep:notify"]

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

[[bin]]
name = "mdqy"
path = "src/bin/mdqy.rs"

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

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

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

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

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

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

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

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

[[bench]]
name = "criterion"
path = "benches/criterion.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4.6.1"
features = [
    "std",
    "derive",
    "help",
    "usage",
    "error-context",
]
default-features = false

[dependencies.ignore]
version = "0.4.23"

[dependencies.mdcat]
version = "0.2"
features = ["image-processing"]
optional = true
default-features = false
package = "mdcat-ng"

[dependencies.notify]
version = "7"
features = ["macos_kqueue"]
optional = true
default-features = false

[dependencies.pulldown-cmark]
version = "0.13.3"
features = ["simd"]
default-features = false

[dependencies.pulldown-cmark-to-cmark]
version = "22"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.12.3"
features = [
    "std",
    "unicode-perl",
]
default-features = false

[dependencies.schemars]
version = "0.8"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.similar]
version = "2.6"
features = ["inline"]

[dependencies.slug]
version = "0.1"

[dependencies.syntect]
version = "5.3.0"
features = [
    "parsing",
    "regex-fancy",
    "default-syntaxes",
]
optional = true
default-features = false

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "0.8"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.clap_complete]
version = "4"

[dev-dependencies.clap_mangen]
version = "0.2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
too_many_lines = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
lto = "thin"
strip = "symbols"