2023-11-15 12:05:07 +00:00
|
|
|
use fediwiki::error::MyResult;
|
|
|
|
use fediwiki::start;
|
2023-11-16 11:48:57 +00:00
|
|
|
use tracing::log::LevelFilter;
|
2023-11-14 23:16:51 +00:00
|
|
|
|
|
|
|
#[tokio::main]
|
2023-11-15 12:05:07 +00:00
|
|
|
pub async fn main() -> MyResult<()> {
|
2023-11-16 11:48:57 +00:00
|
|
|
env_logger::builder()
|
|
|
|
.filter_level(LevelFilter::Warn)
|
|
|
|
.filter_module("activitypub_federation", LevelFilter::Info)
|
|
|
|
.filter_module("fediwiki", LevelFilter::Info)
|
|
|
|
.init();
|
2023-11-15 12:05:07 +00:00
|
|
|
start("localhost:8131").await?;
|
2023-11-14 23:16:51 +00:00
|
|
|
Ok(())
|
2023-11-14 22:41:58 +00:00
|
|
|
}
|