# 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"
rust-version = "1.96"
name = "elph-core"
version = "0.0.15"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared core utilities for Elph applications"
homepage = "https://elph.space"
readme = "README.md"
license = "MIT"
repository = "https://github.com/riipandi/elph"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1.0.103"

[dependencies.chrono]
version = "0.4.45"
features = [
    "clock",
    "std",
    "serde",
]
default-features = false

[dependencies.fastembed]
version = "5.17.2"
optional = true

[dependencies.memchr]
version = "2.8.3"

[dependencies.rand]
version = "0.10.2"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1.0.150"
features = ["std"]
default-features = false

[dependencies.time]
version = "0.3.53"
features = [
    "formatting",
    "parsing",
    "std",
]
default-features = false

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt",
    "io-util",
    "macros",
    "net",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-appender]
version = "0.2.5"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "fmt",
    "json",
    "std",
]
default-features = false

[dependencies.turso]
version = "0.6.1"
default-features = false

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

[dev-dependencies.tempfile]
version = "3.27.0"
