Skip to main content

Crate scarb_manifest_schema

Crate scarb_manifest_schema 

Source
Expand description

Dynamic JSON Schema for Scarb manifest.

Provides a way to generate and traverse the Scarb manifest JSON Schema and retrieve the definition for a specific TOML path, such as package.dependencies.

Structs§

SchemaTraverser
Traverses the JSON Schema and returns the definition for a specific TOML path, such as package.dependencies.

Constants§

SCARB_SCHEMA_JSON

Functions§

get_manifest_schema
Serializes full JSON Schema for the TomlManifest it into a serde_json::Value.
get_shared_traverser
Returns a lazily initialised, shared, globally accessible instance of the SchemaTraverser.