Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
[[package]]
name = "eyre"
-version = "0.6.5"
+version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "221239d1d5ea86bf5d6f91c9d6bc3646ffe471b08ff9b0f91c44f115ac969d2b"
+checksum = "4c2b6b5a29c02cdc822728b7d7b8ae1bab3e3b05d44522770ddd49722eeac7eb"
dependencies = [
"indenter",
"once_cell",
"unicode-segmentation",
]
+[[package]]
+name = "heck"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9"
+
[[package]]
name = "hermit-abi"
version = "0.1.19"
"eyre",
"fehler",
"futures",
+ "heck 0.4.0",
"hippotat-macros",
"hyper",
"hyper-tls",
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10"
dependencies = [
- "heck",
+ "heck 0.3.3",
"proc-macro-error",
"proc-macro2",
"quote",
base64 = "0.13"
env_logger = "0.9"
futures = "0.3"
+heck = "0.4"
hyper = { version = "0.14", features = ["full"] }
hyper-tls = "0.5"
ipnet = "2"
copy!{
level, target, module_path, file, line
};
- match format_args!("{}", record.args()) {
+ match format_args!("{}: {}",
+ heck::AsKebabCase(record.level().as_str()),
+ record.args()) {
args => {
wrap.args(args);
self.output.log(&wrap.build());