Skip to content

Commit

Permalink
Release 1.3.29
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Apr 18, 2022
1 parent 1387060 commit 008679d
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 49 deletions.
34 changes: 8 additions & 26 deletions poem-dbsession/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem-dbsession"
version = "0.3.28"
version = "0.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "Session storage with database for Poem."
Expand All @@ -25,30 +25,12 @@ features = ["__sqlx-native-tls"]

[features]
default = []
sqlx-mysql-native-tls = [
"sqlx/mysql",
"sqlx/runtime-tokio-native-tls"
]
sqlx-mysql-rustls = [
"sqlx/mysql",
"sqlx/runtime-tokio-rustls"
]
sqlx-postgres-native-tls = [
"sqlx/postgres",
"sqlx/runtime-tokio-native-tls"
]
sqlx-postgres-rustls = [
"sqlx/postgres",
"sqlx/runtime-tokio-rustls"
]
sqlx-sqlite-native-tls = [
"sqlx/sqlite",
"sqlx/runtime-tokio-native-tls"
]
sqlx-sqlite-rustls = [
"sqlx/sqlite",
"sqlx/runtime-tokio-rustls"
]
sqlx-mysql-native-tls = ["sqlx/mysql", "sqlx/runtime-tokio-native-tls"]
sqlx-mysql-rustls = ["sqlx/mysql", "sqlx/runtime-tokio-rustls"]
sqlx-postgres-native-tls = ["sqlx/postgres", "sqlx/runtime-tokio-native-tls"]
sqlx-postgres-rustls = ["sqlx/postgres", "sqlx/runtime-tokio-rustls"]
sqlx-sqlite-native-tls = ["sqlx/sqlite", "sqlx/runtime-tokio-native-tls"]
sqlx-sqlite-rustls = ["sqlx/sqlite", "sqlx/runtime-tokio-rustls"]

