Skip to content

Commit

Permalink
feat: Added codecov and build badges
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Sep 5, 2024
1 parent fc536ee commit 3be761a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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



5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -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::*;
Expand Down

0 comments on commit 3be761a

Please sign in to comment.