-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New compiler fetcher #41
Conversation
1e3caef
to
34ae330
Compare
verification/src/main.rs
Outdated
use clap::Parser; | ||
use verification::{run_http_server, Args, Config}; | ||
|
||
#[tokio::main] | ||
async fn main() -> std::io::Result<()> { | ||
env_logger::init(); | ||
let config = Config::parse().expect("Failed to parse config"); | ||
let args = Args::parse(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: we may define Args::new
constructor which calls Args::parse
inside. That way we would not need to import clap::Parser
anywhere outside of config.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5dc4612
to
f76ab35
Compare
4a01333
to
d57be13
Compare
No description provided.