tikv / client-rust

Rust Client for TiKV.
Apache License 2.0
389 stars 131 forks source link

refactor: Make prometheus features `push` and `process` optional to get rid of openssl #433

Closed Xuanwo closed 1 year ago

Xuanwo commented 1 year ago

This PR fix https://github.com/tikv/client-rust/issues/407 in a compatible way:

- Users enable default feature still enables prometheus/process. - Users disable default feature can enable feature prometheus based on their needs.

prometheus is so deep in the tikv-client's code, we can't remove it entirely. This PR changes it goal to make push and process optional.