diff --git a/Cargo.lock b/Cargo.lock index 4eb000df0..0d35aeb23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -105,9 +105,9 @@ checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" [[package]] name = "cc" -version = "1.2.7" +version = "1.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a012a0df96dd6d06ba9a1b29d6402d1a5d77c6befd2566afdc26e10603dc93d7" +checksum = "32db95edf998450acc7881c932f94cd9b05c87b4b2599e8bab064753da4acfd1" dependencies = [ "shlex", ] @@ -1210,15 +1210,14 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", "getrandom 0.2.15", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] @@ -1442,12 +1441,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" version = "1.2.0" diff --git a/docs/scripting.md b/docs/scripting.md index 2fb754aa8..aff8c25cd 100644 --- a/docs/scripting.md +++ b/docs/scripting.md @@ -111,5 +111,19 @@ show it off. We make use of `pkgx` scripting all over our repositories. Check them out! +## Ultra Portable Scripts + +Requiring a `pkgx` shebang is somewhat limiting. Instead you can use our `cURL` +one-liner coupled with `+pkg` syntax to temporarily install pkgs and utilize +them in your scripts: + +```sh +#!/bin/bash + +eval "$(sh <(curl https://pkgx.sh) +git)" + +which git # prints soemthing like /tmp/pkgx/git-scm.org/v2.46.3/bin/git +``` + [shebang]: https://en.wikipedia.org/wiki/Shebang_(Unix) [Scriptisto]: https://github.com/igor-petruk/scriptisto diff --git a/tea.yaml b/tea.yaml index 3d9963079..7ae07e371 100644 --- a/tea.yaml +++ b/tea.yaml @@ -1,8 +1,19 @@ # https://tea.xyz/what-is-this-file +# +# DO NOT REMOVE OR EDIT THIS WARNING: +# +# This file is auto-generated by the TEA app. It is intended to validate ownership of your repository. +# DO NOT commit is file or accept any PR if you don't know what this is. +# We are aware that spammers will try to use this file to try to profit off others work. +# We take this very seriously and will take action against any malicious actors. +# +# If you are not the owner of this repository, and someome malicously opens a commit with this file +# please report it to us at support@tea.xyz. +# +# A consitution without this header is invalid. --- -version: 1.0.0 +version: 2.0.0 codeOwners: - - "0x5E2DE4A68df811AAAD32d71fb065e6946fA5C8d9" #mxcl - - "0x2faad60792b0594fB37592BA25Bd7387Fbd35191" #thomas-borrel - - "0xAb9A89fA4Bbd04Fc37116F0d7766866D001EA704" #jhheider + - '0x060F08FE34282a3783D2544A1f0804d9FEaAb283' + - '0x2e20f31d47Fe7Aa111dCC67Cb0eC6A411254Ae6e' quorum: 1