Cargo Features
[dependencies]
schematic = { version = "0.15.1", default-features = false, features = ["config", "json", "schema", "toml", "url", "yaml", "renderer_json_schema", "renderer_template", "renderer_typescript", "type_chrono", "type_indexmap", "type_regex", "type_relative_path", "type_rust_decimal", "type_semver", "type_serde_json", "type_serde_toml", "type_serde_yaml", "type_url", "valid_email", "valid_url"] }
- default = config, url
-
These default features are set whenever
schematic
is added without
somewhere in the dependency tree.default-features = false - config default
-
Enables garde, serde_path_to_error and starbase_styles, config of schematic_macros
Affects
schematic::env
,schematic::internal
,schematic::merge
,schematic::validate
… - json renderer_json_schema?
-
Enables serde_json
Affects
renderers::json_template
,renderers::jsonc_template
… - schema renderer_json_schema? renderer_typescript?
-
Enables indexmap, schema of schematic_macros
Affects
schematic::schema
… - toml
-
Enables toml
Affects
renderers::toml_template
… - url default
-
Enables reqwest
- yaml
-
Enables serde_yaml
Affects
renderers::yaml_template
… - renderer_json_schema = json, schema
-
markdown:
json schema
Affects
renderers::json_schema
… - renderer_template
-
Affects
renderers::template
,renderers::json_template
,renderers::jsonc_template
,renderers::toml_template
,renderers::yaml_template
… - renderer_typescript = schema
-
Affects
renderers::typescript
… - type_chrono
-
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_serde_json
-
Enables serde_json of schematic_types
- type_serde_toml
-
Enables serde_toml of schematic_types
- type_serde_yaml
-
Enables serde_yaml of schematic_types
- type_url
-
Enables url of schematic_types
- valid_email
-
config
- valid_url