containerd / ttrpc-rust

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

Move generated file ttrpc.rs to OUT_DIR #41

Closed Tim-Zhang closed 4 years ago

Tim-Zhang commented 4 years ago

Got: cargo publish --dry-run

error: failed to verify package tarball

Caused by: Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR. Added: /home/tim/project/ttrpc-rust/target/package/ttrpc-0.4.0/src/ttrpc.rs

This commit will resolve this issue.

Signed-off-by: Tim Zhang tim@hyper.sh