diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f65e12..1539ba6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -51,8 +51,11 @@ jobs: - name: Run cargo test uses: actions-rs/cargo@v1 + env: + RUSTFLAGS: -D warnings with: command: test + args: --release fmt: name: Rustfmt diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c729d18 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## 0.0.1 (2019-11-18) +- It typechecks, ship it! diff --git a/Cargo.toml b/Cargo.toml index 0dd2fde..33cc402 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yubikey-piv" -version = "0.0.0" # Also update html_root_url in lib.rs when bumping this +version = "0.0.1" # Also update html_root_url in lib.rs when bumping this description = """ Pure Rust host-side driver for the YubiKey Personal Identity Verification (PIV) CCID application providing general-purpose public-key signing and encryption diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..3c9fdbd Binary files /dev/null and b/img/logo.png differ diff --git a/img/logo.svg b/img/logo.svg new file mode 100644 index 0000000..bfeab0f --- /dev/null +++ b/img/logo.svg @@ -0,0 +1 @@ +logo \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 3db2980..117d781 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,6 +72,10 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +#![doc( + html_logo_url = "https://raw.githubusercontent.com/tarcieri/yubikey-piv.rs/develop/img/logo.png", + html_root_url = "https://docs.rs/yubikey-piv/0.0.1" +)] #![warn( missing_docs, rust_2018_idioms,