Benign crates 11,882 installs Download

fidius 0.5.7

“Fidius — a Rust plugin framework for trait-to-dylib plugin systems”

Rust test marker or harnessimports fidius_core::http
SHA-256e1b93ca738605bdad6ad98f3e65e375b8930d26d934e680cbc105e72a53ea3ee

Evidence

imports fidius_core::http lib.rs · lines 116–121
116:49… cy` brokers the request.
117#[cfg(target_family = "wasm")]
118pub use fidius_core::http;
119
120/// Guest-side host-function calls over the `fidius:host-call` import — the
121/// wasm variant of the plugin → host callbac …
imports fidius_core::sockets lib.rs · lines 129–141
129:32… et` → `wasi:sockets`), so present in host builds too.
130pub use fidius_core::sockets;
131
132// Also re-export key types at the crate root for convenience
133pub use fidius_core::descriptor::{
134 BufferStrategyKind, PluginDescriptor, PluginRegistry, ABI_VERSION, FIDIUS_MAGIC,
135 REGISTRY_VERSION,
136};
137pub use fidius_core::error::PluginError;
138pub use fidius_core::hash::{fnv1a, interface_hash};
139
140/// Errors of the plugin → host callback channel, at the crate root for
141/// convenience: `HostCallError` is w …
#[test] attribute facade_streaming.rs · lines 1–21
1// Copyright 2026 Colliery, Inc. Licensed under Apache 2.0
2//
3// FIDIUS-I-0033 Phase 5: facade tests for the `streaming` feature surface. The
4// streaming runtime behaviour (pull/backpressure/drop-cancel) is covered by
5// `fidius-host`'s own e2e suite; here we guard that the streaming types are
6// reachable through the facade, and — by building under `--features streaming` —
7// that the host+streaming feature combination compiles and its other facade tests
8// (core, host) run.
9#![cfg(feature = "streaming")]
10
11#[test]
12fn streaming_types_are_reexported() {
13 fn assert_exists<T>() {}
⋯8 lines
imports std::net::SocketAddr facade_wasm.rs · lines 6–15
6:70… p` dep.
7#![cfg(feature = "wasm")]
8
9use fidius::{http_types, EgressDenied, EgressPolicy};
10use std::net::SocketAddr;
11
12/// A policy that implements only the required `authorize` (HTTP) and leaves the TCP
13/// and UDP hooks at their trait defaults.
14struct HttpOnly;
15impl EgressPolicy fo …
imports fidius::from_value facade_core.rs · lines 10–17
10:10… non_camel_case_types, dead_code)]
11
12use fidius::{from_value, to_value, wire, PluginError, Value};
13
14#[test]
15fn wire_roundtrip_through_facade() {
16 let payload: Vec<(String, i64)> = vec![("a".into(), 1), ("b".into(), -2)];
17 let byt …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.