[package]
edition = "2024"
rust-version = "1.85"
name = "rustensor"
version = "0.1.0"
build = false
exclude = [
"target/",
"*.rten",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small Rust-native checkpoint format for model metadata and tensor weights."
homepage = "https://github.com/gionhub/rustensor"
documentation = "https://docs.rs/rustensor"
readme = "README.md"
keywords = [
"checkpoint",
"tensor",
"ml",
"format",
"rust",
]
categories = [
"encoding",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gionhub/rustensor"
[lib]
name = "rustensor"
path = "src/lib.rs"
[[example]]
name = "load_checkpoint"
path = "examples/load_checkpoint.rs"
[[example]]
name = "save_checkpoint"
path = "examples/save_checkpoint.rs"
[[test]]
name = "checkpoint_io_test"
path = "tests/checkpoint_io_test.rs"
[[test]]
name = "checkpoint_model_test"
path = "tests/checkpoint_model_test.rs"
[[test]]
name = "format_header_test"
path = "tests/format_header_test.rs"
[[test]]
name = "integrity_test"
path = "tests/integrity_test.rs"
[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"
[dependencies.postcard]
version = "1"
features = ["use-std"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sha2]
version = "0.10"