# 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" rust-version = "1.71.1" name = "schematic" version = "0.17.6" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A layered serde configuration and schema library." homepage = "https://moonrepo.github.io/schematic" readme = "README.md" license = "MIT" repository = "https://github.com/moonrepo/schematic" [package.metadata.docs.rs] all-features = true [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG.md" replace = "{{version}}" search = "Unreleased" [lib] name = "schematic" path = "src/lib.rs" [[test]] name = "code_sources_test" path = "tests/code_sources_test.rs" [[test]] name = "config_unit_struct" path = "tests/config_unit_struct.rs" [[test]] name = "defaults_test" path = "tests/defaults_test.rs" [[test]] name = "env_test" path = "tests/env_test.rs" [[test]] name = "errors_test" path = "tests/errors_test.rs" [[test]] name = "extends_test" path = "tests/extends_test.rs" [[test]] name = "file_sources_test" path = "tests/file_sources_test.rs" [[test]] name = "generator_test" path = "tests/generator_test.rs" [[test]] name = "macro_enum_test" path = "tests/macro_enum_test.rs" [[test]] name = "macros_test" path = "tests/macros_test.rs" [[test]] name = "merge_test" path = "tests/merge_test.rs" [[test]] name = "partialize_test" path = "tests/partialize_test.rs" [[test]] name = "schematic_enum_test" path = "tests/schematic_enum_test.rs" [[test]] name = "settings_test" path = "tests/settings_test.rs" [[test]] name = "url_sources_test" path = "tests/url_sources_test.rs" [[test]] name = "utils" path = "tests/utils.rs" [[test]] name = "validate_test" path = "tests/validate_test.rs" [[test]] name = "variants_test" path = "tests/variants_test.rs" [dependencies.garde] version = "0.20.0" features = ["regex"] optional = true default-features = false [dependencies.indexmap] version = "2.6.0" features = ["serde"] optional = true [dependencies.markdown] version = "1.0.0-alpha.21" optional = true [dependencies.miette] version = "7.2.0" [dependencies.reqwest] version = "0.12.9" features = ["blocking"] optional = true default-features = false [dependencies.rpkl] version = "0.3.4" optional = true [dependencies.schemars] version = "0.8.21" optional = true default-features = false [dependencies.schematic_macros] version = "0.17.4" [dependencies.schematic_types] version = "0.9.5" [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_json] version = "1.0.132" features = ["preserve_order"] optional = true [dependencies.serde_path_to_error] version = "0.1.16" optional = true [dependencies.serde_yaml] version = "0.9.34" optional = true [dependencies.starbase_styles] version = "0.4.5" optional = true [dependencies.thiserror] version = "1.0.66" [dependencies.toml] version = "0.8.19" optional = true [dependencies.tracing] version = "0.1.40" [dev-dependencies.chrono] version = "0.4.38" features = ["serde"] [dev-dependencies.indexmap] version = "2.6.0" [dev-dependencies.regex] version = "1.11.1" [dev-dependencies.relative-path] version = "1.9.3" features = ["serde"] [dev-dependencies.reqwest] version = "0.12.9" features = [ "blocking", "rustls-tls-native-roots", ] default-features = false [dev-dependencies.rust_decimal] version = "1.36.0" [dev-dependencies.semver] version = "1.0.23" features = ["serde"] [dev-dependencies.serial_test] version = "3.1.1" [dev-dependencies.similar] version = "2.6.0" [dev-dependencies.starbase_sandbox] version = "0.7.5" [dev-dependencies.url] version = "2.5.2" features = ["serde"] [features] config = [ "dep:serde_path_to_error", "dep:starbase_styles", "schematic_macros/config", ] default = [ "config", "env", "extends", "validate", ] env = ["schematic_macros/env"] extends = ["schematic_macros/extends"] json = [ "dep:serde_json", "schematic_types/serde_json", ] pkl = [ "dep:rpkl", "schematic_types/serde_rpkl", ] renderer_json_schema = [ "json", "schema", "dep:markdown", "dep:schemars", ] renderer_template = ["schema"] renderer_typescript = ["schema"] schema = [ "dep:indexmap", "schematic_macros/schema", ] schema_serde = [ "schema", "schematic_types/serde", ] toml = [ "dep:toml", "schematic_types/serde_toml", ] tracing = ["schematic_macros/tracing"] type_chrono = ["schematic_types/chrono"] type_indexmap = ["schematic_types/indexmap"] type_regex = ["schematic_types/regex"] type_relative_path = ["schematic_types/relative_path"] type_rust_decimal = ["schematic_types/rust_decimal"] type_semver = ["schematic_types/semver"] type_url = ["schematic_types/url"] url = ["dep:reqwest"] validate = [ "dep:garde", "schematic_macros/validate", ] validate_email = [ "validate", "garde/email", ] validate_url = [ "validate", "garde/url", ] yaml = [ "dep:serde_yaml", "schematic_types/serde_yaml", ]