# 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 = "medi-rs"
version = "0.0.0"
authors = ["Burak <burak.kizilkaya@outlook.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A yet another mediator library for Rust"
readme = false
license = "MIT"

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

[[test]]
name = "01_test_ping_pong_request_response"
path = "tests/01_test_ping_pong_request_response.rs"

[[test]]
name = "02_test_duration_request_response"
path = "tests/02_test_duration_request_response.rs"

[[test]]
name = "03_test_request_with_resource"
path = "tests/03_test_request_with_resource.rs"

[[test]]
name = "04_test_dependency_injection"
path = "tests/04_test_dependency_injection.rs"

[[test]]
name = "05_test_error_handling"
path = "tests/05_test_error_handling.rs"

[[test]]
name = "06_test_bus_as_resource"
path = "tests/06_test_bus_as_resource.rs"

[[test]]
name = "07_test_event"
path = "tests/07_test_event.rs"

[[test]]
name = "08_memory_consumption"
path = "tests/08_memory_consumption.rs"

[dependencies.thiserror]
version = "1.0.64"

[dependencies.tokio]
version = "1.40.0"
features = ["full"]

[dev-dependencies.rand]
version = "0.8.5"
