Skip to content

Commit

Permalink
Merge pull request #1651 from itowlson/fix-redis-rust-sdk-not-exporti…
Browse files Browse the repository at this point in the history
…ng-http

Fix Redis Rust component instantiation
  • Loading branch information
itowlson authored Jul 12, 2023
2 parents b709896 + 5844e3f commit 2848e52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/rust/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pub fn redis_component(_attr: TokenStream, item: TokenStream) -> TokenStream {

mod __spin_redis {
struct Spin;
::spin_sdk::export_reactor!(Spin);

impl ::spin_sdk::inbound_redis::InboundRedis for Spin {
fn handle_message(msg: ::spin_sdk::inbound_redis::Payload) -> Result<(), ::spin_sdk::redis::Error> {
Expand Down

0 comments on commit 2848e52

Please sign in to comment.