titan-api-types 1.2.0

Definitions of types used across the Titan API
Documentation
//! Type definitions for the Titan API.
//!
//! # Features
//!
//! * `pubkey-str` - (default) Enable conversions to/from base58 strings for [`Pubkey`][pubkey]s.
//! * `pubkey-fromstr-const` - (default) Enable compile-time base58 string to [`Pubkey`][pubkey] conversion.
//! * `serde` - (default) Enable `serde` serialization/deserialization for types.
//! * `solana-pubkey-convert-v2` - Enables conversion of [`Pubkey`][pubkey] to and from the V2 Solana SDK
//!   type.
//! * `solana-instruction-convert-v2` - Enable conversion of [`Instruction`][instruction] to and from
//!   the V2 Solana SDK types (enables `solana-pubkey-convert-v2`).
//! * `solana-address-convert-v1` - Enable conversion of [`Pubkey`][pubkey] to and from the
//!   V1 of the [`solana-address`][solana_address] crate, as well as V3 of the `solana-pubkey`
//!   crate (which re-exports `solana_address::Address`  as `Pubkey`).
//! * `solana-instruction-convert-v3` - Enable conversion of [`Instruction`][instruction] to and from
//!   the V3 Solana SDK types (enables `solana-address-convert-v1`).
//!
//! [pubkey]: crate::common::Pubkey
//! [instruction]: crate::common::Instruction
//! [solana_address]: https://docs.rs/solana-address/1.0.0/solana_address/index.html
#![warn(missing_docs)]

pub mod common;
pub mod ws;