Coder Social home page Coder Social logo

abci-rs's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar devashishdxt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

abci-rs's Issues

`cargo check` fails out of the box.

Am I missing something basic? I can't cargo check a brand new empty project with this dependency and default features:

$ cargo new --lib abci-rs-example                                                                                                                      
     Created library `abci-rs-example` package                             
                                                                                                                                                       
$ cd abci-rs-example/                                                                                                                                  
                                                                                                                                                       
$ cat >> ./Cargo.toml                                                                                                                                  
abci-rs = "0.11.2"                                                                                                                                     
                                                                           
$ cargo check                                                                                                                                          
    Updating crates.io index                                                                                                                           
   Compiling proc-macro2 v1.0.39                                           
   Compiling unicode-ident v1.0.0          
[…]
    Checking serde_bytes v0.11.6                                                                                                                       
    Checking tendermint-proto v0.23.7
    Checking abci-rs v0.11.2                                                                                                                           
error[E0277]: the trait bound `Request: prost::Message` is not satisfied                                                                               
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/tasks.rs:90:43                                                     
   |                                                                       
90 |     while let Ok(request) = stream_reader.read().await {                                                                                          
   |                                           ^^^^ the trait `prost::Message` is not implemented for `Request`                                        
   |                                                                                                                                                   
note: required by a bound in `StreamReader::<S>::read`                                                                                                 
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/utils/io.rs:43:26                                                  
   |                                                                                                                                                   
43 |     pub async fn read<M: Message + Default>(&mut self) -> Result<Option<M>> {                                                                     
   |                          ^^^^^^^ required by this bound in `StreamReader::<S>::read`                                                              
error[E0277]: the trait bound `Response: prost::Message` is not satisfied                                                                              
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/tasks.rs:106:55                                                   
    |                                                                                                                                                  
106 |                 if let Err(err) = stream_writer.write(response).await {                                                                          
    |                                                 ----- ^^^^^^^^ the trait `prost::Message` is not implemented for `Response`                      
    |                                                 |                                                                                                
    |                                                 required by a bound introduced by this call                                                      
    |                                                                      
note: required by a bound in `StreamWriter::<S>::write`
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/utils/io.rs:84:27
    |
84  |     pub async fn write<M: Message>(&mut self, message: M) -> Result<()> {
    |                           ^^^^^^^ required by this bound in `StreamWriter::<S>::write`

error[E0277]: the trait bound `Response: prost::Message` is not satisfied
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/tasks.rs:164:63
    |
164 |                         if let Err(err) = stream_writer.write(response).await {
    |                                                         ----- ^^^^^^^^ the trait `prost::Message` is not implemented for `Response`
    |                                                         |
    |                                                         required by a bound introduced by this call
    |
note: required by a bound in `StreamWriter::<S>::write`
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/abci-rs-0.11.2/src/utils/io.rs:84:27
    |
84  |     pub async fn write<M: Message>(&mut self, message: M) -> Result<()> {
    |                           ^^^^^^^ required by this bound in `StreamWriter::<S>::write`
[…]

-and so on.

RUSTSEC-2021-0139: ansi_term is Unmaintained

ansi_term is Unmaintained

Details
Status unmaintained
Package ansi_term
Version 0.12.1
URL ogham/rust-ansi-term#72
Date 2021-08-18

The maintainer has adviced this crate is deprecated and will not
receive any maintenance.

The crate does not seem to have much dependencies and may or may not be ok to use as-is.

Last release seems to have been three years ago.

Possible Alternative(s)

The below list has not been vetted in any way and may or may not contain alternatives;

See advisory page for additional details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.