iscc-lib 0.5.0

High-performance Rust implementation of ISO 24138:2024 (ISCC)
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 = "iscc-lib"
version = "0.5.0"
authors = ["Titusz Pan <tp@py7.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust implementation of ISO 24138:2024 (ISCC)"
homepage = "https://lib.iscc.codes"
readme = "README.md"
keywords = [
    "iscc",
    "content-id",
    "media",
    "fingerprint",
    "iso",
]
categories = [
    "multimedia",
    "encoding",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/iscc/iscc-lib"
resolver = "2"

[features]
default = ["meta-code"]
meta-code = [
    "text-processing",
    "dep:serde_json_canonicalizer",
]
text-processing = [
    "dep:unicode-normalization",
    "dep:unicode-general-category",
]

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

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

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

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false

[[bench]]
name = "iai_benches"
path = "benches/iai_benches.rs"
harness = false

[dependencies.blake3]
version = "1"

[dependencies.data-encoding]
version = "2"

[dependencies.hex]
version = "0.4"

[dependencies.serde_json]
version = "1"

[dependencies.serde_json_canonicalizer]
version = "0.3.2"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.unicode-general-category]
version = "1"
optional = true

[dependencies.unicode-normalization]
version = "0.1"
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh32"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.iai-callgrind]
version = "0.16"

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

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