gitmalong

Results 61 issues of gitmalong

```rust #[cached( convert = r##"{ format!("{}", address) }"##, type = "SizedCache", create = "{ SizedCache::with_size(1000) }", )] async fn get_cached( address: String, ) -> String { Ok("test".to_string()) } ``` -->...

Use case: Imagine your hot call always takes around 1-2s and you want to cache it with a TTL of 60s. As you never want your calling functions to wait...

Cargo.toml ``` [dependencies] private_dep= { git = "ssh://git@/gitmalong/private-dep.git", version = "0.1.8" } ``` `$ cat ~/.ssh/config` ``` Host HostName github.com User git IdentityFile ~/.ssh/id_rsa ``` `$ ssh-add` ``` Identity added:...

Hi! Some projects do only provide an IDL or js client. Rust users have to manually create struct's based on the IDL in order to interact with the program. It...

Running a Dockerfile build on my Macbook M1 machine. ``` FROM rust:alpine3.15 RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing mold ``` ``` > [builder 3/18] RUN apk add mold --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing: #8 0.210...

I would like to see an example or even a full layer that integrates the [Code Grant Flow](https://docs.rs/openidconnect/latest/openidconnect/#getting-started-authorization-code-grant-w-pkce) as Axum / Tower middleware.

In such a common scenario as outlined below I only want to store the `password` as encrypted value. How can I achieve that? ```rust struct DatabaseConfig { hostname: String, user:...

I added 5 words and after I reviewed them it said that I'm done for today. It gave me two options: - Add 5 more cards - Edit schedule settings...

When I completed a word and got it wrong I'd like to navigate back to write it one more time. Currently there is no back button that brings me back....

Please outline and provide tooling to retrieve all filled orders for a certain wallet address and market. All the UIs on the market only display recent data. This becomes a...