Skip to content

feat: gate mock support behind "mock" feature#118

Open
DaniPopes wants to merge 1 commit into
metrics-rs:mainfrom
DaniPopes:dani/mock-feature
Open

feat: gate mock support behind "mock" feature#118
DaniPopes wants to merge 1 commit into
metrics-rs:mainfrom
DaniPopes:dani/mock-feature

Conversation

@DaniPopes

Copy link
Copy Markdown

The CLOCK_OVERRIDE adds overhead to all Instant::now calls, and is unused if Clock::mock is unused. Add a feature to allow users to disable it.

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.

1 participant