-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from AaronErhardt/update-deps
Update dependencies
- Loading branch information
Showing
5 changed files
with
160 additions
and
131 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,39 @@ | ||
[package] | ||
name = "async-mongodb-session" | ||
version = "2.1.0" | ||
version = "3.0.0" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/yoshuawuyts/async-mongodb-session" | ||
documentation = "https://docs.rs/async-mongodb-session" | ||
description = "An async-session implementation for MongoDB" | ||
readme = "README.md" | ||
edition = "2018" | ||
edition = "2021" | ||
keywords = ["tide", "web", "async", "session", "mongodb"] | ||
categories = [ | ||
"network-programming", | ||
"asynchronous", | ||
"web-programming::http-server" | ||
"web-programming::http-server", | ||
] | ||
authors = [ | ||
"Yoshua Wuyts <yoshuawuyts@gmail.com>", | ||
"Irina Shestak <shestak.irina@gmail.com>", | ||
"Anton Whalley <anton@venshare.com>", | ||
"Javier Viola <pepoviola@gmail.com>" | ||
"Yoshua Wuyts <yoshuawuyts@gmail.com>", | ||
"Irina Shestak <shestak.irina@gmail.com>", | ||
"Anton Whalley <anton@venshare.com>", | ||
"Javier Viola <pepoviola@gmail.com>", | ||
"Aaron Erhardt <aaron.erhardt@t-online.de>", | ||
] | ||
|
||
[features] | ||
default = ["async-std-runtime"] | ||
async-std-runtime = ["mongodb/async-std-runtime"] | ||
tokio-runtime = ["mongodb/tokio-runtime"] | ||
|
||
[dependencies] | ||
mongodb = { version = "2.2.1", default-features = false, features = ["async-std-runtime", "bson-chrono-0_4"] } | ||
# can not go higher due to dev-dependencie "tide" which requires "async-session" in version 2.0.1 | ||
async-session = "2.0.1" | ||
async-session = "3" | ||
mongodb = { package = "mongodb", version = "2.3", default-features = false, features = [ | ||
"bson-chrono-0_4", | ||
] } | ||
|
||
[dev-dependencies] | ||
async-std = { version = "1.11.0", features = ["attributes"] } | ||
rand = {version = "0.8.5"} | ||
lazy_static = "1.4.0" | ||
tide = "0.16" | ||
async-std = { version = "1.12", features = ["attributes"] } | ||
lazy_static = "1.4" | ||
rand = "0.8.5" | ||
tokio = { version = "1.20", features = ["rt"] } |
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,11 @@ | ||
[package] | ||
name = "tide" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
async-mongodb-session = { path = "../../" } | ||
tide = "0.17.0-beta.1" | ||
async-std = "1.10" |
3 changes: 0 additions & 3 deletions
3
examples/mongodb_session_store.rs → examples/tide/src/main.rs
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.