webdataset-core 0.0.1

Core data model (samples, values, tensors, handlers) for the webdataset format
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"
rust-version = "1.85"
name = "webdataset-core"
version = "0.0.1"
authors = ["Eugene Hauptmann"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data model (samples, values, tensors, handlers) for the webdataset format"
homepage = "https://github.com/eugenehp/webdataset-rs"
readme = "README.md"
keywords = [
    "webdataset",
    "tar",
    "dataset",
    "machine-learning",
    "dataloader",
]
categories = [
    "science",
    "data-structures",
    "encoding",
]
license = "BSD-3-Clause"
repository = "https://github.com/eugenehp/webdataset-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "std",
    "json",
    "threads",
]
image = [
    "dep:image",
    "std",
]
json = ["dep:serde_json"]
std = [
    "bytes/std",
    "indexmap/std",
    "serde_json?/std",
    "thiserror/std",
]
threads = ["dep:once_cell"]

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

[dependencies.bytes]
version = "1.12"
default-features = false

[dependencies.image]
version = "0.25"
optional = true

[dependencies.indexmap]
version = "2.14"
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1"
features = [
    "alloc",
    "race",
]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["alloc"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]