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"
rust-version = "1.87"
name = "typhoon"
version = "0.3.0"
authors = ["Aursen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Main library"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/exotic-markets-labs/typhoon"

[features]
alloc = ["pinocchio/alloc"]
bytemuck = [
    "solana-address/bytemuck",
    "solana-address/copy",
    "typhoon-traits/bytemuck",
]
default = ["bytemuck"]
logging = ["typhoon-errors/logging"]
wincode = ["solana-address/wincode"]

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

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

[dependencies.pinocchio]
version = "0.10"
default-features = false

[dependencies.solana-address]
version = "2.5.0"
features = ["decode"]

[dependencies.solana-instruction-view]
version = "2.0.0"
features = ["slice-cpi"]

[dependencies.typhoon-account-macro]
version = "0.3.0"

[dependencies.typhoon-accounts]
version = "0.3.0"

[dependencies.typhoon-context]
version = "0.3.0"

[dependencies.typhoon-context-macro]
version = "0.3.0"

[dependencies.typhoon-cpi-generator-macro]
version = "0.3.0"

[dependencies.typhoon-errors]
version = "0.3.0"

[dependencies.typhoon-errors-macro]
version = "0.3.0"

[dependencies.typhoon-program-id-macro]
version = "0.3.0"

[dependencies.typhoon-traits]
version = "0.3.0"

[dependencies.typhoon-utility]
version = "0.3.0"

[dependencies.typhoon-utility-traits]
version = "0.3.0"

[target.'cfg(not(any(target_os = "solana", target_arch = "bpf")))'.dev-dependencies.solana-address]
version = "2.5.0"
features = ["curve25519"]