# 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 = "2024"
rust-version = "1.93.0"
name = "fuel-core-compression-service"
version = "0.48.1"
authors = ["Fuel Labs <contact@fuel.sh>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Service responsible for compression of fuel blocks for DA"
homepage = "https://fuel.network/"
readme = false
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-core"
resolver = "2"

[features]
fault-proving = [
    "fuel-core-compression/fault-proving",
    "fuel-core-chain-config?/fault-proving",
    "fuel-core-types/fault-proving",
    "fuel-core-storage/fault-proving",
]
test-helpers = [
    "fuel-core-services/test-helpers",
    "fuel-core-types/test-helpers",
    "fuel-core-storage/test-helpers",
    "fuel-core-compression/test-helpers",
    "dep:rand",
    "dep:fuel-core-chain-config",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.enum-iterator]
version = "2"

[dependencies.fuel-core-chain-config]
version = "0.48.1"
features = ["test-helpers"]
optional = true
default-features = false

[dependencies.fuel-core-compression]
version = "0.48.1"

[dependencies.fuel-core-metrics]
version = "0.48.1"

[dependencies.fuel-core-services]
version = "0.48.1"

[dependencies.fuel-core-storage]
version = "0.48.1"
features = ["std"]
default-features = false

[dependencies.fuel-core-types]
version = "0.48.1"
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.paste]
version = "1.0"

[dependencies.rand]
version = "0.8"
optional = true

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

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.strum_macros]
version = "0.28"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.27"
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tokio-stream]
version = "0.1"
