[workspace] members = ["examples/crate", "examples/workspace", "include-utils-macro"] resolver = "2" # Common workspace metadata. [workspace.package] version = "0.2.4" authors = ["Aleksey Sidorov "] documentation = "https://docs.rs/include-utils" edition = "2021" repository = "https://github.com/alekseysidorov/include-utils" license = "MIT OR Apache-2.0" rust-version = "1.78" [workspace.dependencies] include-utils = { path = ".", version = "0.2.4", default-features = false } include-utils-macro = { path = "include-utils-macro", version = "0.2.4" } cargo_metadata = "0.19.1" itertools = "0.13" pretty_assertions = "1.4.1" proc-macro2 = "1.0" quote = "1.0" syn = "2.0.90" manyhow = "0.11" [workspace.lints.rust] missing_docs = "warn" missing_debug_implementations = "warn" unsafe_code = "deny" [workspace.lints.rustdoc] broken_intra_doc_links = "deny" [workspace.lints.clippy] pedantic = { level = "warn", priority = -1 } module_name_repetitions = "allow" # Root package [package] name = "include-utils" version.workspace = true edition.workspace = true description = "mdBook-like include macro as the powerful replacement for the standard `include_str` macro." authors.workspace = true categories = ["development-tools"] documentation.workspace = true repository.workspace = true keywords = ["no_std", "documentation", "rustdoc"] license.workspace = true rust-version.workspace = true [dependencies] include-utils-macro = { workspace = true } [features] default = [] # Enable looking up to the workspace root directory for the included files in addition to the # `CARGO_MANIFEST_PATH`. workspace = ["include-utils-macro/workspace"] [lints] workspace = true