#![deny(missing_docs)]
#![deny(clippy::all)]
#![deny(clippy::pedantic)]
#![deny(clippy::nursery)]
#![deny(clippy::cargo)]
#![forbid(unsafe_code)]
#![allow(clippy::needless_pass_by_value)]
#![allow(clippy::module_name_repetitions)]
#![allow(clippy::items_after_statements)]
#![allow(clippy::multiple_crate_versions)]
#![allow(clippy::unused_async)]
#![doc = include_str!("../README.md")]
pub mod contract;
pub mod graphql;
pub mod server;
use graphql::QueryRoot;
use server::start_server;
pub const ABI: &[u8; 8374] = include_bytes!("./erc721_abi.json");
pub fn main() -> std::io::Result<()> {
dotenv::dotenv().ok();
let port = std::env::var("PORT").unwrap_or_else(|_| 8080.to_string());
start_server(port)?;
Ok(())
}