pib-service 0.35.0

Politik im Blick service for serving public governmental information in OParl format, with some extra addon information
// SPDX-FileCopyrightText: Politik im Blick developers
// SPDX-FileCopyrightText: Wolfgang Silbermayr <wolfgang@silbermayr.at>
//
// SPDX-License-Identifier: AGPL-3.0-or-later OR EUPL-1.2

use pib_service::RunParameters;

const PROGRAM_NAME: &str = env!("CARGO_PKG_NAME");
const PROGRAM_VERSION: &str = env!("CARGO_PKG_VERSION");
const PROGRAM_WEBSITE: &str = env!("CARGO_PKG_HOMEPAGE");

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    pib_service::run(RunParameters {
        program_name: PROGRAM_NAME.to_string(),
        program_version: PROGRAM_VERSION.to_string(),
        program_website: PROGRAM_WEBSITE.parse().ok(),
        suffix: None,
    })
    .await
}