🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async
framework
gemini-protocol
protocol
gemini
rust
1import? 'cargo.just'
2
3set allow-duplicate-recipes := true
4
5default-features := "--features=logger,auto-deduce-mime,response-macros,"
6
7default:
8 @just --list
9
10fetch:
11 curl https://raw.githubusercontent.com/Fuwn/justfiles/refs/heads/main/cargo.just > cargo.just
12
13fmt:
14 cargo +nightly fmt
15
16[private]
17generic-task task async-feature:
18 cargo +nightly {{ task }} --no-default-features \
19 {{ default-features }}{{ async-feature }}
20
21check async-feature:
22 @just generic-task check {{ async-feature }}
23
24clippy async-feature:
25 @just generic-task clippy {{ async-feature }}
26
27test async-feature:
28 @just generic-task test {{ async-feature }}
29
30checkf:
31 @just fmt
32 @just check tokio
33 @just check async-std
34
35checkfc:
36 @just checkf
37 @just clippy tokio
38 @just clippy async-std
39
40docs:
41 cargo +nightly doc --open --no-deps
42
43example example async-feature="tokio":
44 cargo run --example {{ example }} --no-default-features \
45 {{ default-features }}{{ async-feature }}
46
47gen-key:
48 openssl req -new -subj /CN=localhost -x509 -newkey ec -pkeyopt \
49 ec_paramgen_curve:prime256v1 -days 365 -nodes -out windmark_public.pem \
50 -keyout windmark_private.pem -inform pem