[package]
edition = "2021"
name = "fidius-host"
version = "0.5.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host-side loading and calling for the Fidius plugin framework"
readme = false
license = "Apache-2.0"
repository = "https://github.com/colliery-io/fidius"
[features]
python = ["dep:fidius-python"]
streaming = [
"dep:futures",
"dep:async-trait",
"dep:tokio",
]
tracing = ["dep:tracing"]
wasm = [
"dep:wasmtime",
"dep:wasmtime-wasi",
"dep:wasmtime-wasi-http",
"dep:http",
]
[lib]
name = "fidius_host"
path = "src/lib.rs"
[[test]]
name = "cdylib_bidi_stream_e2e"
path = "tests/cdylib_bidi_stream_e2e.rs"
[[test]]
name = "cdylib_client_stream_e2e"
path = "tests/cdylib_client_stream_e2e.rs"
[[test]]
name = "cdylib_record_stream_item"
path = "tests/cdylib_record_stream_item.rs"
[[test]]
name = "cdylib_streaming_e2e"
path = "tests/cdylib_streaming_e2e.rs"
[[test]]
name = "configured_cdylib_e2e"
path = "tests/configured_cdylib_e2e.rs"
[[test]]
name = "configured_cdylib_stream_e2e"
path = "tests/configured_cdylib_stream_e2e.rs"
[[test]]
name = "configured_python_e2e"
path = "tests/configured_python_e2e.rs"
[[test]]
name = "configured_python_stream_e2e"
path = "tests/configured_python_stream_e2e.rs"
[[test]]
name = "configured_wasm_e2e"
path = "tests/configured_wasm_e2e.rs"
[[test]]
name = "configured_wasm_stream_e2e"
path = "tests/configured_wasm_stream_e2e.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "macro_egress_e2e"
path = "tests/macro_egress_e2e.rs"
[[test]]
name = "macro_wasm"
path = "tests/macro_wasm.rs"
[[test]]
name = "macro_wasm_streaming"
path = "tests/macro_wasm_streaming.rs"
[[test]]
name = "multi_plugin_pipeline"
path = "tests/multi_plugin_pipeline.rs"
[[test]]
name = "optional_methods_host"
path = "tests/optional_methods_host.rs"
[[test]]
name = "package_e2e"
path = "tests/package_e2e.rs"
[[test]]
name = "plugin_dep_graph"
path = "tests/plugin_dep_graph.rs"
[[test]]
name = "python_bidi_stream_e2e"
path = "tests/python_bidi_stream_e2e.rs"
[[test]]
name = "python_client_stream_e2e"
path = "tests/python_client_stream_e2e.rs"
[[test]]
name = "python_plugin_e2e"
path = "tests/python_plugin_e2e.rs"
[[test]]
name = "python_routing"
path = "tests/python_routing.rs"
[[test]]
name = "python_streaming_e2e"
path = "tests/python_streaming_e2e.rs"
[[test]]
name = "records_stream_wasm"
path = "tests/records_stream_wasm.rs"
[[test]]
name = "records_wasm"
path = "tests/records_wasm.rs"
[[test]]
name = "wasm_bidi_stream_e2e"
path = "tests/wasm_bidi_stream_e2e.rs"
[[test]]
name = "wasm_client_stream_e2e"
path = "tests/wasm_client_stream_e2e.rs"
[[test]]
name = "wasm_egress_e2e"
path = "tests/wasm_egress_e2e.rs"
[[test]]
name = "wasm_executor"
path = "tests/wasm_executor.rs"
[[test]]
name = "wasm_fs_e2e"
path = "tests/wasm_fs_e2e.rs"
[[test]]
name = "wasm_record_stream_item"
path = "tests/wasm_record_stream_item.rs"
[[test]]
name = "wasm_record_stream_user_types"
path = "tests/wasm_record_stream_user_types.rs"
[[test]]
name = "wasm_streaming_e2e"
path = "tests/wasm_streaming_e2e.rs"
[[bench]]
name = "backends"
path = "benches/backends.rs"
harness = false
required-features = ["wasm"]
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.ed25519-dalek]
version = "2"
features = [
"std",
"rand_core",
]
[dependencies.fidius-core]
version = "0.5.2"
[dependencies.fidius-python]
version = "0.5.2"
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.http]
version = "1"
optional = true
[dependencies.libloading]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"rt",
]
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.wasmtime]
version = "45"
optional = true
[dependencies.wasmtime-wasi]
version = "45"
optional = true
[dependencies.wasmtime-wasi-http]
version = "45"
optional = true
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.ed25519-dalek]
version = "2"
features = [
"std",
"rand_core",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.http]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"rt",
"rt-multi-thread",
"sync",
]
[build-dependencies.pyo3-build-config]
version = "0.25"
features = ["resolve-config"]