Commit Graph

5 Commits (0c9570889bd63fc345906ca15921aef7101c1634)

Author SHA1 Message Date
Dom Dwyer 3a8d234b1c
build: optional tokio_unstable support
This makes using the tokio_unstable feature optional - the build
configuration defines what is enabled, rather than the other way around.

By default, and for prod builds and users who have not set a RUSTFLAGS,
the tokio_unstable is enabled and this is leveraged to provide the
metrics exposed by the flag. For builds where tokio_unstable is not
enabled, these metrics are not included, without causing a compilation
error.

CI will against the flag-enabled/prod code by virtue of being the
default.
2023-07-03 15:28:59 +02:00
Dom Dwyer ea4aa9352f
chore: remove build-time tokio-unstable cfg check
This is incompatible with envs that set RUSTFLAGS (by design), however
this is a bit of a over step - people should be able to configure their
env!
2023-07-03 15:18:56 +02:00
Marco Neumann b10cbcc704
chore: detect when users unset `tokio_unstable` (#8133)
Close #8126.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-07-03 10:22:50 +00:00
dependabot[bot] 9381c348ae
chore(deps): Bump tokio from 1.29.0 to 1.29.1 (#8117)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-30 09:25:57 +00:00
Marco Neumann 9874b283b7
feat: tokio metrics bridge (#8091) 2023-06-29 08:43:57 +00:00