Skip to content

Commit 12b9b59

Browse files
committed
Add unsafe forbidden badge and directive
1 parent e5d7860 commit 12b9b59

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.com/monero-rs/base58m-rs.svg?branch=master)](https://travis-ci.com/monero-rs/base58m-rs) [![Crates.io](https://img.shields.io/crates/v/base58m.svg)](https://crates.io/crates/base58m) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1+
[![Build Status](https://travis-ci.com/monero-rs/base58m-rs.svg?branch=master)](https://travis-ci.com/monero-rs/base58m-rs) [![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/) [![Crates.io](https://img.shields.io/crates/v/base58m.svg)](https://crates.io/crates/base58m) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
22

33
`base58m`, a Rust Monero Base58 `base64`-like Binary
44
===

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
// copies or substantial portions of the Software.
1414
//
1515

16+
// Coding conventions
17+
#![forbid(unsafe_code)]
18+
1619
use tokio::fs::File;
1720
use tokio::io;
1821
use tokio::io::AsyncRead;

0 commit comments

Comments
 (0)