mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
aquatic_common: add feature gated fn create_rustls_config
This commit is contained in:
parent
07bb75c298
commit
e790727bc0
3 changed files with 43 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ name = "aquatic_common"
|
|||
|
||||
[features]
|
||||
cpu-pinning = ["hwloc", "libc"]
|
||||
rustls-config = ["rustls", "rustls-pemfile"]
|
||||
|
||||
[dependencies]
|
||||
aquatic_toml_config = "0.2.0"
|
||||
|
|
@ -30,4 +31,8 @@ serde = { version = "1", features = ["derive"] }
|
|||
|
||||
# cpu-pinning
|
||||
hwloc = { version = "0.5", optional = true }
|
||||
libc = { version = "0.2", optional = true }
|
||||
libc = { version = "0.2", optional = true }
|
||||
|
||||
# rustls-config
|
||||
rustls = { version = "0.20", optional = true }
|
||||
rustls-pemfile = { version = "0.3", optional = true }
|
||||
Loading…
Add table
Add a link
Reference in a new issue