Skip to content

Commit

Permalink
refactor(server): re-order code
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane authored Jan 29, 2025
1 parent ecc4dc8 commit f94f456
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
mod message;
mod sent;
mod server;
mod stdio;

use crate::server::Server;
use std::env;
use tracing::{event, Level};
use tracing_subscriber::prelude::*;

mod message;
mod sent;
mod server;
mod stdio;

fn main() -> anyhow::Result<()> {
if env::args().any(|arg| arg == "-v" || arg == "-V" || arg == "--version") {
println!("wat_server v{}", env!("CARGO_PKG_VERSION"));
Expand Down

0 comments on commit f94f456

Please sign in to comment.