Don't mention tokio_uring
All checks were successful
/ tests (push) Successful in 2m51s
/ check (aarch64-unknown-linux-musl) (push) Successful in 2m44s
/ check (x86_64-unknown-linux-musl) (push) Successful in 2m5s
/ clippy (push) Successful in 2m56s
/ check (armv7-unknown-linux-musleabihf) (push) Successful in 2m38s

This commit is contained in:
asonix 2024-03-10 23:02:03 -05:00
parent 7021c50156
commit d8d1ce1634
2 changed files with 4 additions and 4 deletions

View file

@ -1888,12 +1888,12 @@ impl PictRsConfiguration {
/// Run the pict-rs application
///
/// This must be called from within a tokio `LocalSet`, which is created by default for
/// actix-rt runtimes, and by tokio_uring
/// actix-rt runtimes
///
/// Example:
/// ```rust,ignore
/// ```rust
/// fn main() -> color_eyre::Result<()> {
/// tokio_uring::start(async move {
/// actix_web::rt::System::new().block_on(async move {
/// let pict_rs_server = pict_rs::ConfigSource::memory(serde_json::json!({
/// "repo": {
/// "type": "sled",

View file

@ -1,6 +1,6 @@
#[cfg(feature = "io-uring")]
fn main() -> color_eyre::Result<()> {
tokio_uring::start(async move {
actix_web::rt::System::new().block_on(async move {
pict_rs::PictRsConfiguration::build_default()?
.install_tracing()?
.install_metrics()?