-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: split connection node from common for later endpoint
Closes #99
- Loading branch information
Showing
30 changed files
with
260 additions
and
234 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,70 +1,5 @@ | ||
[package] | ||
name = "autopush" | ||
version = "1.53.0" | ||
authors = [ | ||
"Ben Bangert <ben@groovie.org>", | ||
"JR Conlin <jrconlin@mozilla.com>", | ||
"Alex Crichton <alex@alexcrichton.com>", | ||
"Phil Jenvey <pjenvey@underboss.org>", | ||
[workspace] | ||
members = [ | ||
"autopush-common", | ||
"autopush", | ||
] | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "autopush" | ||
|
||
[[bin]] | ||
name = "autopush_rs" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
base64 = "0.10.0" | ||
bytes = "0.4.11" | ||
cadence = "0.16.0" | ||
chan-signal = "0.3.2" | ||
chrono = "0.4.6" | ||
config = "0.9.2" | ||
docopt = "1.0.2" | ||
env_logger = { version = "0.6.0", default-features = false } | ||
error-chain = "0.12.0" | ||
fernet = "0.1.0" | ||
futures = "0.1.25" | ||
futures-backoff = "0.1.0" | ||
hex = "0.3.2" | ||
httparse = "1.3.3" | ||
# XXX: pin to hyper 0.11 for now: 0.12 has many changes.. | ||
hyper = "0.11.27" | ||
lazy_static = "1.2.0" | ||
libc = "0.2.46" | ||
log = { version = "0.4.6", features = ["max_level_info", "release_max_level_info"] } | ||
matches = "0.1.8" | ||
mozsvc-common = "0.1.0" | ||
openssl = "0.10.16" | ||
rand = "0.6.3" | ||
regex = "1.1.0" | ||
reqwest = "0.9.5" | ||
rusoto_core = "0.36.0" | ||
rusoto_credential = "0.15.0" | ||
rusoto_dynamodb = "0.36.0" | ||
sentry = { version = "0.13.0", features = ["with_error_chain"] } | ||
serde = "1.0.84" | ||
serde_derive = "1.0.84" | ||
serde_dynamodb = { git = "https://github.com/mockersf/serde_dynamodb", rev = "240974d591466c4f9a0831162a28d690f2f6e51a" } | ||
serde_json = "1.0.34" | ||
slog = { version = "2.4.1", features = ["max_level_trace", "release_max_level_info"] } | ||
slog-async = "2.3.0" | ||
slog-term = "2.4.0" | ||
slog-mozlog-json = "0.1.0" | ||
slog-scope = "4.1.1" | ||
slog-stdlog = "3.0.2" | ||
# state_machine_future = { version = "0.1.6", features = ["debug_code_generation"] } | ||
state_machine_future = "0.2.0" | ||
time = "0.1.41" | ||
tokio-core = "0.1.17" | ||
tokio-io = "0.1.10" | ||
tokio-openssl = "0.3.0" | ||
tokio-service = "0.1.0" | ||
tokio-tungstenite = { version = "0.6.0", default-features = false } | ||
tungstenite = { version = "0.6.1", default-features = false } | ||
uuid = { version = "0.7.1", features = ["serde", "v4"] } | ||
# XXX: pin woothee until >= 0.8.1 | ||
woothee = "0.7.3" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[package] | ||
name = "autopush_common" | ||
version = "1.0.0" | ||
authors = [ | ||
"Ben Bangert <ben@groovie.org>", | ||
"JR Conlin <jrconlin@mozilla.com>", | ||
"Alex Crichton <alex@alexcrichton.com>", | ||
"Phil Jenvey <pjenvey@underboss.org>", | ||
] | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "autopush_common" | ||
|
||
[dependencies] | ||
cadence = "0.16.0" | ||
chrono = "0.4.6" | ||
config = "0.9.2" | ||
error-chain = "0.12.0" | ||
futures = "0.1.25" | ||
futures-backoff = "0.1.0" | ||
httparse = "1.3.3" | ||
# XXX: pin to hyper 0.11 for now: 0.12 has many changes.. | ||
hyper = "0.11.27" | ||
lazy_static = "1.2.0" | ||
mozsvc-common = "0.1.0" | ||
rand = "0.6.3" | ||
regex = "1.1.0" | ||
reqwest = "0.9.5" | ||
rusoto_core = "0.36.0" | ||
rusoto_credential = "0.15.0" | ||
rusoto_dynamodb = "0.36.0" | ||
sentry = { version = "0.13.0", features = ["with_error_chain"] } | ||
serde = "1.0.84" | ||
serde_derive = "1.0.84" | ||
serde_dynamodb = "0.2.1" | ||
serde_json = "1.0.34" | ||
slog = { version = "2.4.1", features = ["max_level_trace", "release_max_level_info"] } | ||
slog-async = "2.3.0" | ||
slog-term = "2.4.0" | ||
slog-mozlog-json = "0.1.0" | ||
slog-scope = "4.1.1" | ||
slog-stdlog = "3.0.2" | ||
tokio-core = "0.1.17" | ||
tungstenite = { version = "0.6.1", default-features = false } | ||
uuid = { version = "0.7.1", features = ["serde", "v4"] } | ||
# XXX: pin woothee until >= 0.8.1 | ||
woothee = "0.7.3" |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![recursion_limit = "1024"] | ||
|
||
#[macro_use] | ||
extern crate error_chain; | ||
#[macro_use] | ||
extern crate slog; | ||
#[macro_use] | ||
extern crate slog_scope; | ||
|
||
#[macro_use] | ||
pub mod db; | ||
pub mod errors; | ||
pub mod logging; | ||
pub mod protocol; | ||
#[macro_use] | ||
pub mod util; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[package] | ||
name = "autopush" | ||
version = "1.53.0" | ||
authors = [ | ||
"Ben Bangert <ben@groovie.org>", | ||
"JR Conlin <jrconlin@mozilla.com>", | ||
"Alex Crichton <alex@alexcrichton.com>", | ||
"Phil Jenvey <pjenvey@underboss.org>", | ||
] | ||
edition = "2018" | ||
|
||
[[bin]] | ||
name = "autopush_rs" | ||
path = "src/main.rs" | ||
|
||
[dependencies] | ||
autopush_common = { path = "../autopush-common" } | ||
base64 = "0.10.0" | ||
bytes = "0.4.11" | ||
cadence = "0.16.0" | ||
chan-signal = "0.3.2" | ||
config = "0.9.2" | ||
docopt = "1.0.2" | ||
error-chain = "0.12.0" | ||
fernet = "0.1.0" | ||
futures = "0.1.25" | ||
hex = "0.3.2" | ||
httparse = "1.3.3" | ||
# XXX: pin to hyper 0.11 for now: 0.12 has many changes.. | ||
hyper = "0.11.27" | ||
lazy_static = "1.2.0" | ||
mozsvc-common = "0.1.0" | ||
openssl = "0.10.16" | ||
reqwest = "0.9.5" | ||
rusoto_dynamodb = "0.36.0" | ||
sentry = { version = "0.13.0", features = ["with_error_chain"] } | ||
serde = "1.0.84" | ||
serde_derive = "1.0.84" | ||
serde_dynamodb = "0.2.1" | ||
serde_json = "1.0.34" | ||
slog = { version = "2.4.1", features = ["max_level_trace", "release_max_level_info"] } | ||
slog-async = "2.3.0" | ||
slog-term = "2.4.0" | ||
slog-mozlog-json = "0.1.0" | ||
slog-scope = "4.1.1" | ||
# state_machine_future = { version = "0.1.6", features = ["debug_code_generation"] } | ||
state_machine_future = "0.2.0" | ||
time = "0.1.41" | ||
tokio-core = "0.1.17" | ||
tokio-io = "0.1.10" | ||
tokio-openssl = "0.3.0" | ||
tokio-service = "0.1.0" | ||
tokio-tungstenite = { version = "0.6.0", default-features = false } | ||
tungstenite = { version = "0.6.1", default-features = false } | ||
uuid = { version = "0.7.1", features = ["serde", "v4"] } | ||
# XXX: pin woothee until >= 0.8.1 | ||
woothee = "0.7.3" |
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
File renamed without changes.
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.