diff --git a/Cargo.toml b/Cargo.toml index 7b2203c..07ac17f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,52 +1,55 @@ + [package] -edition = "2018" -build = "./common/build/build.rs" -name = "adnl" -version = "0.7.53" -description = "ADNL library" + +edition = '2018' +build = './common/build/build.rs' +name = 'adnl' +version = '0.7.53' +description = 'ADNL library' [workspace] [dependencies] -aes-ctr = "0.6.0" -arrayref = "0.3.5" -async-trait = "0.1.22" -base64 = "0.11.0" -curve25519-dalek = "2.0.0" -ed25519 = "1.0.1" -ed25519-dalek = "1.0.0-pre.4" -external-ip = { version = "4.1.0", optional = true } -failure = "0.1.6" -futures = "0.3.1" -log = "0.4.11" -num_cpus = "1.13" -rand = "0.7.2" -serde = { version = "1.0.105", features = ["derive", "rc"] } -serde_json = "1.0.41" -sha2 = "0.8.0" -socket2 = "0.3.19" -stream-cancel = "0.8.0" -tokio = { version = "1.5.0", features = ["io-util", "macros", "net", "rt-multi-thread"] } -tokio-io-timeout = "1.1.1" -tokio-stream = { version = "0.1.4", features = ["net"] } -x25519-dalek = "0.6.0" -zstd = { version = "0.8", optional = true, features = ["pkg-config"] } - -ton_api = { git = "https://github.com/tonlabs/ton-labs-tl.git", package = "ton_api" } -ton_types = { git = "https://github.com/tonlabs/ton-labs-types.git" } -lockfree = { git = "https://github.com/tonlabs/lockfree.git" } + +aes-ctr = '0.6.0' +arrayref = '0.3.5' +async-trait = '0.1.22' +base64 = '0.11.0' +curve25519-dalek = '2.0.0' +ed25519 = '1.0.1' +ed25519-dalek = '1.0.0-pre.4' +external-ip = { version = '4.1.0', optional = true } +failure = '0.1.6' +futures = '0.3.1' +log = '0.4.11' +num_cpus = '1.13' +rand = '0.7.2' +serde = { version = '1.0.105', features = [ 'derive', 'rc' ] } +serde_json = '1.0.41' +sha2 = '0.8.0' +socket2 = '0.3.19' +stream-cancel = '0.8.0' +tokio = { version = '1.5.0', features = [ 'io-util', 'macros', 'net', 'rt-multi-thread' ] } +tokio-io-timeout = '1.1.1' +tokio-stream = { version = '0.1.4', features = [ 'net' ] } +x25519-dalek = '0.6.0' +zstd = { version = '0.8', optional = true, features = [ 'pkg-config' ] } +ton_api = { git = 'https://github.com/tonlabs/ton-labs-tl.git', package = 'ton_api', tag = '0.2.110' } +ton_types = { git = 'https://github.com/tonlabs/ton-labs-types.git', tag = '1.10.10' } +lockfree = { git = 'https://github.com/tonlabs/lockfree.git' } [dev-dependencies] -external-ip = "4.1.0" -hex = "^0" -log4rs = "0.8.3" + +external-ip = '4.1.0' +hex = '^0' +log4rs = '0.8.3' [features] -default = ["static_workers"] -client = [] -server = [] -node = ["external-ip"] -compression = ["zstd"] -static_workers = [] -telemetry = [] +default = [ 'static_workers' ] +client = [ ] +server = [ ] +node = [ 'external-ip' ] +compression = [ 'zstd' ] +static_workers = [ ] +telemetry = [ ] diff --git a/common b/common index 98bca07..e4f1fb8 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 98bca079f4eb44148e2b0ed35c549b0ba3bde993 +Subproject commit e4f1fb8dca09dc63657dc9d2cf0db422996307ee