genfile_core 0.8.0

File generation tools for code generation and template materialization.
Documentation
[dependencies.base64]
optional = true
version = "0.22"

[dependencies.collection_tools]
default-features = false
version = "~0.34.0"

[dependencies.error_tools]
default-features = false
features = ["error_typed"]
version = "~0.36.0"

[dependencies.handlebars]
optional = true
version = "4.5.0"

[dependencies.mod_interface]
default-features = false
version = "~0.55.0"

[dependencies.regex]
optional = true
version = "1.11"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_json]
optional = true
version = "1.0"

[dependencies.serde_yaml]
optional = true
version = "0.9"

[dev-dependencies]

[[example]]
name = "archive_with_parameters"
path = "examples/archive_with_parameters.rs"
required-features = ["archive", "parameter_discovery"]

[[example]]
name = "basic_template"
path = "examples/basic_template.rs"
required-features = ["archive"]

[[example]]
name = "binary_files"
path = "examples/binary_files.rs"
required-features = ["binary", "json"]

[[example]]
name = "custom_storage"
path = "examples/custom_storage.rs"
required-features = ["external_content"]

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

[[example]]
name = "low_level_template"
path = "examples/low_level_template.rs"
required-features = ["template"]

[[example]]
name = "serialization"
path = "examples/serialization.rs"
required-features = ["json", "yaml"]

[features]
archive = ["renderer", "filesystem", "dep:serde", "error_tools/enabled", "collection_tools/enabled", "mod_interface/enabled"]
binary = ["archive", "dep:base64"]
default = ["archive", "template", "renderer", "filesystem", "serialization", "binary"]
external_content = ["archive"]
filesystem = ["error_tools/enabled", "collection_tools/enabled", "mod_interface/enabled"]
full = ["archive", "template", "renderer", "filesystem", "serialization", "json", "yaml", "binary", "external_content", "parameter_discovery"]
json = ["archive", "dep:serde", "dep:serde_json"]
parameter_discovery = ["dep:regex"]
renderer = ["dep:handlebars", "dep:serde_json", "error_tools/enabled", "collection_tools/enabled", "mod_interface/enabled"]
serialization = ["json", "yaml"]
template = ["renderer", "filesystem", "dep:serde", "error_tools/enabled", "collection_tools/enabled", "mod_interface/enabled"]
yaml = ["archive", "dep:serde", "dep:serde_yaml"]

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

[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

[package]
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "template-engine"]
description = """
File generation tools for code generation and template materialization.
"""
documentation = "https://docs.rs/genfile_core"
edition = "2021"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/genfile_core"
keywords = ["fundamental", "general-purpose", "template", "codegen"]
license = "MIT"
name = "genfile_core"
readme = "readme.md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/genfile_core"
version = "0.8.0"

[package.metadata.docs.rs]
all-features = false
features = ["full"]

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

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

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