hylo-fix 0.8.0

Fixed-point number types with Solana Anchor support
Documentation

Fix

Crate Version Build Status

Fixed-point number types with Solana Anchor support.

Cargo features

  • anchor (enabled by default) — Solana Anchor support: Borsh serialization and account-space derives for on-chain storage.
  • idl-build — Anchor IDL generation. Implies anchor.
  • typed-floats — floating-point conversions via the typed_floats crate.

Anchor support can be disabled for use outside Solana:

[dependencies]
hylo-fix = { version = "0.8", default-features = false }

Documentation