diff --git a/build.rs b/build.rs index 41e7da6..db67d21 100644 --- a/build.rs +++ b/build.rs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. // -use version_check; fn main() { println!("cargo:rerun-if-changed=build.rs"); diff --git a/src/lib.rs b/src/lib.rs index 0415f43..fa41f16 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -130,6 +130,7 @@ pub struct Message { /// this case, or one might decide that a running but degraded application is better than nothing i /// such a situation. The `ProbeRegistration` enum contains information about whether probes were /// successfully registered. The caller may decide how to handle such a case. +#[allow(clippy::large_enum_variant)] #[derive(Debug)] pub enum ProbeRegistration { Success, @@ -211,7 +212,7 @@ fn create_dtrace_message(record: &slog::Record, values: &slog::OwnedKVList) -> M } }; let msg = Message { - location: location, + location, timestamp: Utc::now(), level: record.level().as_str().to_string(), message: record.msg().to_string(),