Vigia

crates.io · crates:safetensors

safetensors active

Provides functions to read and write safetensors which aim to be safer than their PyTorch counterpart. The format is 8 bytes which is an unsized int, being the size of a JSON header, the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets for the values in the rest of the file.

Latest stable version0.8.0
Published2026-06-09 08:34:43 UTC
Installcargo add safetensors
Minimum Rust version (rust-version)Rust ≥ 1.80
LicenseApache-2.0
Advisories on latest versionnone known
Last verified2026-10-09 15:24:51 UTC
Sourcesapi.osv.dev, crates.io

Maintenance

Activityactive
Last stable release2026-06-09 08:34:43 UTC · 122 days ago
Stable releases in the last 12 months2
Published versions22

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
0.8.02026-06-09 08:34:43 UTC
0.7.02025-11-19 15:14:57 UTC
0.6.22025-08-08 13:11:10 UTC
0.6.12025-08-06 09:37:00 UTC
0.6.02025-06-23 08:05:11 UTC
0.5.32025-02-26 09:11:59 UTC
0.5.22025-01-08 17:39:49 UTC
0.5.12025-01-07 10:09:02 UTC
0.5.02025-01-02 16:36:06 UTC
0.4.52024-09-05 13:41:34 UTC
0.4.42024-08-05 12:26:28 UTC
0.4.32024-04-15 15:53:57 UTC
0.4.22024-01-23 09:02:21 UTC
0.4.12023-11-27 11:12:47 UTC
0.4.02023-10-06 10:48:54 UTC
0.3.32023-08-23 11:04:24 UTC
0.3.22023-08-07 12:59:09 UTC
0.3.12023-04-25 08:24:12 UTC
0.3.02023-03-05 23:48:01 UTC
0.2.82023-01-16 12:45:17 UTC

Showing the 20 most recent of 22 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
rust 1.630.5.2
rust 1.700.5.2
rust 1.750.5.3
rust 1.800.8.0
rust 1.850.8.0
rust 1.900.8.0

Give your AI agent these facts

Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Add to CursorAdd to VS Code★ Star on GitHub

Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests

Frequently asked questions

What is the latest version of safetensors?

The latest stable version of safetensors is 0.8.0, published on 2026-06-09. Verified by Vigia on 2026-10-09.

How do I install the latest version of safetensors?

Run cargo add safetensors. The latest stable version is 0.8.0 (verified 2026-10-09).

Is safetensors deprecated?

No. safetensors is not marked as deprecated in the registry.

Which Rust version does safetensors require?

safetensors 0.8.0 declares this requirement: Rust ≥ 1.80.

Does safetensors 0.8.0 have known vulnerabilities?

No known advisories affect safetensors 0.8.0 according to the data Vigia checks.

Is safetensors still maintained?

safetensors published 2 stable releases in the last 12 months; the most recent was 122 days ago. Activity: active.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/crates/safetensors/version.svg)](https://vigia.coredls.cloud/crates/safetensors)
[![maintained](https://vigia.coredls.cloud/badge/crates/safetensors/maintained.svg)](https://vigia.coredls.cloud/crates/safetensors)
[![status](https://vigia.coredls.cloud/badge/crates/safetensors/status.svg)](https://vigia.coredls.cloud/crates/safetensors)

For agents

GET https://vigia.coredls.cloud/v1/packages/crates/safetensors
GET https://vigia.coredls.cloud/v1/packages/crates/safetensors/versions/{version}