Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ documentation = "https://docs.rs/prometheus-client"
default = []
protobuf = ["dep:prost", "dep:prost-types", "dep:prost-build"]

# This feature provides additional interfaces for testing.
#
# NB: Interfaces gated by this feature flag are not subject to stability
# guarantees and may be changed or removed in patch releases.
test-util = []

[workspace]
members = ["derive-encode"]

Expand Down
6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
//! ```
//! See [examples] directory for more.
//!
//! # Features
//!
//! The `test-util` gates additional interfaces, such as accessors, to facilitate integration and
//! unit testing of metrics. Note that interfaces gated by this feature flag are not subject to
//! stability guarantees and may be changed or removed in patch releases.
//!
//! [examples]: https://github.com/prometheus/client_rust/tree/master/examples
pub mod collector;
Expand Down
Loading