diff --git a/Cargo.lock b/Cargo.lock index 1eff785a..49be4fc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -290,6 +290,20 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "cw-desmos-filter-posts" +version = "0.1.1" +dependencies = [ + "cosmwasm-schema", + "cosmwasm-std", + "cosmwasm-storage", + "cosmwasm-vm", + "desmos", + "schemars", + "serde", + "thiserror", +] + [[package]] name = "darling" version = "0.10.2" @@ -327,7 +341,7 @@ dependencies = [ [[package]] name = "desmos" -version = "0.1.0" +version = "0.1.1" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -382,20 +396,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" -[[package]] -name = "filter-posts" -version = "0.1.0" -dependencies = [ - "cosmwasm-schema", - "cosmwasm-std", - "cosmwasm-storage", - "cosmwasm-vm", - "desmos", - "schemars", - "serde", - "thiserror", -] - [[package]] name = "fnv" version = "1.0.7" diff --git a/README.md b/README.md index 47be2913..9a074687 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ A collection of smart contracts built in [CosmWasm](https://www.cosmwasm.com/) f ![GitHub](https://img.shields.io/github/license/desmos-labs/desmos-contracts.svg) [![codecov](https://codecov.io/gh/desmos-labs/desmos-contracts/branch/master/graph/badge.svg?token=4M3W11FP2F)](https://codecov.io/gh/desmos-labs/desmos-contracts) -| Packages | Tests | -| ------------- | ------ | -| desmos | ![Package-desmos](https://github.com/desmos-labs/desmos-contracts/workflows/Package-desmos/badge.svg)| +| Packages | Tests | Crates.io | +| ------------- | ------ | ------ | +| desmos | ![Package-desmos](https://github.com/desmos-labs/desmos-contracts/workflows/Package-desmos/badge.svg)| [![desmos on crates.io](https://img.shields.io/crates/v/desmos.svg)](https://crates.io/crates/desmos) -| Contracts | Tests | -| ------------- | ------ -| desmos | ![Contract-Filter-posts](https://github.com/desmos-labs/desmos-contracts/workflows/Contract-Filter-posts/badge.svg) | +| Contracts | Tests | Crates.io | +| ------------- | ------ | ------ | +| filter-posts | ![Contract-Filter-posts](https://github.com/desmos-labs/desmos-contracts/workflows/Contract-Filter-posts/badge.svg) | [![cw-desmos-filter-posts on crates.io](https://img.shields.io/crates/v/cw-desmos-filter-posts.svg)](https://crates.io/crates/cw-desmos-filter-posts) diff --git a/contracts/filter-posts/Cargo.toml b/contracts/filter-posts/Cargo.toml index 10962fd8..e2037a19 100644 --- a/contracts/filter-posts/Cargo.toml +++ b/contracts/filter-posts/Cargo.toml @@ -1,11 +1,12 @@ [package] -name = "filter-posts" -version = "0.1.0" +name = "cw-desmos-filter-posts" +version = "0.1.1" authors = ["bragaz "] edition = "2018" description = "A cosmwasm contract that filters desmos' network posts based on the number of reports a post has" -license = "Apache 2.0" +license = "Apache-2.0" repository = "https://github.com/desmos-labs/desmos-contracts" +keywords = ["desmos-network", "social-network", "blockchain", "smart-contracts"] exclude = [ # Those files are rust-optimizer artifacts. diff --git a/contracts/filter-posts/examples/schema.rs b/contracts/filter-posts/examples/schema.rs index a54964c2..ed0b5cbb 100644 --- a/contracts/filter-posts/examples/schema.rs +++ b/contracts/filter-posts/examples/schema.rs @@ -2,7 +2,7 @@ use std::{env::current_dir, fs::create_dir_all}; use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; -use filter_posts::{ +use cw_desmos_filter_posts::{ msg::{HandleMsg, InitMsg, QueryMsg}, state::State, }; diff --git a/contracts/filter-posts/tests/integration.rs b/contracts/filter-posts/tests/integration.rs index f270ba7c..8a3c3c3d 100644 --- a/contracts/filter-posts/tests/integration.rs +++ b/contracts/filter-posts/tests/integration.rs @@ -32,7 +32,8 @@ use desmos::{ query_types::{DesmosQueryWrapper, PostsResponse}, types::{PollData, Post}, }; -use filter_posts::{ + +use cw_desmos_filter_posts::{ mock::custom_query_execute, msg::{HandleMsg, InitMsg, QueryMsg}, state::REPORTS_LIMIT_KEY, diff --git a/packages/desmos/Cargo.toml b/packages/desmos/Cargo.toml index c2958533..7c60f6cd 100644 --- a/packages/desmos/Cargo.toml +++ b/packages/desmos/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "desmos" -version = "0.1.0" +version = "0.1.1" authors = ["bragaz "] edition = "2018" description = "Desmos network types and helpers" -license = "Apache 2.0" +license = "Apache-2.0" repository = "https://github.com/desmos-labs/desmos-contracts" +homepage = "https://www.desmos.network" +keywords = ["social-network", "blockchain", "smart-contracts"] [dependencies] cosmwasm-std = { version = "0.13.0" }