diff --git a/Cargo.toml b/Cargo.toml index 94bf3b91..98bdc0ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,6 +37,12 @@ wws-project = { workspace = true } reqwest = { version = "0.11", features = ["blocking"] } [features] +default = ["all"] +all = ["wws_config", "wws_router", "wws_server"] +wws_config = [] +wws_router = [] +wws_server = [] + vendored-openssl = ["wws-project/vendored-openssl"] [workspace] diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 00000000..c604d42f --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,9 @@ +// Copyright 2023 VMware, Inc. +// SPDX-License-Identifier: Apache-2.0 + +#[cfg(feature = "wws_config")] +pub use wws_config; +#[cfg(feature = "wws_router")] +pub use wws_router; +#[cfg(feature = "wws_server")] +pub use wws_server;