Skip to content
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

Bump/v0.33.0 #10

Closed
wants to merge 70 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
0fdecd5
Add support for tracing
cloneable Jan 26, 2023
991069a
Merge pull request #224 from cloneable/issue223-tracing-instrumentation
blackbeam Jan 28, 2023
2b8f082
opts: Add ssl-related query parameters
blackbeam Jan 31, 2023
94bdf23
Document ssl-related URL parameters
blackbeam Jan 31, 2023
7917e84
Update root docs
blackbeam Jan 31, 2023
0e8d22e
Merge pull request #226 from blackbeam/issue-225-ssl-query-params
blackbeam Feb 2, 2023
0fd5853
Don't emit INFO spans for administrative queries
cloneable Feb 8, 2023
53d6adb
Allow specifying an initial pooled buffer size
cloneable Feb 9, 2023
ca61d55
Merge pull request #229 from cloneable/bufferpool-optimization
blackbeam Feb 11, 2023
72dded0
Move QueryRoutine tracing level to compile time
blackbeam Feb 13, 2023
043d81a
Merge pull request #228 from cloneable/issue223-get_conn-and-conn-que…
blackbeam Feb 13, 2023
c851de7
Record errors from routines in tracing spans
cloneable Feb 11, 2023
9effa91
Introduce instrument_result! macro
blackbeam Feb 14, 2023
287dd86
Merge pull request #230 from cloneable/issue223-record-errors-spans
blackbeam Feb 15, 2023
35fa6ab
doc: Update `tracing` feature description
blackbeam Feb 15, 2023
8323780
Bump micro version
blackbeam Feb 15, 2023
5efd77e
Allow setting to return found rows when writing to the database
Feb 21, 2023
75ade0d
Rename writes_return_found_rows > client_found_rows. Add connection U…
blackbeam Feb 22, 2023
f1afb7c
Merge pull request #236 from blackbeam/capabilities-setup
blackbeam Feb 23, 2023
6ca8bec
Update to lru v0.10.0
benesch Mar 11, 2023
59e8c3c
Merge pull request #238 from benesch/patch-1
blackbeam Mar 13, 2023
2842af3
Bump mysql_common to 0.30, add cleartext plugin support
blackbeam Apr 9, 2023
ad90c52
Bump version
blackbeam Apr 9, 2023
134cbf8
Implement Conn::change_user
blackbeam Apr 12, 2023
ec9a15b
Fix tests
blackbeam Apr 12, 2023
bd6a503
Merge pull request #242 from blackbeam/mysql-common-derive
blackbeam Apr 12, 2023
3763e92
Bump mysql_common to 0.30.1
blackbeam Apr 12, 2023
bbf24b0
Bump dependencies
blackbeam Apr 12, 2023
411a84a
pool: Fix some connections not being properly reset
blackbeam Apr 13, 2023
8c4b72a
recycler: assert that reset queue is exhausted on eof
blackbeam Apr 13, 2023
f23dca0
recycler: check for closed pool in conn_return! macro
blackbeam Apr 13, 2023
32c6f2a
Bump micro version
blackbeam Apr 13, 2023
7c6572d
Add a way to opt-out of pooled connection reset
blackbeam Apr 14, 2023
73dbb96
Add `Opts::setup` and `OptsBuilder::setup`
blackbeam Apr 14, 2023
cd1ae04
Inline ops that read settings (#2)
Apr 20, 2023
5843e91
Merge pull request #245 from prisma/inline-reading-settings
blackbeam Apr 20, 2023
48608a1
Use rust flate2 backend on default-rustls feature (fix #244)
blackbeam Apr 20, 2023
485c7b7
Fix pool::test::should_reconnect
blackbeam Apr 20, 2023
55fff99
Merge pull request #246 from blackbeam/issue-244
blackbeam Apr 22, 2023
c1c8081
Remove mysql_common/derive from the set of enabled mysql_common features
blackbeam Apr 22, 2023
a9e2278
Update README.md
blackbeam Apr 22, 2023
e6bbf7c
Bump version
blackbeam Apr 22, 2023
bf4fe8c
Replace crate priority_queue with keyed_priority_queue
cloneable Apr 24, 2023
ddee16e
Merge pull request #248 from cloneable/issue247-prio-queue-replacement
blackbeam Apr 25, 2023
668a7e4
Do not read unnecessary settings in Conn::read_settings
blackbeam Aug 4, 2023
f3cdaa0
Merge pull request #254 from blackbeam/issue-253
blackbeam Aug 7, 2023
421ad9d
Fixed spelling mistake in doc-comments
DK26 Aug 20, 2023
2a716a6
Usability improvement: leading forward slash empty database
altmannmarcelo Sep 8, 2023
4f09530
Merge pull request #259 from altmannmarcelo/empty-db
blackbeam Sep 9, 2023
31d040f
get_opts_db_name_from_url: use Option::filter instead of and_then
blackbeam Sep 14, 2023
da2193b
Bump webpki (fix #256)
blackbeam Sep 14, 2023
c5f620e
Bump `lru` and `pem` deps
blackbeam Sep 14, 2023
815971f
Fix build for updated webpki-roots
blackbeam Sep 14, 2023
e9e037b
Merge pull request #255 from DK26/master
blackbeam Sep 17, 2023
ec1a698
Option to set an absolute TTL for connections
cloneable Aug 31, 2023
02e47d9
Merge pull request #258 from cloneable/absolute-connection-ttl
blackbeam Sep 18, 2023
439fec4
Introduce `BinlogStreamRequest`
blackbeam Oct 23, 2023
829774f
Hide binlog behind a feature
blackbeam Oct 24, 2023
0e84bd1
Bump mysql_common
blackbeam Nov 2, 2023
5e94f56
Bump version
blackbeam Nov 2, 2023
fcb25d9
add ResultSetStream types export
web3creator Nov 6, 2023
4023e5e
Style ResultSetStream::{columns, columns_ref} in accordance with the …
blackbeam Nov 7, 2023
7c221d7
Merge pull request #264 from web3creator/master
blackbeam Nov 8, 2023
9d08837
Fix docstrings
blackbeam Nov 8, 2023
f8e0bd5
Clippy
blackbeam Nov 8, 2023
e5b07df
Bump lru version
blackbeam Nov 8, 2023
a8be430
Merge pull request #263 from blackbeam/release-0.33.0
blackbeam Nov 8, 2023
514d6db
Document the binlog feature
blackbeam Nov 8, 2023
088f62a
Merge commit 'v0.33.0' into feat/support_rustls
L-jasmine Dec 21, 2023
27c65f3
Support build rustls into wasi
L-jasmine Dec 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 60 additions & 54 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,40 @@ license = "MIT/Apache-2.0"
name = "mysql_async_wasi"
readme = "README.md"
repository = "https://github.com/WasmEdge/mysql_async_wasi"
version = "0.31.6"
version = "0.33.0"
exclude = ["test/*"]
edition = "2018"
categories = ["asynchronous", "database"]

[dependencies]
bytes = "1.0"
bytes = "1.4"
crossbeam = "0.8.1"
flate2 = { version = "1.0", default-features = false }
futures-core = "0.3"
futures-util = "0.3"
futures-sink = "0.3"
keyed_priority_queue = "0.4"
lazy_static = "1"
lru = "0.8.1"
mysql_common = { version = "0.29.2", default-features = false }
lru = "0.12.0"
mysql_common = { version = "0.31", default-features = false }
once_cell = "1.7.2"
pem = "1.0.1"
pem = "3.0"
percent-encoding = "2.1.0"
pin-project = "1.0.2"
priority-queue = "1"
rand = "0.8.5"
serde = "1"
serde_json = "1"
thiserror = "1.0.4"
tracing = { version = "0.1.37", default-features = false, features = [
"attributes",
], optional = true }
twox-hash = "1"
url = "2.1"

# [target.'cfg(not(target_os="wasi"))'.dependencies]
# tokio = { version = "1.0", features = ["io-util", "fs", "net", "time", "rt"] }
# tokio-util = { version = "0.7.2", features = ["codec", "io"] }
# tokio-native-tls = "0.3.0"
# socket2 = "0.4.2"
# native-tls = "0.2"
# mio = { version = "0.8.0", features = ["os-poll", "net"] }
[target.'cfg(not(target_os="wasi"))'.dependencies]
socket2 = "0.5.2"
tokio = { version = "1.0", features = ["io-util", "fs", "net", "time", "rt"] }
tokio-util = { version = "0.7.2", features = ["codec", "io"] }

[target.'cfg(target_os="wasi")'.dependencies]
tokio_wasi = { version = "1", features = [
Expand All @@ -57,44 +58,26 @@ wasmedge_rustls_api = { version = "0.1.0", optional = true, features = [
"tokio_async",
] }

# [target.'cfg(not(target_os="wasi"))'.dev-dependencies]
# tempfile = "3.1.0"
# socket2 = { version = "0.4.0", features = ["all"] }
# tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread"] }
# rand = "0.8.0"

[dev-dependencies]
tempfile = "3.1.0"
tokio = { version = "1.0", features = ["io-util", "fs", "net", "time", "rt"] }
tokio-util = { version = "0.7.2", features = ["codec", "io"] }

[target.'cfg(target_os="wasi")'.dev-dependencies]
tempfile = "3.1.0"
tokio_wasi = { version = "1", features = [
"io-util",
"fs",
"net",
"time",
"rt",
"macros",
] }
rand = "0.8.0"

[target.'cfg(not(target_os="wasi"))'.dependencies.tokio-rustls]
version = "0.24.0"
optional = true

[dependencies.tokio-rustls]
version = "0.23.4"
[target.'cfg(target_os="wasi")'.dependencies.tokio-rustls-wasi]
git = "https://github.com/second-state/tokio-rustls.git"
branch = "v0.24.1"
optional = true

[dependencies.tokio-native-tls]

[target.'cfg(not(target_os="wasi"))'.dependencies.tokio-native-tls]
version = "0.3.0"
optional = true

[dependencies.native-tls]
[target.'cfg(not(target_os="wasi"))'.dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.rustls]
version = "0.20.0"
version = "0.21.0"
features = ["dangerous_configuration"]
optional = true

Expand All @@ -103,42 +86,65 @@ version = "1.0.1"
optional = true

[dependencies.webpki]
version = "0.22.0"
version = ">=0.22.1"
features = ["std"]
optional = true

[dependencies.webpki-roots]
version = "0.22.1"
version = "0.25.0"
optional = true

[target.'cfg(not(target_os="wasi"))'.dev-dependencies]
tempfile = "3.1.0"
socket2 = { version = "0.5.2", features = ["all"] }
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread"] }

[target.'cfg(target_os="wasi")'.dev-dependencies]
tempfile = "3.1.0"
tokio_wasi = { version = "1", features = [
"io-util",
"fs",
"net",
"time",
"rt",
"macros",
] }
wasmedge_wasi_socket = "0.5"

[features]
default = ["common", "rust_backend"]
default-rustls = ["common", "rust_backend", "wasmedge-tls"]
default = ["flate2/zlib", "common", "derive", "binlog"]
default-rustls = [
"flate2/rust_backend",
"common",
"derive",
"rustls-tls",
"binlog",
]
common = [
"mysql_common/bigdecimal03",
"mysql_common/bigdecimal",
"mysql_common/rust_decimal",
"mysql_common/time03",
"mysql_common/uuid",
"mysql_common/time",
"mysql_common/frunk",
]
minimal = ["flate2/zlib"]
wasmedge-tls = ["wasmedge_rustls_api"]
native-tls-tls = ["native-tls", "tokio-native-tls"]
rust_backend = ["flate2/rust_backend"]
rustls-tls = [
"rustls",
"tokio-rustls",
"tokio-rustls-wasi",
"webpki",
"webpki-roots",
"rustls-pemfile",
]
wasmedge-tls = ["wasmedge_rustls_api"]
minimal = ["flate2/zlib"]
zlib = ["flate2/zlib"]
full = ["default", "zlib"]
tracing = ["dep:tracing"]
derive = ["mysql_common/derive"]
nightly = []
binlog = ["mysql_common/binlog"]

[lib]
name = "mysql_async"
path = "src/lib.rs"

[profile.bench]
debug = true

Loading
Loading