use ed25519_dalek::SigningKey;
use sqlx::sqlite::SqlitePool;

pub mod config;
pub mod constants;
pub mod crypto;
pub mod db;
pub mod handlers;

#[derive(Clone)]
pub struct AppState {
  pub config: config::Config,
  pub db: SqlitePool,
  pub signing_key: SigningKey,
  pub stripe_client: stripe::Client,
}
