hylo-core 2.2.2

Core protocol data types, math, and utilities.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "hylo-core"
version = "2.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core protocol data types, math, and utilities."
homepage = "https://hylo.so"
readme = false
license = "MPL-2.0"

[features]
default = []
offchain = [
    "dep:hylo-idl",
    "dep:hylo-jupiter-amm-interface",
    "hylo-fix/typed-floats",
]
shadow = ["hylo-idl?/shadow"]

[lib]
name = "hylo_core"
path = "src/lib.rs"

[dependencies.anchor-lang]
version = "=0.32.1"

[dependencies.anchor-spl]
version = "=0.32.1"

[dependencies.const-crypto]
version = "0.3.0"

[dependencies.hylo-fix]
version = "0.7.2"

[dependencies.hylo-idl]
version = "2.1.0"
optional = true

[dependencies.hylo-jupiter-amm-interface]
version = "0.6.0"
optional = true

[dependencies.itertools]
version = "0.14.0"

[dependencies.pyth-solana-receiver-sdk]
version = "=1.2.0"
features = ["pro-compatible"]

[dependencies.serde]
version = "1.0.225"

[dev-dependencies.anyhow]
version = "1.0.98"

[dev-dependencies.more-asserts]
version = "0.3.1"

[dev-dependencies.proptest]
version = "1.5.0"

[lints.clippy]
needless_for_each = "allow"
type_complexity = "allow"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]