Skip to content

Commit

Permalink
[#195] tls feature 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
myyrakle committed Dec 20, 2024
1 parent 663bce9 commit dc5a520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions rupring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ signal-hook = "0.3.17"
[features]
default = []

full = ["aws-lambda"]
aws-lambda = []
full = ["aws-lambda", "tls"]
aws-lambda = []
tls = []
2 changes: 1 addition & 1 deletion rupring/src/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mod parse;

#[cfg(feature = "aws-lambda")]
use bootings::aws_lambda::LambdaRequestEvent;

use hyper_util::rt::TokioExecutor;
use tokio::time::error::Elapsed;
use tokio::time::Instant;
Expand All @@ -20,7 +21,6 @@ pub(crate) mod route;
use std::collections::HashMap;
use std::convert::Infallible;
use std::error::Error;

use std::net::SocketAddr;
use std::sync::atomic::AtomicBool;
use std::sync::atomic::AtomicU64;
Expand Down

0 comments on commit dc5a520

Please sign in to comment.