blob: bacfe0800999ba2b18c49ba2e7a437ca1960a653 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
use std::path::PathBuf;
use std::str::FromStr;
use anyhow::anyhow;
use anyhow::Result;
use daglib::DagBackend;
use rand_os::OsRng;
use rand_core::CryptoRng;
use rand_core::RngCore;
use ed25519_dalek::Keypair;
use ed25519_dalek::Signature;
use futures::stream::StreamExt;
extern crate clap_v3 as clap;
mod cli;
mod client;
mod config;
mod consts;
mod ipfs_client;
mod types;
#[tokio::main]
async fn main() -> Result<()> {
let _ = env_logger::try_init()?;
let app = crate::cli::app();
Ok(())
}
|