Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
rexport hala_qtun in hala_rs crate
Browse files Browse the repository at this point in the history
  • Loading branch information
yayanyang committed Feb 19, 2024
1 parent f970810 commit a89e7eb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ hala-lockfree = {path = "crates/lockfree", version = "^0.1"}
hala-ops = {path = "crates/ops", version = "^0.1"}
hala-pprof = {path = "crates/pprof", version = "^0.1"}
hala-pprof-derive = {path = "crates/pprof/derive", version = "^0.1"}
hala-qtun = {path = "crates/rproxy/qtun", version = "^0.1"}
hala-qtun = {path = "crates/rproxy/qtun", default-features = false, version = "^0.1"}
hala-quic = {path = "crates/net/quic", version = "^0.1"}
hala-rproxy = {path = "crates/rproxy/rproxy", version = "^0.1"}
hala-sync = {path = "crates/sync", version = "^0.1"}
Expand Down
2 changes: 1 addition & 1 deletion crates/rproxy/qtun/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ pub struct QuicTunnelConfig {
#[arg(long, default_value_t = 100)]
pub mux: u64,

/// Quic connection max idle timeout.
/// Quic connection max idle timeout, e.g., `10s`,`1m`
#[arg(long, value_parser = clap_parse_duration, default_value="5s")]
pub timeout: Duration,

Expand Down
4 changes: 4 additions & 0 deletions hala/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ hala-io = {workspace = true}
hala-lockfree = {workspace = true}
hala-ops = {workspace = true}
hala-pprof = {workspace = true}
hala-qtun = {workspace = true}
hala-quic = {workspace = true}
hala-sync = {workspace = true}
hala-tcp = {workspace = true}
Expand All @@ -30,6 +31,9 @@ pretty_env_logger = {workspace = true}
default = ["mio-driver", "futures-executor"]
futures-executor = ["hala-future/futures-executor"]
mio-driver = ["hala-io/mio-driver"]
qtun-app = ["hala-qtun/app"]
qtun-client = ["hala-qtun/client"]
qtun-server = ["hala-qtun/server"]

[[bench]]
harness = false
Expand Down
2 changes: 2 additions & 0 deletions hala/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ pub mod net {
pub use hala_sync as sync;

pub use hala_pprof as pprof;

pub use hala_qtun as qtun;

0 comments on commit a89e7eb

Please sign in to comment.