Skip to content

Commit 408686a

Browse files
Reimplement cli
1 parent 58f5443 commit 408686a

File tree

7 files changed

+269
-140
lines changed

7 files changed

+269
-140
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ regex = "1"
1616
ton_liteapi = { path = "../liteapi" }
1717
ton_networkconfig = { path = "../network-config", features = ["adnl"] }
1818
rand = "0.8.5"
19-
adnl = "0.1.0"
19+
tokio = { version = "1.36", features = ["full"] }

cli/src/arg_parsers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::error::Error;
22

33
use regex::Regex;
4-
use ton_liteapi::tl_types::{Int256, BlockIdExt, AccountId};
4+
use ton_liteapi::tl::common::{Int256, BlockIdExt, AccountId};
55

66
pub fn parse_block_id_ext(s: &str) -> std::result::Result<BlockIdExt, String> {
77
let re = Regex::new(r"\(([-]?\d+),([a-fA-F0-9]+),(\d+)\):([^:]+):(.+)").unwrap();

0 commit comments

Comments
 (0)