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.2.2"
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"]
borsh = [
    "solana-address/borsh",
    "typhoon-accounts/borsh",
    "typhoon-utility/borsh",
    "typhoon-context/borsh",
]
logging = ["typhoon-errors/logging"]

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

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

[dependencies.solana-address]
version = "2.0.0"
features = [
    "decode",
    "copy",
    "bytemuck",
]

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

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

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

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

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

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

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

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

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

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

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

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

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