aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-12-05 04:03:55 -0500
committerJesse Luehrs <doy@tozt.net>2021-12-05 04:03:55 -0500
commitca9a7f92628fe4b46f737c616e59c84200393f6b (patch)
treedaf7644ed210b6b4f40094f02ea6106f40d2d99c
parentf3911a741e8d43ace385e80e119580ad52b2e88c (diff)
downloadttyrec-bin-ca9a7f92628fe4b46f737c616e59c84200393f6b.tar.gz
ttyrec-bin-ca9a7f92628fe4b46f737c616e59c84200393f6b.zip
cargo deny
-rw-r--r--Cargo.lock18
-rw-r--r--Cargo.toml4
-rw-r--r--LICENSE32
-rw-r--r--deny.toml14
4 files changed, 50 insertions, 18 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 42eb0e7..71a9ae3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -670,8 +670,6 @@ dependencies = [
[[package]]
name = "textmode"
version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5414b8281b3bfdf2104bed04039ef7ab578ab335f5123863281fd937a8d56543"
dependencies = [
"blocking",
"futures-lite",
@@ -679,7 +677,7 @@ dependencies = [
"nix",
"terminal_size",
"thiserror",
- "vt100 0.13.0",
+ "vt100",
]
[[package]]
@@ -734,7 +732,7 @@ dependencies = [
"terminal_size",
"textmode",
"ttyrec",
- "vt100 0.13.1",
+ "vt100",
]
[[package]]
@@ -785,18 +783,6 @@ checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
[[package]]
name = "vt100"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "831a634b9ec18a269b230e687b9dbfe240e49808198dc84b7ed4bdcfe6f85910"
-dependencies = [
- "itoa",
- "log",
- "unicode-width",
- "vte",
-]
-
-[[package]]
-name = "vt100"
version = "0.13.1"
dependencies = [
"itoa",
diff --git a/Cargo.toml b/Cargo.toml
index 4909d92..eefd7cf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ name = "ttyrec-bin"
version = "0.1.0"
edition = "2021"
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+license = "MIT"
[dependencies]
anyhow = "1.0.51"
@@ -15,6 +15,6 @@ signal-hook = "0.3.10"
signal-hook-async-std = "0.2.1"
structopt = { version = "0.3.25", features = ["paw", "wrap_help"] }
terminal_size = "0.1.17"
-textmode = { version = "0.2.0", features = ["async"] }
+textmode = { path = "../textmode", version = "0.2.0", features = ["async"] }
ttyrec = { path = "../ttyrec", version = "0.3.0", features = ["async"] }
vt100 = { path = "../vt100-rust", version = "0.13.1" }
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"