Bump to v0.15.0-alpha.12 and fix nil for distant_args

pull/96/head v0.15.0-alpha.12
Chip Senkbeil 3 years ago
parent 5cc05b8a7a
commit 733cc152ea
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

8
Cargo.lock generated

@ -435,7 +435,7 @@ dependencies = [
[[package]]
name = "distant"
version = "0.15.0-alpha.10"
version = "0.15.0-alpha.12"
dependencies = [
"assert_cmd",
"assert_fs",
@ -459,7 +459,7 @@ dependencies = [
[[package]]
name = "distant-core"
version = "0.15.0-alpha.10"
version = "0.15.0-alpha.12"
dependencies = [
"assert_fs",
"bytes",
@ -484,7 +484,7 @@ dependencies = [
[[package]]
name = "distant-lua"
version = "0.15.0-alpha.10"
version = "0.15.0-alpha.12"
dependencies = [
"distant-core",
"distant-ssh2",
@ -518,7 +518,7 @@ dependencies = [
[[package]]
name = "distant-ssh2"
version = "0.15.0-alpha.10"
version = "0.15.0-alpha.12"
dependencies = [
"assert_cmd",
"assert_fs",

@ -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.11"
version = "0.15.0-alpha.12"
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"
@ -28,7 +28,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.11", path = "distant-core", features = ["structopt"] }
distant-core = { version = "=0.15.0-alpha.12", path = "distant-core", features = ["structopt"] }
flexi_logger = "0.18.0"
log = "0.4.14"
once_cell = "1.8.0"
@ -40,7 +40,7 @@ strum = { version = "0.21.0", features = ["derive"] }
whoami = "1.1.2"
# Optional native SSH functionality
distant-ssh2 = { version = "=0.15.0-alpha.11", path = "distant-ssh2", optional = true }
distant-ssh2 = { version = "=0.15.0-alpha.12", path = "distant-ssh2", optional = true }
[target.'cfg(unix)'.dependencies]
fork = "0.1.18"

@ -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.11"
version = "0.15.0-alpha.12"
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
edition = "2018"
homepage = "https://github.com/chipsenkbeil/distant"

@ -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.11"
version = "0.15.0-alpha.12"
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
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.11", path = "../distant-core" }
distant-ssh2 = { version = "=0.15.0-alpha.11", features = ["serde"], path = "../distant-ssh2" }
distant-core = { version = "=0.15.0-alpha.12", path = "../distant-core" }
distant-ssh2 = { version = "=0.15.0-alpha.12", features = ["serde"], path = "../distant-ssh2" }
futures = "0.3.17"
log = "0.4.14"
mlua = { git = "https://github.com/khvzak/mlua.git", features = ["async", "macros", "module", "serialize"] }

@ -193,6 +193,7 @@ impl<'lua> FromLua<'lua> for LaunchOpts<'lua> {
distant_args: {
let value: LuaValue = tbl.get("distant_args")?;
match value {
LuaValue::Nil => String::new(),
LuaValue::String(args) => args.to_str()?.to_string(),
x => {
let args: Vec<String> = lua.from_value(x)?;

@ -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.11"
version = "0.15.0-alpha.12"
authors = ["Chip Senkbeil <chip@senkbeil.org>"]
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.11", path = "../distant-core" }
distant-core = { version = "=0.15.0-alpha.12", path = "../distant-core" }
futures = "0.3.16"
log = "0.4.14"
rand = { version = "0.8.4", features = ["getrandom"] }

Loading…
Cancel
Save