# 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" rust-version = "1.77.0" name = "surrealdb-alpha" version = "2.0.9" authors = ["Tobie Morgan Hitchcock "] publish = true description = "A alpha release of the surrealdb crate" homepage = "https://github.com/surrealdb/surrealdb" documentation = "https://docs.rs/surrealdb/" readme = "CARGO.md" keywords = [ "database", "embedded-database", "key-value", "key-value-store", "kv-store", ] categories = [ "database-implementations", "data-structures", "embedded", ] license-file = "LICENSE" repository = "https://github.com/surrealdb/surrealdb" resolver = "2" [package.metadata.docs.rs] features = [ "protocol-ws", "protocol-http", "kv-mem", "kv-rocksdb", "rustls", "native-tls", "http", "scripting", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [] [lib] name = "surrealdb" bench = false [[bench]] name = "executor" harness = false [[bench]] name = "parser" harness = false [[bench]] name = "processor" harness = false [[bench]] name = "hash_trie_btree" harness = false [[bench]] name = "index_btree" harness = false [[bench]] name = "index_mtree" harness = false [[bench]] name = "index_hnsw" harness = false [[bench]] name = "move_vs_clone" harness = false [[bench]] name = "sdb" harness = false [[bench]] name = "hashset_vs_vector" harness = false [dependencies.bincode] version = "1.3.3" [dependencies.channel] version = "1.9.0" package = "async-channel" [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.dmp] version = "0.2.0" [dependencies.futures] version = "0.3.29" [dependencies.geo] version = "0.27.0" features = ["use-serde"] [dependencies.indexmap] version = "2.1.0" features = ["serde"] [dependencies.native-tls] version = "0.2.11" optional = true [dependencies.once_cell] version = "1.18.0" [dependencies.path-clean] version = "1.0.1" [dependencies.reblessive] version = "0.4.0" features = ["tree"] [dependencies.reqwest] version = "0.12.5" features = [ "json", "multipart", "stream", ] optional = true default-features = false [dependencies.revision] version = "0.8.0" features = [ "chrono", "geo", "roaring", "regex", "rust_decimal", "uuid", ] [dependencies.rust_decimal] version = "1.33.1" features = [ "maths", "serde-str", ] [dependencies.rustls] version = "0.23.12" features = [ "ring", "logging", "std", "tls12", ] optional = true default-features = false [dependencies.rustls-pki-types] version = "1.7.0" features = ["web"] [dependencies.semver] version = "1.0.20" features = ["serde"] [dependencies.serde] version = "1.0.193" features = ["derive"] [dependencies.serde-content] version = "0.1.0" [dependencies.serde_json] version = "1.0.108" [dependencies.surrealdb-core] version = "=2.0.9" default-features = false package = "surrealdb-core-alpha" [dependencies.thiserror] version = "1.0.50" [dependencies.tokio-util] version = "0.7.10" features = ["compat"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.trice] version = "0.4.0" optional = true [dependencies.url] version = "2.5.0" [dev-dependencies.ciborium] version = "0.2.1" [dev-dependencies.criterion] version = "0.5.1" features = ["async_tokio"] [dev-dependencies.env_logger] version = "0.10.1" [dev-dependencies.flate2] version = "1.0.28" [dev-dependencies.hashbrown] version = "0.14.5" [dev-dependencies.pprof] version = "0.13.0" features = [ "flamegraph", "criterion", ] [dev-dependencies.radix_trie] version = "0.2.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.regex] version = "1.10.2" [dev-dependencies.serial_test] version = "2.0.0" [dev-dependencies.temp-dir] version = "0.1.11" [dev-dependencies.test-log] version = "0.2.13" features = ["trace"] [dev-dependencies.time] version = "0.3.36" features = ["serde"] [dev-dependencies.tokio] version = "1.34.0" features = [ "macros", "sync", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dev-dependencies.ulid] version = "1.1.0" features = ["serde"] [dev-dependencies.wiremock] version = "0.6.0" [features] arbitrary = ["surrealdb-core/arbitrary"] default = [ "protocol-ws", "rustls", ] http = ["surrealdb-core/http"] jwks = ["surrealdb-core/jwks"] kv-fdb = [ "surrealdb-core/kv-fdb", "tokio/time", ] kv-fdb-7_1 = ["surrealdb-core/kv-fdb-7_1"] kv-fdb-7_3 = ["surrealdb-core/kv-fdb-7_3"] kv-indxdb = ["surrealdb-core/kv-indxdb"] kv-mem = [ "surrealdb-core/kv-mem", "tokio/time", ] kv-rocksdb = [ "surrealdb-core/kv-rocksdb", "tokio/time", ] kv-surrealkv = [ "surrealdb-core/kv-surrealkv", "tokio/time", ] kv-tikv = [ "surrealdb-core/kv-tikv", "tokio/time", ] ml = ["surrealdb-core/ml"] native-tls = [ "dep:native-tls", "reqwest?/native-tls", "tokio-tungstenite?/native-tls", ] protocol-http = [ "dep:reqwest", "dep:tokio-util", ] protocol-ws = [ "dep:tokio-tungstenite", "dep:trice", "tokio/time", ] rustls = [ "dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/rustls-tls-webpki-roots", ] scripting = ["surrealdb-core/scripting"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] version = "1.34.0" features = [ "macros", "io-util", "io-std", "fs", "rt-multi-thread", "time", "sync", ] default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-tungstenite] version = "0.23.1" features = ["url"] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.uuid] version = "1.6.1" features = [ "serde", "v4", "v7", ] [target."cfg(target_arch = \"wasm32\")".dependencies.pharos] version = "0.5.3" [target."cfg(target_arch = \"wasm32\")".dependencies.ring] version = "0.17.7" features = ["wasm32_unknown_unknown_js"] [target."cfg(target_arch = \"wasm32\")".dependencies.tokio] version = "1.34.0" features = [ "rt", "sync", ] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.uuid] version = "1.6.1" features = [ "serde", "js", "v4", "v7", ] [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.39" [target."cfg(target_arch = \"wasm32\")".dependencies.wasmtimer] version = "0.2.0" features = ["tokio"] default-features = false [target."cfg(target_arch = \"wasm32\")".dependencies.ws_stream_wasm] version = "0.7.4"