Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples #8

Merged
merged 3 commits into from
Jan 13, 2020
Merged

Fix examples #8

merged 3 commits into from
Jan 13, 2020

Commits on Jan 2, 2020

  1. Remove generated files in example

    Got:
    cargo run --example server unix:///tmp/1
    error[E0425]: cannot find value VERSION_2_8_0 in crate protobuf
    
    This commit makes it necessary for users to generate codes themeselves
    before running examples to avoid above errors.
    
    Signed-off-by: Tim Zhang <tim@hyper.sh>
    Tim-Zhang committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    c44d4fa View commit details
    Browse the repository at this point in the history
  2. docs: Add more details to the README

    Add instructions of how to run examples and notes about protobuf version.
    
    Signed-off-by: Tim Zhang <tim@hyper.sh>
    Tim-Zhang committed Jan 2, 2020
    Configuration menu
    Copy the full SHA
    b21a0d6 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2020

  1. Use build script to generate codes in example

    Rename examples to example to make it a standalone cargo project so that
    we can use build script, independent dependencies, etc. in example.
    
    Signed-off-by: Tim Zhang <tim@hyper.sh>
    Tim-Zhang committed Jan 13, 2020
    Configuration menu
    Copy the full SHA
    b52a5fc View commit details
    Browse the repository at this point in the history