# 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 = "libsql-client" version = "0.33.4" description = "HTTP-based client for libSQL and sqld" readme = "README.md" keywords = [ "libsql", "sqld", "database", "driver", "http", ] license = "Apache-2.0" repository = "https://github.com/libsql/libsql-client-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "select" path = "examples/select.rs" [[example]] name = "connect_from_env" path = "examples/connect_from_env.rs" [[example]] name = "connect_from_config" path = "examples/connect_from_config.rs" [dependencies.anyhow] version = "1.0.69" [dependencies.base64] version = "0.21.0" [dependencies.bytes] version = "1.4.0" optional = true [dependencies.fallible-iterator] version = "0.3.0" [dependencies.futures] version = "0.3.28" [dependencies.futures-util] version = "0.3.21" optional = true [dependencies.hrana-client] version = "0.3" optional = true [dependencies.hrana-client-proto] version = "0.2" [dependencies.http] version = "0.2" optional = true [dependencies.libsql] version = "=0.1.8" optional = true [dependencies.num-traits] version = "0.2.15" [dependencies.reqwest] version = "0.11.14" features = ["rustls-tls"] optional = true default-features = false [dependencies.serde] version = "1.0.159" [dependencies.serde_json] version = "1.0.91" [dependencies.spin-sdk] version = "2.1" features = [ "http", "json", ] optional = true default-features = false [dependencies.sqlite3-parser] version = "0.12.0" features = ["YYNOERRORRECOVERY"] default-features = false [dependencies.tracing] version = "0.1.37" [dependencies.url] version = "2.3.1" [dependencies.worker] version = "0.0.18" optional = true [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3.17" [features] default = [ "local_backend", "hrana_backend", "reqwest_backend", "mapping_names_to_values_in_rows", ] hrana_backend = ["hrana-client"] local_backend = ["libsql"] mapping_names_to_values_in_rows = [] reqwest_backend = ["reqwest"] separate_url_for_queries = [] spin_backend = [ "spin-sdk", "http", "bytes", ] workers_backend = [ "worker", "futures-util", ]