We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01be464 commit 160ea76Copy full SHA for 160ea76
src/lib.rs
@@ -8,6 +8,7 @@ pub extern crate http;
8
pub use fastedge_derive::http;
9
pub use http_client::send_request;
10
11
+#[doc(hidden)]
12
pub use crate::exports::gcore::fastedge::http_handler;
13
use crate::gcore::fastedge::http::{Error as HttpError, Method, Request, Response};
14
@@ -25,9 +26,15 @@ pub mod wasi_nn {
25
26
wit_bindgen::generate!({
27
world: "http-reactor",
28
path: "wit",
- pub_export_macro: true
29
+ pub_export_macro: true,
30
});
31
32
+
33
+pub mod dictionary {
34
+ #[doc(inline)]
35
+ pub use crate::gcore::fastedge::dictionary::get;
36
+}
37
38
/// Error type returned by [`send_request`]
39
#[derive(thiserror::Error, Debug)]
40
pub enum Error {
0 commit comments