Skip to main content

asimov_server/
lib.rs

1// This is free and unencumbered software released into the public domain.
2
3//#![no_std]
4#![forbid(unsafe_code)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7extern crate alloc;
8
9#[cfg(feature = "std")]
10extern crate std;
11
12pub use tokio::{net::ToSocketAddrs, task::JoinHandle};
13pub use tokio_util::sync::CancellationToken;
14
15#[cfg(feature = "http")]
16pub mod http;
17
18#[cfg(feature = "persistence")]
19pub mod persistence;
20
21#[cfg(feature = "mdns")]
22pub mod mdns;
23
24#[cfg(feature = "ssdp")]
25pub mod ssdp;