🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async framework gemini-protocol protocol gemini rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: Migrate to just from cargo-make

Fuwn b7b664c6 c161ef42

+53 -93
+3
.gitignore
··· 13 13 14 14 # macOS 15 15 .DS_Store 16 + 17 + # Fuwn/justfiles 18 + *.just
-93
Makefile.toml
··· 1 - [config] 2 - default_to_workspace = false 3 - 4 - [tasks.fmt] 5 - args = ["fmt"] 6 - command = "cargo" 7 - toolchain = "nightly" 8 - 9 - [tasks.check] 10 - args = [ 11 - "check", 12 - "--no-default-features", 13 - "--features=logger,auto-deduce-mime,response-macros,${@}", 14 - ] 15 - command = "cargo" 16 - toolchain = "nightly" 17 - 18 - [tasks.clippy] 19 - args = [ 20 - "clippy", 21 - "--no-default-features", 22 - "--features=logger,auto-deduce-mime,response-macros,${@}", 23 - ] 24 - command = "cargo" 25 - toolchain = "nightly" 26 - 27 - [tasks.test] 28 - args = [ 29 - "test", 30 - "--no-default-features", 31 - "--features=logger,auto-deduce-mime,response-macros,${@}", 32 - ] 33 - command = "cargo" 34 - 35 - [tasks.checkf] 36 - script = ''' 37 - #!@shell 38 - 39 - cargo make fmt 40 - cargo make check tokio 41 - cargo make check async-std 42 - ''' 43 - 44 - [tasks.checkfc] 45 - script = ''' 46 - #!@shell 47 - 48 - cargo make fmt 49 - cargo make check tokio 50 - cargo make check async-std 51 - cargo make clippy tokio 52 - cargo make clippy async-std 53 - ''' 54 - 55 - [tasks.genkey] 56 - command = "openssl" 57 - args = [ 58 - "req", 59 - "-new", 60 - "-subj", 61 - "/CN=localhost", 62 - "-x509", 63 - "-newkey", 64 - "ec", 65 - "-pkeyopt", 66 - "ec_paramgen_curve:prime256v1", 67 - "-days", 68 - "365", 69 - "-nodes", 70 - "-out", 71 - "windmark_public.pem", 72 - "-keyout", 73 - "windmark_private.pem", 74 - "-inform", 75 - "pem", 76 - ] 77 - 78 - [tasks.docs] 79 - workspace = false 80 - toolchain = "nightly" 81 - command = "cargo" 82 - args = ["doc", "--open", "--no-deps"] 83 - 84 - [tasks.example] 85 - script = ''' 86 - #!@duckscript 87 - 88 - if is_empty ${2} 89 - exec cargo run --example ${1} --no-default-features --features=logger,auto-deduce-mime,response-macros,tokio 90 - else 91 - exec cargo run --example ${1} --no-default-features --features=logger,auto-deduce-mime,response-macros,${2} 92 - end 93 - '''
+50
justfile
··· 1 + import? 'cargo.just' 2 + 3 + set allow-duplicate-recipes := true 4 + 5 + default-features := "--features=logger,auto-deduce-mime,response-macros," 6 + 7 + default: 8 + @just --list 9 + 10 + fetch: 11 + curl https://raw.githubusercontent.com/Fuwn/justfiles/refs/heads/main/cargo.just > cargo.just 12 + 13 + fmt: 14 + cargo +nightly fmt 15 + 16 + [private] 17 + generic-task task async-feature: 18 + cargo +nightly {{ task }} --no-default-features \ 19 + {{ default-features }}{{ async-feature }} 20 + 21 + check async-feature: 22 + @just generic-task check {{ async-feature }} 23 + 24 + clippy async-feature: 25 + @just generic-task clippy {{ async-feature }} 26 + 27 + test async-feature: 28 + @just generic-task test {{ async-feature }} 29 + 30 + checkf: 31 + @just fmt 32 + @just check tokio 33 + @just check async-std 34 + 35 + checkfc: 36 + @just checkf 37 + @just clippy tokio 38 + @just clippy async-std 39 + 40 + docs: 41 + cargo +nightly doc --open --no-deps 42 + 43 + example example async-feature="tokio": 44 + cargo run --example {{ example }} --no-default-features \ 45 + {{ default-features }}{{ async-feature }} 46 + 47 + gen-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