-
Notifications
You must be signed in to change notification settings - Fork 365
Lambda with Async/Await #111
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
f914c3f
Remove synchronous lambda
5e66648
use custom proptest attribute; Err -> Error
96ea124
version bump
ae003fd
Fix failing ui tests
5869b52
remove better-panic dev dependency
2d5b168
remove publicly exported `Error` type alias.
abdf54a
fix silly type error
a564dac
Language/ecosystem updates.
b7eb844
Remove #![feature(async_await)]
024730f
update to latest syn + remove proptest dependency
12a1050
rename generics
8233a68
errors + external proptest dep
d31200d
dedicated request types
044caf5
simplify a bit
davidbarsky 4b507c9
Update deps; remove flaky UI tests.
4d21c00
WIP
2447e4e
more WIP changes
a57f2d1
test expected endpoints
7a34cc2
it "works"
davidbarsky 4b9a2e8
task-local context, baby
davidbarsky ee837cb
simulated endpoints
davidbarsky 4a08c58
fix doc tests; handle paths correctly; run everything in tasks
davidbarsky b1e2570
remove unneeded dep
davidbarsky 9528a7b
re-introduce @AnderEnder ci changes
davidbarsky 5eb6954
remove double-serialization
davidbarsky b890cf4
remove travis
davidbarsky 77c0b95
Use default HTTP scheme for endpoint like "127.0.0.1:9001" (#188)
skorobkov 1b95ac1
test lambda function end-to-end
davidbarsky 8fed758
lol, bye vscode
davidbarsky 2d37c34
fix lambda-http deps (#189)
skorobkov 603315a
fix error bounds
davidbarsky e691c0e
update dep; use tokio's task-local for ctx.
6536257
wip; added `race` macro ; started `Incoming` stream macro.
006a275
handle routing better
davidbarsky d252d04
Merge branch 'master' into async-await
davidbarsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
dedicated request types
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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,4 +1,5 @@ | ||
edition = "2018" | ||
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#merge_imports | ||
merge_imports = true | ||
# merge_imports = true | ||
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#max_width | ||
max_width = 120 | ||
# max_width = 120 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Didn't know this was a thing but heads up, rustfmt picks up the edition from your crate if invoked via cargo so you might not need this
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.
Yep, it normally should, but I think rust-analyzer didn't pick it up, but I think that was fixed.