-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix cargo fmt loosen up clippy to warnings on examples snipe dev deps from core eliminate some clippy warnings for examples add publish false, and remove publish requirements rename tide-examples to just examples
- Loading branch information
1 parent
4a53890
commit d67ec8f
Showing
30 changed files
with
125 additions
and
91 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
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,46 @@ | ||
[package] | ||
authors = [ | ||
"Tide Developers", | ||
] | ||
description = "Tide web server examples" | ||
documentation = "https://docs.rs/tide" | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
name = "examples" | ||
readme = "README.md" | ||
repository = "https://github.com/rustasync/tide" | ||
version = "0.1.0" | ||
publish = false | ||
|
||
[dependencies] | ||
tide = { path = "../tide" } | ||
cookie = { version = "0.12", features = ["percent-encode"] } | ||
futures-preview = "0.3.0-alpha.16" | ||
fnv = "1.0.6" | ||
http = "0.1" | ||
http-service = "0.2.0" | ||
pin-utils = "0.1.0-alpha.4" | ||
route-recognizer = "0.1.12" | ||
serde_json = "1.0.39" | ||
slog = "2.4.1" | ||
slog-async = "2.3.0" | ||
slog-term = "2.4.0" | ||
typemap = "0.3.3" | ||
serde_urlencoded = "0.5.5" | ||
basic-cookies = "0.1.3" | ||
bytes = "0.4.12" | ||
futures-fs = "0.0.5" | ||
futures-util-preview = { version = "0.3.0-alpha.16", features = ["compat"] } | ||
http-service-mock = "0.2.0" | ||
juniper = "0.11.1" | ||
mime = "0.3.13" | ||
mime_guess = "2.0.0-alpha.6" | ||
percent-encoding = "1.0.1" | ||
serde = { version = "1.0.91", features = ["derive"] } | ||
structopt = "0.2.15" | ||
|
||
[dependencies.multipart] | ||
default-features = false | ||
features = ["server"] | ||
version = "0.16.1" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#![feature(async_await)] | ||
#![warn(clippy::all)] | ||
#![allow(dead_code)] | ||
|
||
mod body_types; | ||
mod catch_all; | ||
mod cookies; | ||
mod default_headers; | ||
mod graphql; | ||
mod hello; | ||
mod messages; | ||
mod multipart_form; | ||
mod staticfile; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[package] | ||
authors = [ | ||
"Aaron Turon <aturon@mozilla.com>", | ||
"Yoshua Wuyts <yoshuawuyts@gmail.com>", | ||
] | ||
description = "WIP modular web framework" | ||
documentation = "https://docs.rs/tide" | ||
keywords = ["tide", "http", "web", "framework", "async"] | ||
categories = [ | ||
"network-programming", | ||
"asynchronous", | ||
"web-programming::http-server" | ||
] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
name = "tide" | ||
readme = "README.md" | ||
repository = "https://github.com/rustasync/tide" | ||
version = "0.2.0" | ||
|
||
[dependencies] | ||
cookie = { version = "0.12", features = ["percent-encode"] } | ||
futures-preview = "0.3.0-alpha.16" | ||
fnv = "1.0.6" | ||
http = "0.1" | ||
http-service = "0.2.0" | ||
pin-utils = "0.1.0-alpha.4" | ||
route-recognizer = "0.1.12" | ||
serde = "1.0.91" | ||
serde_derive = "1.0.91" | ||
serde_json = "1.0.39" | ||
slog = "2.4.1" | ||
slog-async = "2.3.0" | ||
slog-term = "2.4.0" | ||
typemap = "0.3.3" | ||
serde_urlencoded = "0.5.5" | ||
|
||
[dependencies.http-service-hyper] | ||
optional = true | ||
version = "0.2.0" | ||
|
||
[dependencies.multipart] | ||
default-features = false | ||
features = ["server"] | ||
version = "0.16.1" | ||
|
||
[features] | ||
default = ["hyper"] | ||
hyper = ["http-service-hyper"] | ||
|
||
[dev-dependencies] | ||
http-service-mock = "0.2.0" |
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.
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.