urna-format 0.5.4

Frozen v1 binary container of the Urna vector database: layout, manifest, sections, encodings, hashes, reader and writer
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"
rust-version = "1.85"
name = "urna-format"
version = "0.5.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Frozen v1 binary container of the Urna vector database: layout, manifest, sections, encodings, hashes, reader and writer"
homepage = "https://urna.dev"
readme = "README.md"
keywords = [
    "vector-database",
    "embeddings",
    "search",
    "offline",
    "citations",
]
categories = [
    "database-implementations",
    "encoding",
]
license = "MIT"
repository = "https://github.com/hoffresearch/urna"

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

[[example]]
name = "regen_golden"
path = "examples/regen_golden.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.half]
version = "2"
features = ["bytemuck"]

[dependencies.hex]
version = "0.4"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.zstd]
version = "0.13"
features = [
    "experimental",
    "zdict_builder",
]
default-features = false

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"