Skip to content

Commit

Permalink
prepare for 0.11.0-alpha.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jun 8, 2024
1 parent ddacb0d commit 5b3c427
Show file tree
Hide file tree
Showing 25 changed files with 51 additions and 51 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ members = [

[package]
name = "emit"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -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.2"
version = "0.11.0-alpha.3"
path = "macros"

[dependencies.emit_core]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "core"
default-features = false

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![all](https://github.com/emit-rs/emit/actions/workflows/all.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/all.yml)

[Current docs](https://docs.rs/emit/0.11.0-alpha.2/emit/index.html)
[Current docs](https://docs.rs/emit/0.11.0-alpha.3/emit/index.html)

## Structured diagnostics for Rust applications

Expand All @@ -14,10 +14,10 @@

```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"

[dependencies.emit_term]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```

```rust
Expand Down Expand Up @@ -47,4 +47,4 @@ This is alpha-level software. It implements a complete framework but has almost

## Getting started

See the `examples` directory and [`emit` documentation](https://docs.rs/emit/0.11.0-alpha.2/emit/index.html) to get started with `emit`.
See the `examples` directory and [`emit` documentation](https://docs.rs/emit/0.11.0-alpha.3/emit/index.html) to get started with `emit`.
4 changes: 2 additions & 2 deletions batcher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_batcher"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ edition = "2021"
features = ["tokio"]

[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../"
default-features = false

Expand Down
2 changes: 1 addition & 1 deletion batcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

[![batcher](https://github.com/emit-rs/emit/actions/workflows/batcher.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/batcher.yml)

[Current docs](https://docs.rs/emit_batcher/0.11.0-alpha.2/emit_batcher/index.html)
[Current docs](https://docs.rs/emit_batcher/0.11.0-alpha.3/emit_batcher/index.html)

Infrastructure for emitting diagnostic events in the background.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_core"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
8 changes: 4 additions & 4 deletions emitter/file/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_file"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -18,7 +18,7 @@ default = ["default_writer"]
default_writer = ["emit/sval", "sval_json"]

[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
default-features = false
features = ["std", "implicit_internal_rt"]
Expand All @@ -32,13 +32,13 @@ features = ["std"]
optional = true

[dependencies.emit_batcher]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../batcher"

[dependencies.rand]
version = "0.8"

[dev-dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["implicit_rt"]
2 changes: 1 addition & 1 deletion emitter/file/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

[![file](https://github.com/emit-rs/emit/actions/workflows/file.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/file.yml)

[Current docs](https://docs.rs/emit_file/0.11.0-alpha.2/emit_file/index.html)
[Current docs](https://docs.rs/emit_file/0.11.0-alpha.3/emit_file/index.html)

Emit diagnostic events to rolling files.
4 changes: 2 additions & 2 deletions emitter/file/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ Add `emit` and `emit_file` to your `Cargo.toml`:
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
[dependencies.emit_file]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```
Initialize `emit` using a rolling file set:
Expand Down
6 changes: 3 additions & 3 deletions emitter/opentelemetry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_opentelemetry"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -11,7 +11,7 @@ categories = ["development-tools::debugging"]
edition = "2021"

[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["std", "serde", "implicit_internal_rt"]
default-features = false
Expand All @@ -28,6 +28,6 @@ features = ["logs", "trace"]
version = "1"

[dev-dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["implicit_rt"]
2 changes: 1 addition & 1 deletion emitter/opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![opentelemetry](https://github.com/emit-rs/emit/actions/workflows/opentelemetry.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/opentelemetry.yml)

[Current docs](https://docs.rs/emit_opentelemetry/0.11.0-alpha.2/emit_opentelemetry/index.html)
[Current docs](https://docs.rs/emit_opentelemetry/0.11.0-alpha.3/emit_opentelemetry/index.html)

Integrate `emit` with the OpenTelemetry SDK.

Expand Down
6 changes: 3 additions & 3 deletions emitter/opentelemetry/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*!
Integrate `emit` with the OpenTelemetry SDK.
This library forwards diagnostic events from emit through the OpenTelemetry SDK as log records and spans. This library is for applications that already use the OpenTelemetry SDK. It's also intended for applications that need to unify multiple instrumentation libraries, like `emit`, `log`, and `tracing`, into a shared pipeline. If you'd just like to send `emit` diagnostics via OTLP to the OpenTelemetry Collector or other compatible service, then consider [`emit_otlp`](https://docs.rs/emit_otlp/0.11.0-alpha.2/emit_otlp/index.html).
This library forwards diagnostic events from emit through the OpenTelemetry SDK as log records and spans. This library is for applications that already use the OpenTelemetry SDK. It's also intended for applications that need to unify multiple instrumentation libraries, like `emit`, `log`, and `tracing`, into a shared pipeline. If you'd just like to send `emit` diagnostics via OTLP to the OpenTelemetry Collector or other compatible service, then consider [`emit_otlp`](https://docs.rs/emit_otlp/0.11.0-alpha.3/emit_otlp/index.html).
# Getting started
Configure OpenTelemetry as per its documentation, then add `emit` and `emit_opentelemetry` to your Cargo.toml:
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
[dependencies.emit_opentelemetry]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```
Initialize `emit` to send diagnostics to the OpenTelemetry SDK using [`new`]:
Expand Down
8 changes: 4 additions & 4 deletions emitter/otlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_otlp"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -16,13 +16,13 @@ gzip = ["flate2"]
tls = ["tokio-rustls", "rustls-native-certs"]

[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["std", "sval", "implicit_internal_rt"]
default-features = false

[dependencies.emit_batcher]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../batcher"
features = ["tokio"]

Expand Down Expand Up @@ -85,6 +85,6 @@ version = "1"
features = ["full"]

[dev-dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["implicit_rt"]
2 changes: 1 addition & 1 deletion emitter/otlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![otlp](https://github.com/emit-rs/emit/actions/workflows/otlp.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/otlp.yml)

[Current docs](https://docs.rs/emit_otlp/0.11.0-alpha.2/emit_otlp/index.html)
[Current docs](https://docs.rs/emit_otlp/0.11.0-alpha.3/emit_otlp/index.html)

Emit diagnostic events via the OpenTelemetry Protocol (OTLP).

Expand Down
2 changes: 1 addition & 1 deletion emitter/otlp/gen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit-otlp-gen"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
publish = false
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions emitter/otlp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
Emit diagnostic events via the OpenTelemetry Protocol (OTLP).
This library provides [`Otlp`], an [`emit::Emitter`] that sends export requests directly to some remote OTLP receiver. If you need to integrate [`emit`] with the OpenTelemetry SDK, see [`emit-opentelemetry`](https://docs.rs/emit_opentelemetry/0.11.0-alpha.2/emit_opentelemetry/index.html).
This library provides [`Otlp`], an [`emit::Emitter`] that sends export requests directly to some remote OTLP receiver. If you need to integrate [`emit`] with the OpenTelemetry SDK, see [`emit-opentelemetry`](https://docs.rs/emit_opentelemetry/0.11.0-alpha.3/emit_opentelemetry/index.html).
# How it works
Expand Down Expand Up @@ -36,10 +36,10 @@ Add `emit` and `emit_otlp` to your `Cargo.toml`:
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
[dependencies.emit_otlp]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```
Initialize `emit` at the start of your `main.rs` using an OTLP emitter:
Expand Down
6 changes: 3 additions & 3 deletions emitter/term/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_term"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand All @@ -11,7 +11,7 @@ categories = ["development-tools::debugging"]
edition = "2021"

[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
default-features = false
features = ["std", "sval"]
Expand All @@ -30,6 +30,6 @@ features = ["local-offset"]
version = "1"

[dev-dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../../"
features = ["implicit_rt"]
2 changes: 1 addition & 1 deletion emitter/term/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![term](https://github.com/emit-rs/emit/actions/workflows/term.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/term.yml)

[Current docs](https://docs.rs/emit_term/0.11.0-alpha.2/emit_term/index.html)
[Current docs](https://docs.rs/emit_term/0.11.0-alpha.3/emit_term/index.html)

Emit diagnostic events to the console.

Expand Down
4 changes: 2 additions & 2 deletions emitter/term/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Add `emit` and `emit_term` to your `Cargo.toml`:
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
[dependencies.emit_term]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```
Initialize `emit` using `emit_term`:
Expand Down
2 changes: 1 addition & 1 deletion examples/common_patterns/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_example_common_patterns"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/opentelemetry/direct_otlp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_exmaple_opentelemetry_direct_otlp"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
edition = "2021"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion examples/opentelemetry/via_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_example_opentelemetry_via_sdk"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
edition = "2021"
publish = false
Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "emit_macros"
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
authors = ["emit contributors"]
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down Expand Up @@ -34,7 +34,7 @@ version = "2"
features = ["full", "extra-traits", "visit-mut"]

[dependencies.emit_core]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
path = "../core"

[dependencies.fv-template]
Expand Down
2 changes: 1 addition & 1 deletion macros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![macros](https://github.com/emit-rs/emit/actions/workflows/macros.yml/badge.svg)](https://github.com/emit-rs/emit/actions/workflows/macros.yml)

[Current docs](https://docs.rs/emit_macros/0.11.0-alpha.2/emit_macros/index.html)
[Current docs](https://docs.rs/emit_macros/0.11.0-alpha.3/emit_macros/index.html)

Implementation details for `emit!` macros.

Expand Down
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To get started, add `emit` to your `Cargo.toml`:
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
```
## Configuring an emitter
Expand All @@ -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.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.
- [`emit_term`](https://docs.rs/emit_term/0.11.0-alpha.3/emit_term/index.html): Emit diagnostics to the console.
- [`emit_file`](https://docs.rs/emit_file/0.11.0-alpha.3/emit_file/index.html): Emit diagnostics to a set of rolling files.
- [`emit_otlp`](https://docs.rs/emit_otlp/0.11.0-alpha.3/emit_otlp/index.html): Emit diagnostics to a remote collector via OpenTelemetry Protocol.
For more advanced setup options, see the [`mod@setup`] module.
Expand Down
2 changes: 1 addition & 1 deletion src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can implement your own runtime, providing your own implementations of the am
```toml
[dependencies.emit]
version = "0.11.0-alpha.2"
version = "0.11.0-alpha.3"
default-features = false
features = ["std"]
```
Expand Down

0 comments on commit 5b3c427

Please sign in to comment.