zpp-2022-rust-seastar / seastar-rs

Idiomatic Rust bindings to the Seastar framework
6 stars 3 forks source link

#[seastar::main] #12

Closed kfernandez31 closed 1 year ago

kfernandez31 commented 1 year ago

Added the #[seastar::main] macro as described in TODO that calls app_template::run under the hood, around the main function's contents. Right now it doesn't accept any arguments, but that is subject to change. Presumably, we'd like to pass the options that the Options struct represents as its arguments.