# 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 = "ruvector-dag-wasm"
version = "0.1.0"
authors = ["RuVector Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal WASM DAG library for browser and embedded systems"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/ruvnet/ruvector"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
default = []
wee_alloc = ["dep:wee_alloc"]

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

[dependencies.bincode]
version = "1.3"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.wee_alloc]
version = "0.4"
optional = true

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