# Don't use the following features, just for testing.
__sqlx-native-tls = [
Expand All @@ -63,7 +45,7 @@ __sqlx-rustls = [
]

[dependencies]
poem = { path = "../poem", version = "1.3.28", features = ["session"] }
poem = { path = "../poem", version = "1.3.29", features = ["session"] }

chrono = "0.4.19"
serde_json = "1.0.73"
Expand Down
2 changes: 1 addition & 1 deletion poem-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem-derive"
version = "1.3.28"
version = "1.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "Macros for poem"
Expand Down
4 changes: 2 additions & 2 deletions poem-lambda/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem-lambda"
version = "1.3.28"
version = "1.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "Poem for AWS Lambda"
Expand All @@ -17,7 +17,7 @@ categories = [
]

[dependencies]
poem = { path = "../poem", version = "1.3.28", default-features = false }
poem = { path = "../poem", version = "1.3.29", default-features = false }

lambda_http = { version = "0.5.1" }

Expand Down
2 changes: 1 addition & 1 deletion poem-openapi-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem-openapi-derive"
version = "1.3.28"
version = "1.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "Macros for poem-openapi"
Expand Down
18 changes: 10 additions & 8 deletions poem-openapi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem-openapi"
version = "1.3.28"
version = "1.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "OpenAPI support for Poem."
Expand All @@ -10,10 +10,7 @@ documentation = "https://docs.rs/poem/"
homepage = "https://github.com/poem-web/poem"
repository = "https://github.com/poem-web/poem"
keywords = ["http", "async", "openapi", "swagger"]
categories = [
"network-programming",
"asynchronous",
]
categories = ["network-programming", "asynchronous"]

[features]
swagger-ui = []
Expand All @@ -24,8 +21,13 @@ hostname = ["hostname-validator"]
static-files = ["poem/static-files"]

[dependencies]
poem-openapi-derive = { path = "../poem-openapi-derive", version = "1.3.28" }
poem = { path = "../poem", version = "1.3.28", features = ["multipart", "tempfile", "cookie", "sse"] }
poem-openapi-derive = { path = "../poem-openapi-derive", version = "1.3.29" }
poem = { path = "../poem", version = "1.3.29", features = [
"multipart",
"tempfile",
"cookie",
"sse",
] }

tokio = { version = "1.17.0", features = ["fs"] }
serde_json = "1.0.68"
Expand Down Expand Up @@ -53,7 +55,7 @@ rust_decimal = { version = "1.22.0", optional = true }

[dev-dependencies]
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
poem = { path = "../poem", version = "1.3.28", features = ["test"] }
poem = { path = "../poem", version = "1.3.29", features = ["test"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
62 changes: 51 additions & 11 deletions poem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "poem"
version = "1.3.28"
version = "1.3.29"
authors = ["sunli <[email protected]>"]
edition = "2021"
description = "Poem is a full-featured and easy-to-use web framework with the Rust programming language."
Expand Down Expand Up @@ -31,17 +31,37 @@ tower-compat = ["tokio/rt", "tower"]
cookie = ["libcookie", "chrono", "time"]
session = ["tokio/rt", "cookie", "rand", "priority-queue"]
redis-session = ["session", "redis"]
opentelemetry = ["libopentelemetry", "opentelemetry-http", "opentelemetry-semantic-conventions"]
opentelemetry = [
"libopentelemetry",
"opentelemetry-http",
"opentelemetry-semantic-conventions",
]
prometheus = ["libopentelemetry", "opentelemetry-prometheus", "libprometheus"]
tempfile = ["libtempfile", "tokio/fs"]
csrf = ["cookie", "base64", "libcsrf"]
test = ["sse", "sse-codec", "tokio-util/compat"]
i18n = ["fluent", "fluent-langneg", "fluent-syntax", "unic-langid", "intl-memoizer"]
acme = ["server", "hyper/client", "rustls", "ring", "hyper-rustls", "base64", "rcgen", "x509-parser", "chrono"]
i18n = [
"fluent",
"fluent-langneg",
"fluent-syntax",
"unic-langid",
"intl-memoizer",
]
acme = [
"server",
"hyper/client",
"rustls",
"ring",
"hyper-rustls",
"base64",
"rcgen",
"x509-parser",
"chrono",
]
embed = ["rust-embed", "hex", "mime_guess"]

[dependencies]
poem-derive = { path = "../poem-derive", version = "1.3.28" }
poem-derive = { path = "../poem-derive", version = "1.3.29" }

async-trait = "0.1.51"
bytes = "1.1.0"
Expand All @@ -68,21 +88,41 @@ multer = { version = "2.0.1", features = ["tokio"], optional = true }
tokio-tungstenite = { version = "0.17.1", optional = true }
tokio-rustls = { version = "0.23.2", optional = true }
rustls-pemfile = { version = "1.0.0", optional = true }
async-compression = { version = "0.3.8", optional = true, features = ["tokio", "gzip", "brotli", "deflate"] }
tower = { version = "0.4.8", optional = true, default-features = true, features = ["util", "buffer"] }
async-compression = { version = "0.3.8", optional = true, features = [
"tokio",
"gzip",
"brotli",
"deflate",
] }
tower = { version = "0.4.8", optional = true, default-features = true, features = [
"util",
"buffer",
] }
chrono = { version = "0.4.19", optional = true }
time = { version = "0.3", optional = true }
mime = { version = "0.3.16"}
mime = { version = "0.3.16" }
mime_guess = { version = "2.0.3", optional = true }
typed-headers = { version = "0.2.0", optional = true }
rand = { version = "0.8.4", optional = true }
redis = { version = "0.21.2", optional = true, features = ["aio", "tokio-comp", "connection-manager"] }
libcookie = { package = "cookie", version = "0.16", features = ["percent-encode", "private", "signed", "key-expansion", "secure"], optional = true }
redis = { version = "0.21.2", optional = true, features = [
"aio",
"tokio-comp",
"connection-manager",
] }
libcookie = { package = "cookie", version = "0.16", features = [
"percent-encode",
"private",
"signed",
"key-expansion",
"secure",
], optional = true }
opentelemetry-http = { version = "0.6.0", optional = true }
opentelemetry-semantic-conventions = { version = "0.9.0", optional = true }
opentelemetry-prometheus = { version = "0.10.0", optional = true }
libprometheus = { package = "prometheus", version = "0.13.0", optional = true }
libopentelemetry = { package = "opentelemetry", version = "0.17.0", features = ["metrics"], optional = true }
libopentelemetry = { package = "opentelemetry", version = "0.17.0", features = [
"metrics",
], optional = true }
libtempfile = { package = "tempfile", version = "3.2.0", optional = true }
priority-queue = { version = "1.2.0", optional = true }
tokio-native-tls = { version = "0.3.0", optional = true }
Expand Down

0 comments on commit 008679d

Please sign in to comment.