Skip to content

Commit

Permalink
Bump to v0.15.0-alpha.12 and fix nil for distant_args
Browse files Browse the repository at this point in the history
  • Loading branch information
chipsenkbeil committed Oct 10, 2021
1 parent 5cc05b8 commit 733cc15
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion distant-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions distant-lua/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"] }
Expand Down
1 change: 1 addition & 0 deletions distant-lua/src/session/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?;
Expand Down
4 changes: 2 additions & 2 deletions distant-ssh2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"] }
Expand Down

0 comments on commit 733cc15

Please sign in to comment.