relayrl_types 0.5.1

Data types for the RelayRL framework.
# 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 = "relayrl_types"
version = "0.5.1"
authors = ["jrcalgo <jacksonr121@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data types for the RelayRL framework."
documentation = "https://docs.rs/crate/relayrl_types"
readme = "README.md"
keywords = [
    "networking",
    "learning",
    "tensors",
    "types",
    "serialization",
]
categories = [
    "science",
    "data-structures",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/jrcalgo/relayrl"
resolver = "2"

[features]
codec-basic = [
    "compression",
    "integrity",
    "zerocopy",
]
codec-full = [
    "codec-secure",
    "metadata",
    "quantization",
]
codec-secure = [
    "codec-basic",
    "encryption",
]
compression = [
    "lz4_flex",
    "zstd",
]
default = [
    "ndarray-backend",
    "codec-full",
    "inference-models",
]
encryption = ["chacha20poly1305"]
inference-models = [
    "tch-model",
    "onnx-model",
]
integrity = ["blake3"]
metadata = ["bincode"]
ndarray-backend = ["burn-ndarray"]
onnx-model = [
    "ort",
    "tokio",
    "tempfile",
    "ndarray",
]
quantization = ["half"]
tch-backend = ["burn-tch"]
tch-model = [
    "tch",
    "tokio",
    "tempfile",
]
zerocopy = ["bytes"]

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

[dependencies.arrow]
version = "57.3.0"

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]
optional = true

[dependencies.blake3]
version = "1.8.2"
optional = true

[dependencies.burn-ndarray]
version = "0.20.0"
optional = true

[dependencies.burn-tch]
version = "0.20.0"
optional = true

[dependencies.burn-tensor]
version = "0.20.0"

[dependencies.bytemuck]
version = "1.20.0"

[dependencies.bytes]
version = "1.10.1"
optional = true

[dependencies.chacha20poly1305]
version = "0.10.1"
optional = true

[dependencies.csv]
version = "1.4.0"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.half]
version = "2.7.0"
optional = true

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

[dependencies.ndarray]
version = "0.17.2"
optional = true

[dependencies.ort]
version = "2.0.0-rc.11"
features = ["load-dynamic"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.tch]
version = "0.22.0"
features = ["download-libtorch"]
optional = true
default-features = false

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true

[dependencies.uuid]
version = "1.18.1"
features = [
    "serde",
    "v4",
]

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