libdav 0.10.0

CalDAV and CardDAV client implementations.
Documentation
check:
	cargo fetch --locked  # make sure lockfile is up to date
	cargo check --all
	cargo fmt --check
	cargo clippy --all-targets --all -- -W clippy::pedantic
	cargo test   # includes examples and doctests
	cargo doc  # fails on broken links
	cargo-deny check

start-xandikos:
	# docker run --rm --publish 8000:8000 xandikos xandikos -d /tmp/dav -l 0.0.0.0 -p 8000 --autocreate --dump-dav-xml
	xandikos -d tmp/xandikos -l 127.0.0.1 -p 8000 --autocreate

start-radicale:
	docker run --rm --publish 8001:8001 whynothugo/vdirsyncer-devkit-radicale

start-baikal:
	docker run --rm --publish 8002:80 whynothugo/vdirsyncer-devkit-baikal

test-xandikos:
	source ./live_tests/xandikos.sh && cargo test -p live_tests

test-radicale:
	source ./live_tests/radicale.sh && cargo test -p live_tests

test-baikal:
	source ./live_tests/baikal.sh && cargo test -p live_tests

test-fastmail:
	source ./live_tests/fastmail.sh && cargo test -p live_tests

live-test: test-xandikos test-radicale test-baikal