[package]
name = "include_md"
version = "0.2.1"
edition = "2021"
authors = [
"Kostiantyn Mysnyk <wandalen@obox.systems>",
"Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
license = "MIT"
readme = "readme.md"
documentation = "https://docs.rs/include_md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/experimental/include_md"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/experimental/include_md"
description = """
Include markdown file or its section.
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose", "markdown", "include", "compile-time" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "full" ]
all-features = false
include = [
"/src",
"/Cargo.toml",
"/readme.md",
"/license",
]
[features]
default = [ "enabled" ]
full = [ "enabled" ]
no_std = []
use_alloc = [ "no_std" ]
enabled = [ "dep:macro_tools", "macro_tools/enabled" ]
[lib]
name = "include_md"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "file_inclusion"
path = "tests/file_inclusion.rs"
required-features = [ "enabled" ]
[[test]]
name = "section_extraction"
path = "tests/section_extraction.rs"
required-features = [ "enabled" ]
[[example]]
name = "include_md_trivial"
path = "examples/include_md_trivial.rs"
required-features = [ "enabled" ]
[dependencies]
macro_tools = { workspace = true, optional = true }
[dev-dependencies]
test_tools = { workspace = true, features = [ "full" ] }