Skip to content

Commit

Permalink
appender: prepare tracing-appender for release (#705)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored May 5, 2020
1 parent 361a867 commit f8b52bd
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tracing-appender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 0.1.0 (May 5, 2020)

- Initial release
18 changes: 14 additions & 4 deletions tracing-appender/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
[package]
name = "tracing-appender"
version = "0.1.0"
authors = ["Zeki Sherif <[email protected]>"]
edition = "2018"
authors = [
"Zeki Sherif <[email protected]>",
"Tokio Contributors <[email protected]>"
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tokio-rs/tracing"
homepage = "https://tokio.rs"
description = """
Provides an `appender` that writes to a file
Provides utilities for file appenders and making non-blocking writers.
"""
categories = [
"development-tools::debugging",
"asynchronous",
]
keywords = ["logging", "tracing", "file-appender", "non-blocking-writer"]
edition = "2018"

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

[dev-dependencies]
tracing = { path = "../tracing", version = "0.1" }
tempdir = "0.3"
tempdir = "0.3"
23 changes: 23 additions & 0 deletions tracing-appender/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,29 @@
//! .init();
//! # }
//! ```
#![doc(html_root_url = "https://docs.rs/tracing-appender/0.1.0")]
#![warn(
missing_debug_implementations,
missing_docs,
rust_2018_idioms,
unreachable_pub,
bad_style,
const_err,
dead_code,
improper_ctypes,
non_shorthand_field_patterns,
no_mangle_generic_items,
overflowing_literals,
path_statements,
patterns_in_fns_without_body,
private_in_public,
unconditional_recursion,
unused,
unused_allocation,
unused_comparisons,
unused_parens,
while_true
)]
use crate::non_blocking::{NonBlocking, WorkerGuard};

use std::io::Write;
Expand Down

0 comments on commit f8b52bd

Please sign in to comment.