Expose WebStack for external wrapper support in downstream crates (#542)

* add public ServiceConfig::register constructor to support external configuration (#250)

* fix: doctest ServiceConfig::register() error (#250)

* add unit testing for ServiceConfig::register()

* replace pub(crate) to pub in ServiceConfig::new() (#250)

* replace pub to pub(crate) for ServiceConfig::new() and add pub for mod ntex::web::stack instead

* remove unsed DefaultError import in config.rs tests

---------

Co-authored-by: RuangyotN <ruangyotn@skyller.co>
This commit is contained in:
Ruangyot Nanchiang 2025-03-28 04:12:34 +07:00 committed by GitHub
parent b2915f4868
commit 728ab919a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ mod route;
mod scope;
mod server;
mod service;
mod stack;
pub mod stack;
pub mod test;
pub mod types;
mod util;