containerd / ttrpc-rust

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

Fix warnings #13

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