# 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 = "eryon-mem"
version = "0.0.2"
authors = [
    "FL03 <jo3mccain@icloud.com> (https://github.com/FL03)",
    "Scattered-Systems <support@scsys.io> (https://github.com/scattered-systems)",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate is a research-oriented project focusing on establishing the foundation for a harmonic, topological computing system"
homepage = "https://github.com/scattered-systems/eryon/wiki"
readme = "README.md"
keywords = [
    "mathematics",
    "scientific",
    "machine-learning",
    "topology",
    "computing",
]
categories = [
    "science",
    "mathematics",
    "virtualization",
]
license = "Apache-2.0"
repository = "https://github.com/scattered-systems/eryon.git"

[features]
blockchain = []
default = []
full = [
    "default",
    "json",
    "rand",
    "serde",
    "tracing",
]
json = [
    "dep:serde_json",
    "eryon-core/json",
    "serde",
]
rand = [
    "dep:rand",
    "dep:rand_distr",
    "num/rand",
    "eryon-core/rand",
    "rng",
]
rng = [
    "eryon-core/rng",
    "rand/small_rng",
    "rand/thread_rng",
]
serde = [
    "dep:serde",
    "dep:serde_derive",
    "num/serde",
    "eryon-core/serde",
    "serde?/derive",
]
tracing = [
    "dep:tracing",
    "eryon-core/tracing",
    "tracing?/attributes",
    "tracing?/log",
]

[lib]
name = "eryon_mem"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"
test = true
doctest = false
bench = true

[[test]]
name = "default"
path = "tests/default.rs"
required-features = []

[[test]]
name = "memory"
path = "tests/memory.rs"
required-features = ["full"]

[dependencies.anyhow]
version = "1"
default-features = false

[dependencies.eryon-core]
version = "0.0.2"
features = ["std"]
default-features = false

[dependencies.num]
version = "0.4"
default-features = false

[dependencies.num-traits]
version = "0.2"

[dependencies.paste]
version = "1"

[dependencies.rand]
version = "0.9"
optional = true
default-features = false

[dependencies.rand_distr]
version = "0.5"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_derive]
version = "1"
optional = true

[dependencies.serde_json]
version = "1"
optional = true
default-features = false

[dependencies.strum]
version = "0.27"
features = [
    "derive",
    "derive",
]
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.tracing]
version = "0.1"
optional = true
default-features = false
