# 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 = "a3s-lane"
version = "0.2.3"
authors = ["A3S Lab"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lane-based priority command queue for async task scheduling with reliability, scalability, and observability features"
documentation = "https://docs.rs/a3s-lane"
readme = "README.md"
keywords = [
    "queue",
    "priority",
    "async",
    "scheduler",
    "concurrency",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/A3S-Lab/Lane"

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "observability"
path = "examples/observability.rs"

[[example]]
name = "priority_preemption"
path = "examples/priority_preemption.rs"

[[example]]
name = "priority_scheduling"
path = "examples/priority_scheduling.rs"

[[example]]
name = "reliability"
path = "examples/reliability.rs"

[[example]]
name = "scalability"
path = "examples/scalability.rs"

[[bench]]
name = "queue_benchmark"
path = "benches/queue_benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dashmap]
version = "6.0"

[dependencies.num_cpus]
version = "1"

[dependencies.opentelemetry]
version = "0.21"
features = ["metrics"]

[dependencies.opentelemetry_sdk]
version = "0.21"
features = [
    "rt-tokio",
    "metrics",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
    "macros",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
