Cargo Features
[dependencies]
schematic = { version = "0.17.6", default-features = false, features = ["config", "schema", "schema_serde", "tracing", "env", "extends", "url", "validate", "json", "pkl", "toml", "yaml", "renderer_json_schema", "renderer_template", "renderer_typescript", "type_chrono", "type_indexmap", "type_regex", "type_relative_path", "type_rust_decimal", "type_semver", "type_url", "validate_email", "validate_url"] }
- default = config, env, extends, validate
-
These default features are set whenever
schematic
is added without
somewhere in the dependency tree.default-features = false - config default
-
Enables serde_path_to_error and starbase_styles, config of schematic_macros
Affects
schematic::internal
,schematic::merge
,schematic::env
,schematic::validate
… - schema renderer_json_schema? renderer_template? renderer_typescript? schema_serde?
-
Enables indexmap, schema of schematic_macros
Affects
schematic::schema
… - schema_serde = schema
-
Enables serde of schematic_types
- tracing
-
Enables tracing of schematic_macros
- env default
-
Features
Enables env of schematic_macros
Affects
configs::PartialConfig.env_values
,config::ParseEnvResult
,internal::default_env_value
,internal::parse_env_value
,schematic::env
… - extends default
-
Enables extends of schematic_macros
Affects
configs::PartialConfig.extends_from
… - url
-
Enables reqwest
- validate default validate_email? validate_url?
-
Enables validate of schematic_macros and garde
config
Affects
configs::PartialConfig.validate
,configs::PartialConfig.validate_with_path
,schematic::validate
… - json renderer_json_schema?
-
Formats
Enables serde_json, serde_json of schematic_types
Affects
renderers::json_template
,renderers::jsonc_template
… - pkl
-
Enables rpkl, serde_rpkl of schematic_types
Affects
renderers::pkl_template
… - toml
-
Enables toml, serde_toml of schematic_types
Affects
renderers::toml_template
… - yaml
-
Enables serde_yaml, serde_yaml of schematic_types
Affects
renderers::yaml_template
… - renderer_json_schema = json, schema
-
Renderers
markdown:
json schema
Affects
renderers::json_schema
… - renderer_template = schema
-
Affects
renderers::template
,renderers::json_template
,renderers::jsonc_template
,renderers::pkl_template
,renderers::toml_template
,renderers::yaml_template
… - renderer_typescript = schema
-
Affects
renderers::typescript
… - type_chrono
-
Types
Enables chrono of schematic_types
- type_indexmap
-
Enables indexmap of schematic_types
- type_regex
-
Enables regex of schematic_types
- type_relative_path
-
Enables relative_path of schematic_types
- type_rust_decimal
-
Enables rust_decimal of schematic_types
- type_semver
-
Enables semver of schematic_types
- type_url
-
Enables url of schematic_types
- validate_email = validate
-
Validation
- validate_url = validate