[package] name = "sqlx-rt_wasi" version = "0.6.2" repository = "https://github.com/WasmEdge/sqlx" license = "MIT OR Apache-2.0" description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly." edition = "2021" authors = [ "Ryan Leckey ", "Austin Bonander ", ] [lib] name = "sqlx_rt" path = "src/lib.rs" [features] default = ["runtime-tokio-rustls"] runtime-actix-native-tls = ["runtime-tokio-native-tls"] runtime-async-std-native-tls = [ "_rt-async-std", "_tls-native-tls", "async-native-tls", ] runtime-tokio-native-tls = ["_rt-tokio", "_tls-native-tls", "tokio-native-tls"] runtime-actix-rustls = ["runtime-tokio-rustls"] runtime-async-std-rustls = ["_rt-async-std", "_tls-rustls", "futures-rustls"] runtime-tokio-rustls = ["_rt-tokio"] # Not used directly and not re-exported from sqlx _rt-async-std = ["async-std"] _rt-tokio = ["tokio_wasi", "once_cell"] _tls-native-tls = ["native-tls"] _tls-rustls = [] [dependencies] async-native-tls = { version = "0.4.0", optional = true } futures-rustls = { version = "0.22.0", optional = true } async-std = { version = "1.7.0", features = ["unstable"], optional = true } tokio-native-tls = { version = "0.3.0", optional = true } tokio-rustls = { version = "0.23.0", optional = true } native-tls = { version = "0.2.4", optional = true } once_cell = { version = "1.4", features = ["std"], optional = true } [dependencies.tokio_wasi] version = "1" features = ["fs", "net", "rt", "time", "io-util", "sync"] optional = true