diff --git a/Cargo.toml b/Cargo.toml index 06d18e2..4e5b324 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ members = [ [package] name = "emit" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -38,11 +38,11 @@ implicit_rt = ["emit_core/implicit_rt", "emit_macros/implicit_rt"] implicit_internal_rt = ["emit_core/implicit_internal_rt"] [dependencies.emit_macros] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "macros" [dependencies.emit_core] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "core" default-features = false diff --git a/README.md b/README.md index b57e5a0..cb6e197 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![all](https://github.com/KodrAus/emit/actions/workflows/all.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/all.yml) -[Current docs](https://docs.rs/emit/0.11.0-alpha.1/emit/index.html) +[Current docs](https://docs.rs/emit/0.11.0-alpha.2/emit/index.html) ## Structured diagnostics for Rust applications. @@ -14,10 +14,10 @@ ```toml [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" [dependencies.emit_term] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" ``` ```rust diff --git a/batcher/Cargo.toml b/batcher/Cargo.toml index 9f60f4b..c7ea8e7 100644 --- a/batcher/Cargo.toml +++ b/batcher/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_batcher" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -12,7 +12,7 @@ edition = "2021" features = ["tokio"] [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../" default-features = false diff --git a/batcher/README.md b/batcher/README.md index 5b85a67..5098e49 100644 --- a/batcher/README.md +++ b/batcher/README.md @@ -2,6 +2,6 @@ [![batcher](https://github.com/KodrAus/emit/actions/workflows/batcher.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/batcher.yml) -[Current docs](https://docs.rs/emit_batcher/0.11.0-alpha.1/emit_batcher/index.html) +[Current docs](https://docs.rs/emit_batcher/0.11.0-alpha.2/emit_batcher/index.html) Infrastructure for emitting diagnostic events in the background. diff --git a/core/Cargo.toml b/core/Cargo.toml index 78321a1..bcb414d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_core" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/emitter/file/Cargo.toml b/emitter/file/Cargo.toml index d1380d4..a4096f1 100644 --- a/emitter/file/Cargo.toml +++ b/emitter/file/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_file" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -18,7 +18,7 @@ default = ["default_writer"] default_writer = ["emit/sval", "sval_json"] [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" default-features = false features = ["std", "implicit_internal_rt"] @@ -32,13 +32,13 @@ features = ["std"] optional = true [dependencies.emit_batcher] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../batcher" [dependencies.rand] version = "0.8" [dev-dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["implicit_rt"] diff --git a/emitter/file/README.md b/emitter/file/README.md index e2f4b90..02c25cd 100644 --- a/emitter/file/README.md +++ b/emitter/file/README.md @@ -2,6 +2,6 @@ [![file](https://github.com/KodrAus/emit/actions/workflows/file.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/file.yml) -[Current docs](https://docs.rs/emit_file/0.11.0-alpha.1/emit_file/index.html) +[Current docs](https://docs.rs/emit_file/0.11.0-alpha.2/emit_file/index.html) Emit diagnostic events to rolling files. diff --git a/emitter/file/src/lib.rs b/emitter/file/src/lib.rs index 18ced05..7a1736a 100644 --- a/emitter/file/src/lib.rs +++ b/emitter/file/src/lib.rs @@ -15,10 +15,10 @@ Add `emit` and `emit_file` to your `Cargo.toml`: ```toml [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" [dependencies.emit_file] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" ``` Initialize `emit` using a rolling file set: diff --git a/emitter/opentelemetry/Cargo.toml b/emitter/opentelemetry/Cargo.toml index e207944..11fd9bb 100644 --- a/emitter/opentelemetry/Cargo.toml +++ b/emitter/opentelemetry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_opentelemetry" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -11,7 +11,7 @@ categories = ["development-tools::debugging"] edition = "2021" [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["std", "serde", "implicit_internal_rt"] default-features = false @@ -28,6 +28,6 @@ features = ["logs", "trace"] version = "1" [dev-dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["implicit_rt"] diff --git a/emitter/opentelemetry/README.md b/emitter/opentelemetry/README.md index 01f6d41..993f9eb 100644 --- a/emitter/opentelemetry/README.md +++ b/emitter/opentelemetry/README.md @@ -2,7 +2,7 @@ [![opentelemetry](https://github.com/KodrAus/emit/actions/workflows/opentelemetry.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/opentelemetry.yml) -[Current docs](https://docs.rs/emit_opentelemetry/0.11.0-alpha.1/emit_opentelemetry/index.html) +[Current docs](https://docs.rs/emit_opentelemetry/0.11.0-alpha.2/emit_opentelemetry/index.html) Integrate `emit` with the OpenTelemetry SDK. diff --git a/emitter/opentelemetry/src/lib.rs b/emitter/opentelemetry/src/lib.rs index 2e3fda7..2871589 100644 --- a/emitter/opentelemetry/src/lib.rs +++ b/emitter/opentelemetry/src/lib.rs @@ -9,10 +9,10 @@ Configure OpenTelemetry as per its documentation, then add `emit` and `emit_open ```toml [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" [dependencies.emit_opentelemetry] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" ``` Initialize `emit` to send diagnostics to the OpenTelemetry SDK using [`new`]: diff --git a/emitter/otlp/Cargo.toml b/emitter/otlp/Cargo.toml index 83500ca..9d89175 100644 --- a/emitter/otlp/Cargo.toml +++ b/emitter/otlp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_otlp" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -16,13 +16,13 @@ gzip = ["flate2"] tls = ["tokio-rustls", "rustls-native-certs"] [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["std", "sval", "implicit_internal_rt"] default-features = false [dependencies.emit_batcher] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../batcher" features = ["tokio"] @@ -85,6 +85,6 @@ version = "1" features = ["full"] [dev-dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["implicit_rt"] diff --git a/emitter/otlp/README.md b/emitter/otlp/README.md index a00a67f..f999418 100644 --- a/emitter/otlp/README.md +++ b/emitter/otlp/README.md @@ -2,7 +2,7 @@ [![otlp](https://github.com/KodrAus/emit/actions/workflows/otlp.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/otlp.yml) -[Current docs](https://docs.rs/emit_otlp/0.11.0-alpha.1/emit_otlp/index.html) +[Current docs](https://docs.rs/emit_otlp/0.11.0-alpha.2/emit_otlp/index.html) Emit diagnostic events via the OpenTelemetry Protocol (OTLP). diff --git a/emitter/otlp/gen/Cargo.toml b/emitter/otlp/gen/Cargo.toml index c7b469a..2a96d1c 100644 --- a/emitter/otlp/gen/Cargo.toml +++ b/emitter/otlp/gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit-otlp-gen" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" publish = false edition = "2021" diff --git a/emitter/otlp/src/lib.rs b/emitter/otlp/src/lib.rs index 066a8c0..dd0380e 100644 --- a/emitter/otlp/src/lib.rs +++ b/emitter/otlp/src/lib.rs @@ -36,10 +36,10 @@ Add `emit` and `emit_otlp` to your `Cargo.toml`: ```toml [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" [dependencies.emit_otlp] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" ``` Initialize `emit` at the start of your `main.rs` using an OTLP emitter: diff --git a/emitter/term/Cargo.toml b/emitter/term/Cargo.toml index acb248b..73b2594 100644 --- a/emitter/term/Cargo.toml +++ b/emitter/term/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_term" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -11,7 +11,7 @@ categories = ["development-tools::debugging"] edition = "2021" [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" default-features = false features = ["std", "sval"] @@ -30,6 +30,6 @@ features = ["local-offset"] version = "1" [dev-dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../../" features = ["implicit_rt"] diff --git a/emitter/term/README.md b/emitter/term/README.md index 5aea6be..9fd7dd0 100644 --- a/emitter/term/README.md +++ b/emitter/term/README.md @@ -2,7 +2,7 @@ [![term](https://github.com/KodrAus/emit/actions/workflows/term.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/term.yml) -[Current docs](https://docs.rs/emit_term/0.11.0-alpha.1/emit_term/index.html) +[Current docs](https://docs.rs/emit_term/0.11.0-alpha.2/emit_term/index.html) Emit diagnostic events to the console. diff --git a/emitter/term/src/lib.rs b/emitter/term/src/lib.rs index 7a75aa5..8116422 100644 --- a/emitter/term/src/lib.rs +++ b/emitter/term/src/lib.rs @@ -9,10 +9,10 @@ Add `emit` and `emit_term` to your `Cargo.toml`: ```toml [dependencies.emit] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" [dependencies.emit_term] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" ``` Initialize `emit` using `emit_term`: diff --git a/examples/common_patterns/Cargo.toml b/examples/common_patterns/Cargo.toml index 5af7c06..fac9141 100644 --- a/examples/common_patterns/Cargo.toml +++ b/examples/common_patterns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_example_common_patterns" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] edition = "2021" publish = false diff --git a/examples/opentelemetry/direct_otlp/Cargo.toml b/examples/opentelemetry/direct_otlp/Cargo.toml index b8e135e..24073fe 100644 --- a/examples/opentelemetry/direct_otlp/Cargo.toml +++ b/examples/opentelemetry/direct_otlp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_exmaple_opentelemetry_direct_otlp" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] edition = "2021" publish = false diff --git a/examples/opentelemetry/via_sdk/Cargo.toml b/examples/opentelemetry/via_sdk/Cargo.toml index bcb1bc6..dbb7fea 100644 --- a/examples/opentelemetry/via_sdk/Cargo.toml +++ b/examples/opentelemetry/via_sdk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_example_opentelemetry_via_sdk" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] edition = "2021" publish = false diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 6f0d3ed..e623029 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emit_macros" -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" authors = ["emit contributors"] license = "MIT OR Apache-2.0" readme = "README.md" @@ -34,7 +34,7 @@ version = "2" features = ["full", "extra-traits", "visit-mut"] [dependencies.emit_core] -version = "0.11.0-alpha.1" +version = "0.11.0-alpha.2" path = "../core" [dependencies.fv-template] diff --git a/macros/README.md b/macros/README.md index 83a2cf7..751886c 100644 --- a/macros/README.md +++ b/macros/README.md @@ -2,7 +2,7 @@ [![macros](https://github.com/KodrAus/emit/actions/workflows/macros.yml/badge.svg)](https://github.com/KodrAus/emit/actions/workflows/macros.yml) -[Current docs](https://docs.rs/emit_macros/0.11.0-alpha.1/emit_macros/index.html) +[Current docs](https://docs.rs/emit_macros/0.11.0-alpha.2/emit_macros/index.html) Implementation details for `emit!` macros. diff --git a/src/lib.rs b/src/lib.rs index 1c7d234..f9715e2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,9 +34,9 @@ fn main() { In real applications, you'll want to use a more sophisticated emitter, such as: -- [`emit_term`](https://docs.rs/emit_term/0.11.0-alpha.1/emit_term/index.html): Emit diagnostics to the console. -- [`emit_file`](https://docs.rs/emit_file/0.11.0-alpha.1/emit_file/index.html): Emit diagnostics to a set of rolling files. -- [`emit_otlp`](https://docs.rs/emit_otlp/0.11.0-alpha.1/emit_otlp/index.html): Emit diagnostics to a remote collector via OpenTelemetry Protocol. +- [`emit_term`](https://docs.rs/emit_term/0.11.0-alpha.2/emit_term/index.html): Emit diagnostics to the console. +- [`emit_file`](https://docs.rs/emit_file/0.11.0-alpha.2/emit_file/index.html): Emit diagnostics to a set of rolling files. +- [`emit_otlp`](https://docs.rs/emit_otlp/0.11.0-alpha.2/emit_otlp/index.html): Emit diagnostics to a remote collector via OpenTelemetry Protocol. For more advanced setup options, see the [`mod@setup`] module.