pytorch-reader 0.22.1

Reader for PyTorch checkpoint files (.pt/.pth) that depends on neither PyTorch nor 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 = "pytorch-reader"
version = "0.22.1"
authors = ["Dilshod Tadjibaev (@antimora)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reader for PyTorch checkpoint files (.pt/.pth) that depends on neither PyTorch nor Burn"
documentation = "https://docs.rs/pytorch-reader"
readme = "README.md"
keywords = [
    "pytorch",
    "checkpoint",
    "pickle",
    "deep-learning",
    "machine-learning",
]
categories = [
    "science",
    "parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/pytorch-reader"

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

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

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

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

[dependencies.crc32fast]
version = "1.5.2"

[dependencies.num-traits]
version = "0.2.19"
features = [
    "libm",
    "std",
]
default-features = false

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

[dependencies.tar]
version = "0.4.46"

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

[dependencies.zip]
version = "9.0.4"
features = ["deflate-flate2-zlib-rs"]
default-features = false

[dev-dependencies.bytemuck]
version = "1.25.2"
features = ["extern_crate_alloc"]

[dev-dependencies.half]
version = "2.7.1"
features = [
    "alloc",
    "num-traits",
    "serde",
    "bytemuck",
    "std",
]
default-features = false

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

[lints.clippy]
redundant_field_names = "allow"

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