Skip to content

Commit

Permalink
chore: generate README
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 30, 2024
1 parent fb692e8 commit bbffb56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Rust implementation of a [Decentralized Web Node](https://identity.foundation/de
use std::sync::Arc;

use dwn::{actor::Actor, message::Data, store::SurrealStore, DWN};
use iana_media_types::Application;
use surrealdb::{Surreal, engine::local::Mem};

#[tokio::main]
Expand All @@ -30,6 +31,7 @@ async fn main() {
let create = actor
.create_record()
.data(data.clone())
.data_format(Application::Json.into())
.process()
.await
.unwrap();
Expand Down

0 comments on commit bbffb56

Please sign in to comment.