summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock42
-rw-r--r--Cargo.toml8
-rw-r--r--LICENSE32
-rw-r--r--deny.toml14
4 files changed, 66 insertions, 30 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7518950..9fcec96 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -94,9 +94,9 @@ dependencies = [
[[package]]
name = "async-process"
-version = "1.2.0"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b21b63ab5a0db0369deb913540af2892750e42d949faacc7a61495ac418a1692"
+checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6"
dependencies = [
"async-io",
"blocking",
@@ -162,9 +162,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "blocking"
-version = "1.0.2"
+version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c5e170dbede1f740736619b776d7251cb1b9095c435c34d8ca9f57fcd2f335e9"
+checksum = "046e47d4b2d391b1f6f8b407b1deb8dee56c1852ccd868becf2710f601b5f427"
dependencies = [
"async-channel",
"async-task",
@@ -188,9 +188,9 @@ checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
[[package]]
name = "cc"
-version = "1.0.71"
+version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd"
+checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
[[package]]
name = "cfg-if"
@@ -452,7 +452,7 @@ dependencies = [
"async-std",
"futures",
"libc",
- "nix 0.23.0",
+ "nix",
"pty-process",
"textmode",
"vt100",
@@ -460,18 +460,6 @@ dependencies = [
[[package]]
name = "nix"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a"
-dependencies = [
- "bitflags",
- "cc",
- "cfg-if",
- "libc",
-]
-
-[[package]]
-name = "nix"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f305c2c2e4c39a82f7bf0bf65fb557f9070ce06781d4f2454295cc34b1c43188"
@@ -519,9 +507,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
[[package]]
name = "polling"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "92341d779fa34ea8437ef4d82d440d5e1ce3f3ff7f824aa64424cd481f9a1f25"
+checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259"
dependencies = [
"cfg-if",
"libc",
@@ -553,14 +541,14 @@ dependencies = [
[[package]]
name = "pty-process"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e0e989070d8241a051075bad757baf7b27518ce532bca7ce1c4599f5c35dfb18"
+checksum = "4f5ee5b47038135661458191580c0755ac2392be97385cd9446412c9892b676e"
dependencies = [
"async-io",
"async-process",
"libc",
- "nix 0.20.0",
+ "nix",
"thiserror",
]
@@ -631,14 +619,14 @@ dependencies = [
[[package]]
name = "textmode"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7a744371e8b61790d5df2f0d64568d3423fcea761dd9d069eb4199228394b010"
+checksum = "6b9b8e80092d9f4b0c016d755c6a162c89d08dee6379e1d3c65129d274b777ae"
dependencies = [
"blocking",
"futures-lite",
"itoa",
- "nix 0.20.0",
+ "nix",
"terminal_size",
"thiserror",
"vt100",
diff --git a/Cargo.toml b/Cargo.toml
index 9bed95f..dfb8dc4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,15 +3,17 @@ name = "nbsh"
version = "0.1.0"
edition = "2021"
+license = "MIT"
+
[dependencies]
anyhow = "1.0.45"
-async-process = "1.2.0"
+async-process = "1.3.0"
async-std = "1.10.0"
futures = "0.3.17"
libc = "0.2.107"
nix = "0.23.0"
-pty-process = { version = "0.1.0", features = ["backend-async-std"] }
-textmode = { version = "0.1.0", features = ["async"] }
+pty-process = { version = "0.1.1", features = ["backend-async-std"] }
+textmode = { version = "0.1.1", features = ["async"] }
vt100 = "0.12.0"
[features]
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..989bb12
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,32 @@
+This software is Copyright (c) 2021 by Jesse Luehrs.
+
+This is free software, licensed under:
+
+ The MIT (X11) License
+
+The MIT License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to
+whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall
+be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
+WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE AND NONINFRINGEMENT. IN NO EVENT
+SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/deny.toml b/deny.toml
new file mode 100644
index 0000000..5b7ebc5
--- /dev/null
+++ b/deny.toml
@@ -0,0 +1,14 @@
+targets = [
+ { triple = "x86_64-unknown-linux-musl" },
+ { triple = "x86_64-unknown-linux-gnu" },
+]
+
+[advisories]
+yanked = "deny"
+unsound = "deny"
+
+[bans]
+
+[licenses]
+allow = ["MIT", "Apache-2.0"]
+copyleft = "deny"