diff --git a/Cargo.lock b/Cargo.lock index a2d666a..c50a11e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "query-security-txt" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bincode", "clap 3.1.6", @@ -3033,7 +3033,7 @@ dependencies = [ [[package]] name = "solana-security-txt" -version = "0.1.0" +version = "0.1.1" dependencies = [ "thiserror", "twoway", diff --git a/README.md b/README.md index 07653d7..10e519b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # security.txt +[![](https://img.shields.io/crates/v/solana-security-txt)](https://crates.io/crates/solana-security-txt) [![](https://docs.rs/solana-security-txt/badge.svg)](https://docs.rs/solana-security-txt/) [![](https://img.shields.io/crates/v/query-security-txt)](https://crates.io/crates/query-security-txt) + This library defines a macro, whose aim it is to provide easy-to-parse information to security researchers that wish to contact the authors of a Solana smart contract. It is inspired by https://securitytxt.org/. Add the following to the `[dependencies]` section of your Cargo.toml: ```toml -security-txt = "0.1.0" +solana-security-txt = "0.1.1" ``` ## Example diff --git a/query-security-txt/Cargo.toml b/query-security-txt/Cargo.toml index 8ffdb10..b8c0f2e 100644 --- a/query-security-txt/Cargo.toml +++ b/query-security-txt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "query-security-txt" -version = "0.1.0" +version = "0.1.1" edition = "2021" description = "query-security-txt is a tool that queries smart contracts on the Solana blockchain for security.txt information" readme = "../README.md" @@ -11,6 +11,6 @@ license = "MIT OR Apache-2.0" bincode = "1.3.3" clap = { version = "3.1.6", features = ["derive"] } color-eyre = "0.6.1" -solana-security-txt = { version = "0.1.0", path = "../security-txt" } +solana-security-txt = { version = "0.1.1", path = "../security-txt" } solana-client = "1.10.0" solana-sdk = "1.10.0" diff --git a/security-txt/Cargo.toml b/security-txt/Cargo.toml index f7d44e5..8ce3509 100644 --- a/security-txt/Cargo.toml +++ b/security-txt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solana-security-txt" -version = "0.1.0" +version = "0.1.1" edition = "2021" description = "security-txt is a macro that helps security researchers contact you about vulnerabilities in your smart contract" readme = "../README.md" diff --git a/security-txt/src/lib.rs b/security-txt/src/lib.rs index aea1cfe..0641633 100644 --- a/security-txt/src/lib.rs +++ b/security-txt/src/lib.rs @@ -3,11 +3,6 @@ //! This library defines a macro, whose aim it is to provide easy-to-parse information to security researchers that wish to contact the authors of a Solana smart contract. //! It is inspired by https://securitytxt.org/. //! -//! Add the following to the `[dependencies]` section of your Cargo.toml: -//! ```toml -//! security-txt = "0.1.0" -//! ``` -//! //! ## Example //! ```rust //! security_txt! {