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