Skip to content

Conversation

@hds
Copy link
Contributor

@hds hds commented Feb 8, 2023

Motivation

There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

Solution

There are some test utils in the tracing-mock crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple tracing-* crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate tracing-test
crate, which should never be published to crates.io.

Refs: #539

@hds hds requested review from a team, davidbarsky and hawkw as code owners February 8, 2023 22:27
There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.
@hds hds force-pushed the hds/tracing-test branch from 23e8b73 to d184fa8 Compare February 9, 2023 07:38
@hds hds merged commit 91ca0e0 into master Nov 7, 2023
@hds hds deleted the hds/tracing-test branch November 7, 2023 10:36
hds added a commit that referenced this pull request Nov 7, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <[email protected]>
hds added a commit that referenced this pull request Nov 7, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <[email protected]>
hds added a commit that referenced this pull request Nov 20, 2024
There has been interest around publishing tracing-mock to crates.io
for some time. In order to make this possible, it needs to be cleaned up.

There are some test utils in the `tracing-mock` crate which wouldn't
make sense to publish. They provide test futures that are needed in
multiple `tracing-*` crates, but would likely not be needed outside that
context.

This change moves that functionality into a separate `tracing-test`
crate, which should never be published to crates.io.

Refs: #539

Co-authored-by: David Barsky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants