-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving from 0.3.7 -> 1.9.0 was a big change, and introduced some runtime panics related to unanticipated drops. Seems like that was caused by the mix-and-match sync/async mess, so tried to remove the most explicit "blocking" calls and ported most functions to async. Feels like I went overboard, since the "new" constructors definitely should be blocking, but things are working now. Was able to drop dependency on custom ctrl+c handling, since apparently tokio has that built in, as long as everything's async.
- Loading branch information
Showing
8 changed files
with
118 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "innisfree" | ||
version = "0.2.8-alpha.0" | ||
version = "0.2.8-alpha.1" | ||
authors = ["Conor Schaefer <[email protected]>"] | ||
edition = "2018" | ||
description = "Exposes local services on public IPv4 address, via cloud server." | ||
|
@@ -13,20 +13,19 @@ keywords = ["self-hosting", "wireguard"] | |
|
||
[dependencies] | ||
clap = "3.0.0-beta.2" | ||
ctrlc = { version = "3.0", features = ["termination"] } | ||
custom_error = "~1.9" | ||
env_logger = "~0.9" | ||
futures = "0.3" | ||
home = "~0.5" | ||
log = "~0.4" | ||
rand = "~0.8" | ||
reqwest = { version = "0.11", features = ["blocking", "json", "rustls"] } | ||
reqwest = { version = "~0.11", features = ["json", "rustls"] } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0.39" | ||
serde_yaml = "0.8.17" | ||
tempfile = "3" | ||
tera = "1" | ||
tokio = { version = "~1.8", features = [ "io-util", "net", "rt-multi-thread", "macros" ] } | ||
tokio = { version = "~1.9", features = [ "io-util", "macros", "net", "rt-multi-thread", "signal"] } | ||
|
||
[package.metadata.deb] | ||
maintainer-scripts = "debian/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.