diff --git a/README.md b/README.md index 77f3313..4f4f3f8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ # mnn-rs +![Codecov](https://img.shields.io/codecov/c/github/aftershootco/mnn-rs?link=https%3A%2F%2Fapp.codecov.io%2Fgithub%2Faftershootco%2Fmnn-rs) +![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/aftershootco/mnn-rs/build.yaml?link=https%3A%2F%2Fgithub.com%2Faftershootco%2Fmnn-rs%2Factions%2Fworkflows%2Fbuild.yaml) Rust wrapper over [alibaba/MNN](https://github.com/alibaba/MNN) c++ library with handwritten C wrapper over mnn NOTES: On windows it will only compile with --release mode There's a few issues with rustc linking to msvcrt by default and anything compiled with /MTd will not link properly + + + diff --git a/src/lib.rs b/src/lib.rs index 70f7597..c0e7974 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,11 +1,12 @@ -//! # MNN //! -//! Ergonomic rust bindings for [MNN](https://github.com/alibaba/MNN) +//! Ergonomic rust bindings for [MNN](https://github.com/alibaba/MNN) //! //! The main data structures used are [`Tensor`] and [`Interpreter`]. //! [Interpreter] should be thread safe and can be used to run multiple sessions concurrently. //! [Send] / [Sync] is not implemented for Interpreter yet since we don't know how it will be used. //! +//! ![Codecov](https://img.shields.io/codecov/c/github/aftershootco/mnn-rs?link=https%3A%2F%2Fapp.codecov.io%2Fgithub%2Faftershootco%2Fmnn-rs) +//! ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/aftershootco/mnn-rs/build.yaml?link=https%3A%2F%2Fgithub.com%2Faftershootco%2Fmnn-rs%2Factions%2Fworkflows%2Fbuild.yaml) //! # Example //! ```rust,no_run //! use mnn::*;