tokio-xmpp: allow docs build with --all-features

This affects only the docs and is quite an ugly hack, but seems to be
the only way for now.
This commit is contained in:
Jonas Schäfer 2024-04-20 21:22:25 +02:00
commit 0298caf97a
2 changed files with 7 additions and 2 deletions

View file

@ -41,7 +41,7 @@ variables:
stage: test
script:
- echo "Building docs to CI_DOC_TARGET=$CI_DOC_TARGET"
- RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps -Zrustdoc-map
- RUSTDOCFLAGS="--cfg docsrs" RUSTFLAGS="--cfg xmpprs_doc_build" cargo +nightly doc --no-deps -Zrustdoc-map --all-features
- apt install -y rsync openssh-client
- mkdir -p $HOME/.ssh
- echo -e "Host docs\n\tHostname docs.xmpp.rs\n\tPort 1312\n\tUser xmpp-rs\n\tStrictHostKeyChecking no" > $HOME/.ssh/config