sparseio 0.0.1

A library for coordinating sparse, out-of-order byte-range fetching and materialization of large objects.
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 = "2024"
name = "sparseio"
version = "0.0.1"
authors = ["Matthew Hambrecht (hambrechtmatt@gmail.com)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for coordinating sparse, out-of-order byte-range fetching and materialization of large objects."
homepage = "https://crates.io/crates/sparseio"
documentation = "https://docs.rs/sparseio"
readme = "README.md"
keywords = [
    "storage",
    "tokio",
    "fs",
    "filesystem",
    "stream",
]
categories = ["filesystem"]
license = "Apache-2.0"
repository = "https://github.com/mhambre/sparseio"

[package.metadata.docs.rs]
features = [
    "debug",
    "file",
    "http",
]

[features]
debug = ["utils"]
file = [
    "dep:libc",
    "utils",
]
http = [
    "dep:reqwest",
    "utils",
]
utils = [
    "dep:tempfile",
    "dep:tracing-subscriber",
    "dep:tracing",
]

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

[[example]]
name = "file_to_file"
path = "examples/file_to_file.rs"
required-features = ["file"]

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

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

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

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

[dependencies.bytes]
version = "1.11.1"

[dependencies.futures]
version = "0.3.32"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.tempfile]
version = "3.27.0"
optional = true

[dependencies.tokio]
version = "1.51.0"
features = [
    "sync",
    "macros",
    "fs",
    "io-util",
    "rt-multi-thread",
    "time",
]

[dependencies.tracing]
version = "0.1.44"
features = ["std"]
optional = true
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "fmt",
    "ansi",
]
optional = true

[dev-dependencies.async-stream]
version = "0.3.6"

[dev-dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dev-dependencies.mockito]
version = "1.7.2"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tracing]
version = "0.1.44"
features = ["std"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "fmt",
    "ansi",
]