Crate features / jsonschema
Feature flags · jsonschema 0.60.1 · from crates.io 2026-10-24
jsonschema features: what each one does, and the line to copy
Short answerjsonschema 0.60.1 has 12 features. By default it turns on resolve-http, resolve-file, tls-aws-lc-rs, idna; add default-features = false to start from nothing. It needs Rust 1.85.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
arbitrary-precision | serde_json/arbitrary_precision, dep:num-bigint, jsonschema-macros?/arbitrary-precision, jsonschema-value/arbitrary-precision | |
conformance | jsonschema-value/conformance | |
idna | yes | dep:idna |
jsonb | jsonschema-value/jsonb | |
macros | dep:jsonschema-macros, jsonschema-macros/float-roundtrip, jsonschema-value/macros | |
magnus | jsonschema-value/magnus, dep:magnus | |
pyo3 | jsonschema-value/pyo3, dep:pyo3 | |
resolve-async | referencing/retrieve-async, reqwest, dep:async-trait, dep:tokio | |
resolve-file | yes | nothing else (a switch the code checks) |
resolve-http | yes | reqwest, dep:rustls |
tls-aws-lc-rs | yes | rustls/aws-lc-rs |
tls-ring | rustls/ring |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version jsonschema declares (rust-version), and the release that changed it:
- 0.17.0 (2023-03-16): Rust 1.56.1
- 0.19.0 (2024-09-14): Rust 1.70
- 0.27.0 (2024-12-23): Rust 1.71.1
- 0.34.0 (2025-11-14): Rust 1.83.0
- 0.47.0 (2026-07-07): Rust 1.85.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p jsonschema --precise <version>, or use resolver 3, which picks compatible versions for you.
More on jsonschema
Real downloads, dependents and alternatives: jsonschema crate data (348.1K real downloads a day, 1,599 dependents).
docs.rs feature list · crates.io · license MIT · edition 2021
Up next
Before you depend on itjsonschema crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?