-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pelikan-net: make metrics opt-in (#130)
Changes the way metrics are included in pelikan-net, moving them behind a feature flag to make them opt-in.
- Loading branch information
Showing
18 changed files
with
194 additions
and
133 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "pelikan-net" | ||
description = "Pelikan project's networking abstractions for non-blocking event loops" | ||
authors = ["Brian Martin <[email protected]>"] | ||
version = "0.3.0" | ||
version = "0.4.0" | ||
|
||
edition = { workspace = true } | ||
homepage = { workspace = true } | ||
|
@@ -15,12 +15,12 @@ boring-sys = { workspace = true, optional = true } | |
foreign-types-shared_03 = { package = "foreign-types-shared", version = "0.3.1" } | ||
foreign-types-shared_01 = { package = "foreign-types-shared", version = "0.1.1" } | ||
libc = { workspace = true } | ||
metriken = { workspace = true } | ||
metriken = { workspace = true, optional = true } | ||
mio = { workspace = true, features = ["os-poll", "net"] } | ||
openssl = { workspace = true, optional = true } | ||
openssl-sys = { workspace = true, optional = true } | ||
|
||
[features] | ||
default = ["boringssl"] | ||
boringssl = ["boring", "boring-sys"] | ||
metrics = ["metriken"] | ||
openssl = ["dep:openssl", "openssl-sys", "openssl/vendored"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.