mirror of
https://github.com/veeso/termscp.git
synced 2026-06-08 14:18:41 +02:00
fix: tokio rt builder
This commit is contained in:
@@ -76,7 +76,7 @@ simplelog = "^0.12"
|
|||||||
ssh2-config = "^0.2"
|
ssh2-config = "^0.2"
|
||||||
tempfile = "^3.4"
|
tempfile = "^3.4"
|
||||||
thiserror = "^1"
|
thiserror = "^1"
|
||||||
tokio = { version = "1", features = ["rt"] }
|
tokio = { version = "=1.38.1", features = ["rt"] }
|
||||||
toml = "^0.8"
|
toml = "^0.8"
|
||||||
tui-realm-stdlib = "^1.3.1"
|
tui-realm-stdlib = "^1.3.1"
|
||||||
tuirealm = "^1.9.1"
|
tuirealm = "^1.9.1"
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ impl Builder {
|
|||||||
/// Build kube client
|
/// Build kube client
|
||||||
fn kube_client(params: KubeProtocolParams) -> KubeFs {
|
fn kube_client(params: KubeProtocolParams) -> KubeFs {
|
||||||
let rt = Arc::new(
|
let rt = Arc::new(
|
||||||
tokio::runtime::Builder::new_multi_thread()
|
tokio::runtime::Builder::new_current_thread()
|
||||||
.worker_threads(1)
|
.worker_threads(1)
|
||||||
.enable_all()
|
.enable_all()
|
||||||
.build()
|
.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user