# 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"
name = "moltendb-core"
version = "0.3.0-beta.5"
authors = ["Maximilian Both <maximilian.both27@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MoltenDB core engine — in-memory DashMap storage, WAL persistence, query evaluation. No HTTP, no auth."
readme = "README.md"
keywords = [
    "nosql",
    "embedded",
    "local-first",
    "wasm",
    "json",
]
categories = [
    "database-implementations",
    "wasm",
    "data-structures",
]
license-file = "LICENSE.md"
repository = "https://github.com/maximilian27/MoltenDB"
resolver = "2"

[lib]
name = "moltendb_core"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.tokio]
version = "1.50.0"
features = [
    "sync",
    "time",
    "macros",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.22"
features = [
    "v7",
    "serde",
]

[dependencies.web-time]
version = "1.0.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.argon2]
version = "0.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64]
version = "0.22"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.bincode]
version = "1.3.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.chacha20poly1305]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.memmap2]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand_core]
version = "0.6"
features = ["std"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.49.0"
features = ["full"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "WorkerGlobalScope",
    "FileSystemDirectoryHandle",
    "FileSystemFileHandle",
    "FileSystemSyncAccessHandle",
    "FileSystemGetFileOptions",
    "FileSystemReadWriteOptions",
]
