Skip to content

Commit f8b52bd

Browse files
thekeys93Zeki Sherifhawkw
authored
appender: prepare tracing-appender for release (#705)
Following the release process for https://github.com/tokio-rs/tracing/blob/master/CONTRIBUTING.md and these changes are the only things left to commit before release. I'd like to hopefully get this released today so we can start using this crate internally. Note: I need to get PR #703 and PR #678 merged before release. Co-authored-by: Zeki Sherif <[email protected]> Co-authored-by: Eliza Weisman <[email protected]>
1 parent 361a867 commit f8b52bd

File tree

3 files changed

+40
-4
lines changed

3 files changed

+40
-4
lines changed

tracing-appender/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 0.1.0 (May 5, 2020)
2+
3+
- Initial release

tracing-appender/Cargo.toml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
[package]
22
name = "tracing-appender"
33
version = "0.1.0"
4-
authors = ["Zeki Sherif <[email protected]>"]
5-
edition = "2018"
4+
authors = [
5+
"Zeki Sherif <[email protected]>",
6+
"Tokio Contributors <[email protected]>"
7+
]
8+
license = "MIT"
9+
readme = "README.md"
610
repository = "https://github.com/tokio-rs/tracing"
711
homepage = "https://tokio.rs"
812
description = """
9-
Provides an `appender` that writes to a file
13+
Provides utilities for file appenders and making non-blocking writers.
1014
"""
15+
categories = [
16+
"development-tools::debugging",
17+
"asynchronous",
18+
]
19+
keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"]
20+
edition = "2018"
1121

1222
[dependencies]
1323
tracing-subscriber = {path = "../tracing-subscriber", version = "0.2.4"}
@@ -16,4 +26,4 @@ chrono = "0.4.11"
1626

1727
[dev-dependencies]
1828
tracing = { path = "../tracing", version = "0.1" }
19-
tempdir = "0.3"
29+
tempdir = "0.3"

tracing-appender/src/lib.rs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,29 @@
104104
//! .init();
105105
//! # }
106106
//! ```
107+
#![doc(html_root_url = "https://docs.rs/tracing-appender/0.1.0")]
108+
#![warn(
109+
missing_debug_implementations,
110+
missing_docs,
111+
rust_2018_idioms,
112+
unreachable_pub,
113+
bad_style,
114+
const_err,
115+
dead_code,
116+
improper_ctypes,
117+
non_shorthand_field_patterns,
118+
no_mangle_generic_items,
119+
overflowing_literals,
120+
path_statements,
121+
patterns_in_fns_without_body,
122+
private_in_public,
123+
unconditional_recursion,
124+
unused,
125+
unused_allocation,
126+
unused_comparisons,
127+
unused_parens,
128+
while_true
129+
)]
107130
use crate::non_blocking::{NonBlocking, WorkerGuard};
108131

109132
use std::io::Write;

0 commit comments

Comments
 (0)