# 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.94"
name = "qubit-spi"
version = "0.3.3"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
include = [
    "/Cargo.toml",
    "/LICENSE",
    "/README.md",
    "/README.zh_CN.md",
    "/RUST_CODING_STYLE.md",
    "/RUST_CODING_STYLE.zh_CN.md",
    "/doc/**/user_guide*.md",
    "/examples/**",
    "/resources/**",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed service provider registry infrastructure for Rust"
homepage = "https://github.com/qubit-ltd/rs-spi"
documentation = "https://docs.rs/qubit-spi"
readme = "README.md"
keywords = [
    "spi",
    "provider",
    "registry",
    "service",
    "qubit",
]
categories = ["rust-patterns"]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-spi"

[lib]
name = "qubit_spi"
path = "src/lib.rs"
doctest = true

[[test]]
name = "provider_availability_tests"
path = "tests/provider_availability_tests.rs"

[[test]]
name = "provider_create_error_tests"
path = "tests/provider_create_error_tests.rs"

[[test]]
name = "provider_descriptor_tests"
path = "tests/provider_descriptor_tests.rs"

[[test]]
name = "provider_failure_tests"
path = "tests/provider_failure_tests.rs"

[[test]]
name = "provider_name_tests"
path = "tests/provider_name_tests.rs"

[[test]]
name = "provider_registry_error_tests"
path = "tests/provider_registry_error_tests.rs"

[[test]]
name = "provider_registry_tests"
path = "tests/provider_registry_tests.rs"

[[test]]
name = "provider_selection_tests"
path = "tests/provider_selection_tests.rs"

[[test]]
name = "service_provider_tests"
path = "tests/service_provider_tests.rs"

[[test]]
name = "service_spec_tests"
path = "tests/service_spec_tests.rs"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2.0"
