# 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 = "fidius-macro"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros for the Fidius plugin framework"
readme = false
license = "Apache-2.0"
repository = "https://github.com/colliery-io/fidius"

[lib]
name = "fidius_macro"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

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

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

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

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

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

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

[dependencies.fidius-core]
version = "0.5.0"

[dependencies.fidius-wit]
version = "0.5.0"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]

[dev-dependencies.fidius-core]
version = "0.5.0"
features = ["async"]

[dev-dependencies.libloading]
version = "0.8"

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

[dev-dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

[dev-dependencies.trybuild]
version = "1"
