[package]
name = "razeri-plugin-api"
version = "0.23.0"
edition.workspace = true
rust-version.workspace = true
license = "MIT OR Apache-2.0"
repository = "https://github.com/gaoash/razeri-releases"
authors = ["Gabriel Shea"]
description = "Extension traits and registries for Razeri plugins"
readme = "README.md"
documentation = "https://docs.rs/razeri-plugin-api"
categories = ["database", "development-tools"]
keywords = ["razeri", "plugin", "extensibility", "sql"]
[dependencies]
razeri-plugin-contract = { path = "../razeri-plugin-contract", version = "0.21.0" }
async-trait = "0.1"
inventory = "0.3"
serde = { workspace = true }
serde_json = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true }
libloading = { workspace = true, optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1.52", default-features = false, features = ["sync"] }
[features]
default = ["dynamic"]
dynamic = ["dep:libloading"]
[dev-dependencies]
tokio = { workspace = true }
tempfile = "3"