include_md 0.2.1

Include markdown file or its section.
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"
name = "include_md"
version = "0.2.1"
authors = [
    "Kostiantyn Mysnyk <wandalen@obox.systems>",
    "Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Include markdown file or its section.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/experimental/include_md"
documentation = "https://docs.rs/include_md"
readme = "readme.md"
keywords = [
    "fundamental",
    "general-purpose",
    "markdown",
    "include",
    "compile-time",
]
categories = [
    "algorithms",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/experimental/include_md"

[package.metadata.docs.rs]
features = ["full"]
all-features = false
include = [
    "/src",
    "/Cargo.toml",
    "/readme.md",
    "/license",
]

[features]
default = ["enabled"]
enabled = [
    "dep:macro_tools",
    "macro_tools/enabled",
]
full = ["enabled"]
no_std = []
use_alloc = ["no_std"]

[lib]
name = "include_md"
path = "src/lib.rs"
proc-macro = true

[[example]]
name = "include_md_trivial"
path = "examples/include_md_trivial.rs"
required-features = ["enabled"]

[[test]]
name = "file_inclusion"
path = "tests/file_inclusion.rs"
required-features = ["enabled"]

[[test]]
name = "section_extraction"
path = "tests/section_extraction.rs"
required-features = ["enabled"]

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

[dependencies.macro_tools]
version = "~0.88.1"
optional = true
default-features = false

[dev-dependencies.test_tools]
version = "~0.17.0"
features = ["full"]

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
struct_excessive_bools = "allow"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"

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

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']