From f53cca4af37d59db4f190c9414c0033d05d379cc Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Thu, 6 Jul 2023 08:13:05 +0200 Subject: adding pledge(2) and unveil(2) for openbsd, and fixing some typos and stuff --- Cargo.lock | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 080fcbf..2b434ca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -419,6 +419,15 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "pledge" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "252599417b7d9a43b7fdc63dd790b0848666a8910b2ebe1a25118309c3c981e5" +dependencies = [ + "libc", +] + [[package]] name = "postgres" version = "0.18.1" @@ -483,9 +492,11 @@ version = "0.1.0" dependencies = [ "dotenv", "dumb_cgi", + "pledge", "postgres", "rand 0.8.5", "regex", + "unveil", "url", ] @@ -756,6 +767,15 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unveil" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e7fa867d559102001ec694165ed17d5f82e95213060a65f9c8b6280084bbfec" +dependencies = [ + "libc", +] + [[package]] name = "url" version = "2.4.0" -- cgit v1.2.3