1 unstable release

new 0.13.0-rc.2 Mar 24, 2025

#34 in #valid


Used in 2 crates (via hyle-contract-sdk)

MIT license

75KB
2K SLoC

Hyle model

This crate defines the datamodel for the hyle ecosystem.

The types are defined in separated files for clarity, but are almost all re-exported at the root.

Example:

use hyle_model::ContractInput; // Valid
use hyle_model::contract::ContractInput; // NOT valid

The default feature full enables to access all the datamodel, this should be disabled in the contract's dependency (See examples).

The feature sqlx is for hyle node internal need, you might not need it.

Dependencies

~2–15MB
~229K SLoC