sunspec 0.2.0

SunSpec 1.1 compliant library with tokio support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all:
	@echo Available targets:
	@echo - models
	@echo - update_models
	@echo - gen_models

models: update_models gen_models

update_models:
	git submodule update --init
	(cd models && git checkout master && git pull)

gen_models:
	rm -f src/models/*.rs
	(cd sunspec-gen && cargo run ../models/json ../src/models)
	cargo fmt -- src/models/*.rs