generate README from docs
Some checks failed
continuous-integration/drone/push Build is failing

switch to license compatible with all dependencies
This commit is contained in:
2020-07-26 18:44:52 +00:00
parent 840868468b
commit 0749ae640a
8 changed files with 594 additions and 707 deletions

View File

@@ -7,13 +7,17 @@ steps:
commands:
- rustup component add rustfmt
- cargo fmt --all -- --check
- name: readme
image: msrd0/cargo-readme@sha256:2b916451e576cda54f1e02703fa092b9d5af95bcf48426a1ef42872a19467fd3
commands:
- cargo readme > ~README.md
- cmp -s README.md ~README.md || (printf "README.md need to be updated:\n"; cat ~README.md; exit 1)
- name: test
image: rust:1.43.0
commands:
- apt update && apt install -y libkeyutils-dev libclang-dev clang pkg-config
- echo 'deb http://http.us.debian.org/debian unstable main non-free contrib' >> /etc/apt/sources.list.d/unstable.list && apt update && apt install -y libcryptsetup-dev
- cargo test
- name: publish
image: rust:1.43.0
environment:
@@ -27,3 +31,4 @@ steps:
- cargo publish --all-features
when:
event: tag
depends_on: ["fmt", "test", "readme"]