[package]
name = "afia-component"
version = "0.0.6"
edition = "2021"
description = "A high-level Rust wrapper for `libafia_component`."
license = "MIT OR Apache-2.0"
publish = true

[lib]
doctest = true

[features]
# We can remove this feature flag when we open source this crate.
emulate-imports = ["afia-component-sys/emulate-imports"]
macros = ["afia-component-macro"]
test-utils = [
    "emulate-imports",
    "afia-component-sys/test-utils",
]

[dependencies]
afia-component-sys = {version = "0.0.6", path = "../afia-component-sys" }

## Optional Dependencies
afia-component-macro = {optional = true, version = "0.0.6", path = "../afia-component-macro" }

[dev-dependencies]
afia-component-sys = {version = "0.0.6", path = "../afia-component-sys", features = ["test-utils"]}