burn-pack 0.22.0-pre.2

The burnpack binary serialization format for Burn
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 = "burn-pack"
version = "0.22.0-pre.2"
authors = ["Dilshod Tadjibaev (@antimora)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The burnpack binary serialization format for Burn"
documentation = "https://docs.rs/burn-pack"
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "tensor",
    "storage",
    "serialization",
]
categories = [
    "science",
    "no-std",
    "embedded",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-pack"
resolver = "2"

[features]
default = ["std"]
std = [
    "burn-std/std",
    "byteorder/std",
    "ciborium/std",
]

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

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

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

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

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

[dependencies.burn-std]
version = "=0.22.0-pre.2"
default-features = false

[dependencies.byteorder]
version = "1.5.0"
default-features = false

[dependencies.ciborium]
version = "0.2"
default-features = false

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "alloc",
]
default-features = false

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

[lints.clippy]

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"