# 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.70.0" name = "bjsmiley-surrealdb" version = "1.0.1" authors = ["Tobie Morgan Hitchcock "] publish = true description = "A scalable, distributed, collaborative, document-graph database, for the realtime web" 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-indxdb", "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 = "index_btree" harness = false [[bench]] name = "index_mtree" harness = false [[bench]] name = "move_vs_clone" harness = false [[bench]] name = "sdb" harness = false [dependencies.addr] version = "0.15.6" features = ["std"] default-features = false [dependencies.argon2] version = "0.5.2" [dependencies.ascii] version = "0.3.2" package = "any_ascii" [dependencies.async-recursion] version = "1.0.5" [dependencies.base64_lib] version = "0.21.5" package = "base64" [dependencies.bcrypt] version = "0.14.0" [dependencies.bincode] version = "1.3.3" [dependencies.bytes] version = "1.5.0" [dependencies.cedar-policy] version = "2.4.2" [dependencies.channel] version = "1.9.0" package = "async-channel" [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.derive] version = "0.12.0" package = "surrealdb-derive" [dependencies.deunicode] version = "1.4.1" [dependencies.dmp] version = "0.2.0" [dependencies.echodb] version = "0.4.0" optional = true [dependencies.executor] version = "1.6.0" package = "async-executor" [dependencies.flume] version = "0.10.14" [dependencies.foundationdb] version = "0.8.0" features = ["embedded-fdb-include"] optional = true default-features = false [dependencies.fst] version = "0.4.7" [dependencies.futures] version = "0.3.29" [dependencies.futures-concurrency] version = "7.4.3" [dependencies.fuzzy-matcher] version = "0.3.7" [dependencies.geo] version = "0.25.1" features = ["use-serde"] [dependencies.indexmap] version = "1.9.3" features = ["serde"] [dependencies.indxdb] version = "0.3.0" optional = true [dependencies.ipnet] version = "2.9.0" [dependencies.js] version = "=0.4.0-beta.4" features = [ "array-buffer", "bindgen", "classes", "futures", "loader", "macro", "parallel", "properties", "rust-alloc", ] optional = true package = "rquickjs" [dependencies.jsonwebtoken] version = "8.3.0-surreal.1" package = "surrealdb-jsonwebtoken" [dependencies.lexicmp] version = "0.1.0" [dependencies.lru] version = "0.10.1" [dependencies.md-5] version = "0.10.6" [dependencies.nanoid] version = "0.4.0" [dependencies.native-tls] version = "0.2.11" optional = true [dependencies.nom] version = "7.1.3" features = ["alloc"] [dependencies.num_cpus] version = "1.16.0" [dependencies.once_cell] version = "1.18.0" [dependencies.path-clean] version = "1.0.1" [dependencies.pbkdf2] version = "0.12.2" features = ["simple"] [dependencies.pin-project-lite] version = "0.2.13" [dependencies.radix_trie] version = "0.2.1" features = ["serde"] [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.10.2" [dependencies.reqwest] version = "0.11.22" features = [ "json", "stream", "multipart", ] optional = true default-features = false [dependencies.revision] version = "0.5.0" [dependencies.roaring] version = "0.10.2" features = ["serde"] [dependencies.rocksdb] version = "0.21.0" features = [ "lz4", "snappy", ] optional = true [dependencies.rust-stemmers] version = "1.2.0" [dependencies.rust_decimal] version = "1.32.0" features = [ "maths", "serde-str", ] [dependencies.rustls] version = "=0.21.6" optional = true [dependencies.scrypt] version = "0.11.0" [dependencies.semver] version = "1.0.20" features = ["serde"] [dependencies.serde] version = "1.0.190" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.sha1] version = "0.10.6" [dependencies.sha2] version = "0.10.8" [dependencies.snap] version = "1.1.0" [dependencies.speedb] version = "0.0.2" features = [ "lz4", "snappy", ] optional = true [dependencies.storekey] version = "0.5.0" [dependencies.thiserror] version = "1.0.50" [dependencies.tikv] version = "0.2.0-surreal.2" optional = true default-features = false package = "surrealdb-tikv-client" [dependencies.tokio-util] version = "0.7.10" features = ["compat"] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.trice] version = "0.3.1" [dependencies.ulid] version = "1.1.0" features = ["serde"] [dependencies.url] version = "2.4.1" [dev-dependencies.criterion] version = "0.5.1" features = ["async_tokio"] [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.pprof] version = "0.13.0" features = [ "flamegraph", "criterion", ] [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.30" features = ["serde"] [dev-dependencies.tokio] version = "1.33.0" features = [ "macros", "sync", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dev-dependencies.wiremock] version = "0.5.19" [features] default = [ "protocol-ws", "rustls", ] http = ["dep:reqwest"] kv-fdb = [ "foundationdb", "tokio/time", ] kv-fdb-5_1 = [ "foundationdb/fdb-5_1", "kv-fdb", ] kv-fdb-5_2 = [ "foundationdb/fdb-5_2", "kv-fdb", ] kv-fdb-6_0 = [ "foundationdb/fdb-6_0", "kv-fdb", ] kv-fdb-6_1 = [ "foundationdb/fdb-6_1", "kv-fdb", ] kv-fdb-6_2 = [ "foundationdb/fdb-6_2", "kv-fdb", ] kv-fdb-6_3 = [ "foundationdb/fdb-6_3", "kv-fdb", ] kv-fdb-7_0 = [ "foundationdb/fdb-7_0", "kv-fdb", ] kv-fdb-7_1 = [ "foundationdb/fdb-7_1", "kv-fdb", ] kv-indxdb = ["dep:indxdb"] kv-mem = [ "dep:echodb", "tokio/time", ] kv-rocksdb = [ "dep:rocksdb", "tokio/time", ] kv-speedb = [ "dep:speedb", "tokio/time", ] kv-tikv = ["dep:tikv"] native-tls = [ "dep:native-tls", "reqwest?/native-tls", "tokio-tungstenite?/native-tls", ] protocol-http = [ "dep:reqwest", "dep:tokio-util", ] protocol-ws = [ "dep:tokio-tungstenite", "tokio/time", ] rustls = [ "dep:rustls", "reqwest?/rustls-tls", "tokio-tungstenite?/rustls-tls-webpki-roots", ] scripting = ["dep:js"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] version = "1.33.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.20.1" 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.tokio] version = "1.33.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.37" [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"