mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Use native tls as default tls backend, add features to use rustls or openssl instead
This commit is contained in:
parent
185b65fc9b
commit
8eda8df3f7
6 changed files with 103 additions and 56 deletions
|
|
@ -1,3 +1,11 @@
|
|||
#[cfg(not(any(
|
||||
feature = "rustls-tls",
|
||||
feature = "native-tls",
|
||||
feature = "openssl-tls",
|
||||
feature = "openssl-tls-static"
|
||||
)))]
|
||||
compile_error!("At least one tls feature must be activated");
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
crunchy_cli_core::cli_entrypoint().await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue