# 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.91.0"
name = "obeli-sk-concepts"
version = "0.27.0"
authors = ["Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Internal package of obeli-sk"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/obeli-sk/obelisk"
resolver = "2"

[features]
rusqlite = ["dep:rusqlite"]
test = []

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

[dependencies.arbitrary]
version = "1.4.2"
features = ["derive"]

[dependencies.assert_matches]
version = "1.5.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.cfg-if]
version = "1.0.4"

[dependencies.chrono]
version = "0.4.42"
features = [
    "arbitrary",
    "serde",
]

[dependencies.const_format]
version = "0.2.35"

[dependencies.derive-where]
version = "1.6.0"

[dependencies.derive_more]
version = "2.0.1"
features = [
    "debug",
    "deref",
    "display",
    "from_str",
    "into",
]

[dependencies.fxhash]
version = "0.2.1"

[dependencies.hashbrown]
version = "0.16.0"
features = ["serde"]

[dependencies.indexmap]
version = "2.12"
features = ["serde"]

[dependencies.opentelemetry]
version = "0.31.0"

[dependencies.rand]
version = "0.8"

[dependencies.rusqlite]
version = "0.37.0"
features = [
    "bundled",
    "chrono",
    "serde_json",
]
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.serde_with]
version = "3.16.0"

[dependencies.strum]
version = "0.27.2"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
    "rt",
    "signal",
    "sync",
    "time",
    "tracing",
]

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.tracing-opentelemetry]
version = "0.32"

[dependencies.ulid]
version = "=1.1.4"
features = ["serde"]

[dependencies.val-json]
version = "0.27.0"
features = ["wasmtime"]
package = "obeli-sk-val-json"

[dependencies.wasmtime]
version = "38.0.4"
features = ["memory-protection-keys"]

[dependencies.wasmtime-environ]
version = "38.0.4"

[dev-dependencies.insta]
version = "1.43.2"
features = ["json"]

[dev-dependencies.rstest]
version = "0.26"

[lints.clippy]
dbg_macro = "deny"
explicit_deref_methods = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_debug_formatting = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unexpected_cfgs = "deny"
unknown_lints = "deny"
