# 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 = "2021"
rust-version = "1.90"
name = "ipfrs-core"
version = "0.2.0"
authors = ["TensorLogic Architect"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core content-addressing primitives and data structures for IPFRS"
homepage = "https://github.com/cool-japan/ipfrs"
documentation = "https://docs.rs/ipfrs-core"
readme = "README.md"
keywords = [
    "ipfs",
    "content-addressing",
    "cid",
    "multihash",
    "distributed",
]
categories = [
    "data-structures",
    "cryptography",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/ipfrs"

[features]
default = []
wasm = ["getrandom/wasm_js"]

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arrow]
version = "59"
features = ["ipc"]

[dependencies.arrow-array]
version = "59"

[dependencies.arrow-buffer]
version = "59"

[dependencies.arrow-schema]
version = "59"

[dependencies.base64]
version = "0.22"

[dependencies.blake2]
version = "0.10"

[dependencies.blake3]
version = "1.8"

[dependencies.bytes]
version = "1.11"

[dependencies.ciborium]
version = "0.2"

[dependencies.cid]
version = "0.11"
features = ["serde-codec"]

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.4"
features = []

[dependencies.jsonwebtoken]
version = "10.4"
features = ["rust_crypto"]
default-features = false

[dependencies.multibase]
version = "0.9"

[dependencies.multihash]
version = "0.19"

[dependencies.multihash-codetable]
version = "0.2"
features = [
    "sha2",
    "sha3",
    "blake2b",
    "blake2s",
    "blake3",
]

[dependencies.once_cell]
version = "1.21"

[dependencies.oxiarc-lz4]
version = "0.3.3"

[dependencies.oxiarc-zstd]
version = "0.3.3"

[dependencies.oxicode]
version = "0.2.4"
features = [
    "derive",
    "serde",
]

[dependencies.rayon]
version = "1.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.sha3]
version = "0.12"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]

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