-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nvim_wrap_async to use vim.defer_fn instead of schedule and su…
…pport optional interval; bump to v0.15.0-alpha.16
- Loading branch information
1 parent
a8b6f3e
commit 11c3e5c
Showing
7 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "distant" | |
description = "Operate on a remote computer through file and process manipulation" | ||
categories = ["command-line-utilities"] | ||
keywords = ["cli"] | ||
version = "0.15.0-alpha.15" | ||
version = "0.15.0-alpha.16" | ||
authors = ["Chip Senkbeil <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/chipsenkbeil/distant" | ||
|
@@ -25,7 +25,7 @@ ssh2 = ["distant-ssh2"] | |
|
||
[dependencies] | ||
derive_more = { version = "0.99.16", default-features = false, features = ["display", "from", "error", "is_variant"] } | ||
distant-core = { version = "=0.15.0-alpha.15", path = "distant-core", features = ["structopt"] } | ||
distant-core = { version = "=0.15.0-alpha.16", path = "distant-core", features = ["structopt"] } | ||
flexi_logger = "0.18.0" | ||
log = "0.4.14" | ||
once_cell = "1.8.0" | ||
|
@@ -37,7 +37,7 @@ strum = { version = "0.21.0", features = ["derive"] } | |
whoami = "1.1.2" | ||
|
||
# Optional native SSH functionality | ||
distant-ssh2 = { version = "=0.15.0-alpha.15", path = "distant-ssh2", optional = true } | ||
distant-ssh2 = { version = "=0.15.0-alpha.16", path = "distant-ssh2", optional = true } | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
fork = "0.1.18" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "distant-core" | |
description = "Core library for distant, enabling operation on a remote computer through file and process manipulation" | ||
categories = ["network-programming"] | ||
keywords = ["api", "async"] | ||
version = "0.15.0-alpha.15" | ||
version = "0.15.0-alpha.16" | ||
authors = ["Chip Senkbeil <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/chipsenkbeil/distant" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "distant-lua" | |
description = "Lua bindings to the distant Rust crates" | ||
categories = ["api-bindings", "network-programming"] | ||
keywords = ["api", "async"] | ||
version = "0.15.0-alpha.15" | ||
version = "0.15.0-alpha.16" | ||
authors = ["Chip Senkbeil <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/chipsenkbeil/distant" | ||
|
@@ -24,8 +24,8 @@ luajit = ["mlua/luajit"] | |
vendored = ["mlua/vendored"] | ||
|
||
[dependencies] | ||
distant-core = { version = "=0.15.0-alpha.15", path = "../distant-core" } | ||
distant-ssh2 = { version = "=0.15.0-alpha.15", features = ["serde"], path = "../distant-ssh2" } | ||
distant-core = { version = "=0.15.0-alpha.16", path = "../distant-core" } | ||
distant-ssh2 = { version = "=0.15.0-alpha.16", features = ["serde"], path = "../distant-ssh2" } | ||
futures = "0.3.17" | ||
log = "0.4.14" | ||
mlua = { version = "0.6.6", features = ["async", "macros", "module", "serialize"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
/// Default timeout (15 secs) | ||
pub const TIMEOUT_MILLIS: u64 = 15000; | ||
|
||
/// Default polling interval for neovim (0.2 secs) | ||
pub const NVIM_POLL_TIMEOUT: u64 = 200; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "distant-ssh2" | ||
description = "Library to enable native ssh-2 protocol for use with distant sessions" | ||
categories = ["network-programming"] | ||
version = "0.15.0-alpha.15" | ||
version = "0.15.0-alpha.16" | ||
authors = ["Chip Senkbeil <[email protected]>"] | ||
edition = "2018" | ||
homepage = "https://github.com/chipsenkbeil/distant" | ||
|
@@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0" | |
|
||
[dependencies] | ||
async-compat = "0.2.1" | ||
distant-core = { version = "=0.15.0-alpha.15", path = "../distant-core" } | ||
distant-core = { version = "=0.15.0-alpha.16", path = "../distant-core" } | ||
futures = "0.3.16" | ||
log = "0.4.14" | ||
rand = { version = "0.8.4", features = ["getrandom"] } | ||
|