[package] name = "script-meditate" description = "Supercharge Cargo scripts with inline structured data/configuration." authors = ["dmb-ish"] repository = "https://codeberg.org/dmb-ish/script-meditate" keywords = ["script", "cargo-script"] categories = ["command-line-interface", "config", "development-tools::build-utils"] version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" readme = "README.md" include = [ "/src/**", "/examples/**", "/scripts/**", "/LICENSE-APACHE", "/LICENSE-MIT", "/README.md", ] autoexamples = false # Cargo scripts are not (yet) valid examples [package.metadata.docs.rs] features = ["doc", "json", "toml", "yaml"] [dependencies] serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", optional = true } serde_toml = { package = "toml", version = "0.8.14", optional = true } serde_yaml = { version = "0.9.34", optional = true } # TODO: use a maintained version document-features = { version = "0.2.8", optional = true } [features] default = [] # Enable crates only used for documentation. doc = ["dep:document-features"] #! ## Frontmatter format selection #! One or more of these must be enabled. ## Enables JSON parsing. json = ["dep:serde_json"] ## Enables TOML parsing. toml = ["dep:serde_toml"] ## Enables YAML parsing. yaml = ["dep:serde_yaml"]