httpbin-rs 0.1.0

使用 Rust 实现 httpbin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
VERSION := $(shell cargo read-manifest| jq -r .version)
export VERSION

.PHONY:
install:
	cargo install --path .

.PHONY:
format:
	cargo clippy --fix --allow-dirty
	cargo fmt

.PHONY:
release:
	git tag -a v$(VERSION) -m "release v$(VERSION)"
	git push origin v$(VERSION)
	cargo publish