slog-mock-proc-macros

Crates.ioslog-mock-proc-macros
lib.rsslog-mock-proc-macros
version0.4.0
sourcesrc
created_at2021-04-27 02:16:34.85919
updated_at2021-04-27 03:41:46.694435
descriptionImplementation crate for slog-mock
homepage
repositoryhttps://github.com/ammongit/slog-mock
max_upload_size
id389978
size6,112
(emmiegit)

documentation

README

slog-mock

Build status

Crate to mock slog, returning macros which mimic slog's.

This is not a full drop-in replacement for slog, but a limited subset of its functionality. The goal is to enable crates to provide a feature that compiles out all logging code entirely, in cases where logging is not needed for a specific target due to sensitive performance concerns.

The lint #![forbid(unsafe_code)] is set, and therefore this crate has only safe code.

Available under the terms of the MIT License.

Compilation

This library targets the latest stable Rust. At time of writing, that is 1.51.0.

$ cargo build --release
Commit count: 38

cargo fmt