containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
197 stars 47 forks source link

Fix warnings #9

Closed Tim-Zhang closed 4 years ago

Tim-Zhang commented 4 years ago

Fix warnings in ttrpc-rust, compiler and examples

  1. Fix warnings about naming convention and update version for api changed.
  2. Add unwrap to fix Result unused warning
  3. Remove redundant parentheses and curly braces
  4. Add 'dyn' for trait object
  5. Add underscore prefix to unused variable
  6. Remove unused import
  7. Remove dead codes
  8. Use new api of ttrpc
  9. Regenerate ttrpc.rs
  10. Add headers to generated codes
teawater commented 4 years ago

According to what I said in https://github.com/alipay/ttrpc-rust/pull/8, could you add commit for generated file in example?

Tim-Zhang commented 4 years ago

@teawater I have fixed the remaining warnings caused by compiler, and I have added a generated by headers to generated codes.