blockchain-compression 0.1.0

High-performance compression library optimized for blockchain data structures
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 = "blockchain-compression"
version = "0.1.0"
authors = ["Cryptuon Team <team@cryptuon.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance compression library optimized for blockchain data structures"
homepage = "https://cryptuon.github.io/blockchain-compression"
documentation = "https://docs.rs/blockchain-compression"
readme = "README.md"
keywords = [
    "compression",
    "blockchain",
    "pattern-recognition",
    "solana",
    "ethereum",
]
categories = [
    "compression",
    "algorithms",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/cryptuon/blockchain-compression"

[features]
default = ["deflate"]
deflate = ["dep:flate2"]
lz4 = ["dep:lz4_flex"]
zstd = ["dep:zstd"]

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
required-features = ["zstd"]

[[example]]
name = "performance_benchmark"
path = "examples/performance_benchmark.rs"
required-features = ["zstd"]

[[example]]
name = "solanavault_integration"
path = "examples/solanavault_integration.rs"
required-features = ["zstd"]

[[test]]
name = "debug_compression"
path = "tests/debug_compression.rs"

[[test]]
name = "solana_integration_tests"
path = "tests/solana_integration_tests.rs"

[dependencies.bincode]
version = "1.3"

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.lz4_flex]
version = "0.11"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "1.0"

[dependencies.zstd]
version = "0.13"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hex]
version = "0.4"

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

[profile.bench]
lto = true
codegen-units = 1

[profile.release]
lto = true
codegen-units = 1
panic = "abort"