rustensor 0.1.0

Small Rust-native checkpoint format for model metadata and tensor weights.
Documentation
# Crate Flow

This document describes the main save and load flow used by rustensor.

## Saving a checkpoint

1. Receive a `ModelCheckpoint`.
2. Validate metadata.
3. Validate layer names.
4. Validate tensor shapes.
5. Validate tensor data length.
6. Validate tensor values.
7. Serialize the checkpoint payload with postcard.
8. Verify payload size limits.
9. Compute SHA-256 over the serialized payload.
10. Build the RTEN header.
11. Write header and payload to disk.

## Loading a checkpoint

1. Read bytes from disk.
2. Verify minimum header size.
3. Decode the RTEN header.
4. Verify magic bytes.
5. Verify format version.
6. Verify reserved flags.
7. Verify payload length against the real file size.
8. Extract payload bytes.
9. Recalculate SHA-256 over the payload.
10. Compare the stored checksum with the recalculated checksum.
11. Decode the checkpoint payload.
12. Validate decoded metadata.
13. Validate decoded layers.
14. Return `ModelCheckpoint`.

## Error handling

rustensor should reject invalid files with controlled errors.

Invalid inputs should not require `panic!`.
Malformed files should not be trusted.
Corrupt payloads should be rejected before deserialization when checksum validation fails.