From 7d881fb646540c022d8aa084a0763d4f0403312b Mon Sep 17 00:00:00 2001 From: Mika Vatanen Date: Sun, 11 Apr 2021 13:02:11 +0300 Subject: [PATCH] Commit v0.0.4 files --- Cargo.toml | 2 +- build.rs | 10 +++++----- hstrace_derive/Cargo.toml | 3 ++- hstrace_derive/README.md | 3 +++ 4 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 hstrace_derive/README.md diff --git a/Cargo.toml b/Cargo.toml index 90ddb18..0554a87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["strace", "syscall", "tracing", "linux"] readme = "README.md" [dependencies] -hstrace_derive = { path = "hstrace_derive" } +hstrace_derive = { path = "hstrace_derive", version = "0.0.1" } # logging log = "0.4.14" diff --git a/build.rs b/build.rs index 8134550..348bc36 100644 --- a/build.rs +++ b/build.rs @@ -19,9 +19,9 @@ fn main() { .write_to_file(out_path.join("bindings.rs")) .expect("Couldn't write bindings!"); - std::process::Command::new("make") - .args(&["compile_main"]) - .current_dir("data/c_code") - .spawn() - .expect("Build test C"); + //std::process::Command::new("make") + // .args(&["compile_main"]) + // .current_dir("data/c_code") + // .spawn() + // .expect("Build test C"); } diff --git a/hstrace_derive/Cargo.toml b/hstrace_derive/Cargo.toml index 46542d4..1d7133c 100644 --- a/hstrace_derive/Cargo.toml +++ b/hstrace_derive/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "hstrace_derive" version = "0.0.1" +description = "Internal derive library for htsrace" license = "Apache-2.0/MIT" edition = "2018" @@ -12,4 +13,4 @@ proc-macro2 = "1.0.8" [lib] name = "hstrace_derive" -proc-macro = true \ No newline at end of file +proc-macro = true diff --git a/hstrace_derive/README.md b/hstrace_derive/README.md new file mode 100644 index 0000000..64ad2ca --- /dev/null +++ b/hstrace_derive/README.md @@ -0,0 +1,3 @@ +# hstrace_derive + +See [hstrace](https://crates.io/crates/hstrace)