# 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 = "sanctum-solana-serde" version = "1.0.1" authors = ["sanctum"] include = [ "/src", "/README.md", ] description = "Collection of newtypes for common solana types to implement serde on for easy use in web applications" readme = "README.md" keywords = [ "sanctum", "solana", "serde", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/igneous-labs/sanctum-solana-serde.git" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bincode] version = "^1" optional = true [dependencies.data-encoding] version = "^2" optional = true [dependencies.derive_more] version = ">=0.99" optional = true default-features = false [dependencies.rust_decimal] version = "^1" optional = true [dependencies.serde] version = "^1" [dependencies.solana-program] version = "^1" optional = true [dependencies.solana-sdk] version = "^1" optional = true [dependencies.utoipa] version = "^4" optional = true [dev-dependencies.serde_json] version = "^1" [features] b58_pubkey = [ "solana-program", "derive_more_simple_newtype", ] b58_signature = [ "solana-sdk", "derive_more_simple_newtype", ] b64_buffer = [ "data-encoding", "derive_more_simple_newtype", "derive_more/into_iterator", ] b64_legacy_tx = [ "b64_buffer", "bincode", "solana-sdk", "solana-program", "derive_more_simple_newtype", ] b64_versioned_tx = [ "b64_buffer", "bincode", "solana-sdk", "solana-program", "derive_more_simple_newtype", ] decimal_str = [ "rust_decimal", "derive_more_simple_newtype", ] default = [ "b58_pubkey", "b58_signature", "b64_buffer", "b64_legacy_tx", "b64_versioned_tx", "decimal_str", "u64_str", ] derive_more_simple_newtype = [ "derive_more/as_mut", "derive_more/as_ref", "derive_more/deref", "derive_more/deref_mut", "derive_more/from", "derive_more/into", ] u64_str = ["derive_more_simple_newtype"]