# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "diesel-wasm-sqlite" version = "0.0.1" authors = ["XMTP Labs "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "SQLite WebAssembly backend for Diesel" homepage = "https://xmtp.org/" readme = "README.md" keywords = [ "orm", "database", "sql", "wasm", ] categories = [ "database", "wasm", ] license = "MIT" repository = "https://github.com/xmtp/libxmtp" resolver = "2" [lib] name = "diesel_wasm_sqlite" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[test]] name = "dedicated_web_worker" path = "tests/dedicated_web_worker.rs" [dependencies.diesel] version = "2.2" features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes"] [dependencies.diesel_derives] version = "2.2" [dependencies.js-sys] version = "0.3" [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde-wasm-bindgen] version = "0.6" [dependencies.talc] version = "4.4" features = ["lock_api"] default-features = false [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.38" features = ["sync"] default-features = false [dependencies.tracing] version = "0.1" [dependencies.wasm-bindgen] version = "0.2" [dependencies.wasm-bindgen-futures] version = "0.4" [dev-dependencies.chrono] version = "0.4" features = [ "wasmbind", "serde", ] [dev-dependencies.console_error_panic_hook] version = "0.1" [dev-dependencies.ctor] version = "0.2" [dev-dependencies.diesel] version = "2.2" features = ["chrono"] [dev-dependencies.diesel_migrations] version = "2.2" [dev-dependencies.getrandom] version = "0.2" features = ["js"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.tracing-wasm] version = "0.2" [dev-dependencies.wasm-bindgen-test] version = "0.3.42" [dev-dependencies.web-sys] version = "0.3" features = ["console"] [features] default = [] r2d2 = ["diesel/r2d2"] unsafe-debug-query = []