Skip to content

Advanced error handling#35

Open
Michael-F-Bryan wants to merge 3 commits into
masterfrom
advanced-error-handling
Open

Advanced error handling#35
Michael-F-Bryan wants to merge 3 commits into
masterfrom
advanced-error-handling

Conversation

@Michael-F-Bryan
Copy link
Copy Markdown
Owner

(fixes #12)

Comment thread Cargo.toml
serde_json = "1.0"
structopt = "0.3"
tokio = "0.2.20"
lazy_static = "1.4.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend using once_cell crate, because it is going to be a standard way to handle lazy initialization of static variables. By "standard" I mean literally standard, this crate is already exposed as part of std, though unstable: rust-lang/rust#74465

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configurable HTTP Error Handling

2 participants