Registry / serialization / schemafy-lib

schemafy-lib

JSON →
library0.6.0rscratesunverified

Generates serializable Rust types from a JSON schema.

# Cargo.toml [dependencies] schemafy_lib = "0.6.0"
INSTALL
IMPORT
SIG · SCHEMAFY-LIB
S
schemafy-lib
serializationrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Schemafy
use schemafy_lib::Schemafy;

Generates Rust types from a JSON schema string.

use schemafy_lib::Schemafy; fn main() { let schema = r#"{"type": "object", "properties": {"name": {"type": "string"}}}"#; let generated = Schemafy::new().generate(schema).unwrap(); println!("{}", generated); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
schemafy-lib — cargo add schemafy-lib · libregistry