# 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"
name = "totalreclaw-core"
version = "2.5.4"
build = false
include = [
    "src/**/*.rs",
    "src/prompts/*.md",
    "Cargo.toml",
    "pyproject.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TotalReclaw core — E2EE crypto, reranker, wallet, UserOp, store/search pipelines. Single source of truth for all clients."
homepage = "https://totalreclaw.xyz"
readme = "README.md"
keywords = [
    "e2ee",
    "memory",
    "crypto",
    "erc4337",
    "ai",
]
categories = [
    "cryptography",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/p-diogo/totalreclaw"

[features]
default = ["managed"]
managed = [
    "dep:alloy-primitives",
    "dep:alloy-sol-types",
]
python = ["dep:pyo3"]
python-extension = [
    "python",
    "pyo3/extension-module",
]
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:serde-wasm-bindgen",
    "getrandom/js",
    "uuid/js",
]

[lib]
name = "totalreclaw_core"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

[dependencies.alloy-primitives]
version = "1"
optional = true

[dependencies.alloy-sol-types]
version = "1"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bip39]
version = "2"

[dependencies.chacha20poly1305]
version = "0.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.coins-bip32]
version = "0.12"

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.hmac]
version = "0.12"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.k256]
version = "0.13"
features = ["ecdsa"]

[dependencies.pbkdf2]
version = "0.12"
features = ["hmac"]

[dependencies.pyo3]
version = "0.25"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tiny-keccak]
version = "2"
features = ["keccak"]

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

[dependencies.uuid]
version = "1"
features = ["v7"]

[dependencies.wasm-bindgen]
version = "0.2"
optional = true
