# 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-core-alpha" version = "2.0.9" authors = ["Tobie Morgan Hitchcock "] publish = true description = "A alpha release of the surrealdb-core crate" homepage = "https://github.com/surrealdb/surrealdb" documentation = "https://docs.rs/surrealdb-core/" 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 = [ "kv-mem", "kv-rocksdb", "http", "scripting", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = [] [lib] name = "surrealdb_core" [dependencies.addr] version = "0.15.6" features = ["std"] default-features = false [dependencies.ahash] version = "0.8.11" [dependencies.ammonia] version = "4.0.0" [dependencies.arbitrary] version = "1.3.2" features = ["derive"] optional = true [dependencies.argon2] version = "0.5.2" [dependencies.ascii] version = "0.3.2" package = "any_ascii" [dependencies.async-recursion] version = "1.0.5" [dependencies.base64] version = "0.21.5" [dependencies.bcrypt] version = "0.15.0" [dependencies.bincode] version = "1.3.3" [dependencies.bytes] version = "1.5.0" [dependencies.castaway] version = "0.2.3" [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.ciborium] version = "0.2.1" [dependencies.dashmap] version = "5.5.3" [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.7.0" optional = true [dependencies.executor] version = "1.8.0" package = "async-executor" [dependencies.ext-sort] version = "^0.1.4" optional = true [dependencies.foundationdb] version = "0.9.0" features = ["embedded-fdb-include"] optional = true default-features = false [dependencies.fst] version = "0.4.7" [dependencies.futures] version = "0.3.29" [dependencies.fuzzy-matcher] version = "0.3.7" [dependencies.geo] version = "0.27.0" features = ["use-serde"] [dependencies.geo-types] version = "0.7.12" features = ["arbitrary"] [dependencies.hex] version = "0.4.3" [dependencies.indxdb] version = "0.5.0" optional = true [dependencies.ipnet] version = "2.9.0" [dependencies.js] version = "0.6.2" features = [ "array-buffer", "bindgen", "classes", "futures", "loader", "macro", "parallel", "properties", "rust-alloc", ] optional = true package = "rquickjs" [dependencies.jsonwebtoken] version = "9.3.0" [dependencies.lexicmp] version = "0.1.0" [dependencies.linfa-linalg] version = "=0.1.0" [dependencies.md-5] version = "0.10.6" [dependencies.nanoid] version = "0.4.0" [dependencies.ndarray] version = "=0.15.6" [dependencies.ndarray-stats] version = "=0.5.1" [dependencies.nom] version = "7.1.3" features = ["alloc"] [dependencies.num-traits] version = "0.2.18" [dependencies.num_cpus] version = "1.16.0" [dependencies.object_store] version = "0.10.2" optional = false [dependencies.once_cell] version = "1.18.0" [dependencies.pbkdf2] version = "0.12.2" features = ["simple"] [dependencies.phf] version = "0.11.2" features = [ "macros", "unicase", ] [dependencies.pin-project-lite] version = "0.2.13" [dependencies.quick_cache] version = "0.5.1" [dependencies.radix_trie] version = "0.2.1" features = ["serde"] [dependencies.rand] version = "0.8.5" [dependencies.reblessive] version = "0.4.0" features = ["tree"] [dependencies.regex] version = "1.10.2" [dependencies.regex-syntax] version = "0.8.2" features = ["arbitrary"] optional = true [dependencies.reqwest] version = "0.12.5" features = [ "json", "stream", "multipart", ] optional = true default-features = false [dependencies.revision] version = "0.8.0" features = [ "chrono", "geo", "roaring", "regex", "rust_decimal", "uuid", ] [dependencies.rmpv] version = "1.0.1" [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.33.1" features = [ "maths", "serde-str", ] [dependencies.scrypt] version = "0.11.0" [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.sha1] version = "0.10.6" [dependencies.sha2] version = "0.10.8" [dependencies.snap] version = "1.1.0" [dependencies.storekey] version = "0.5.0" [dependencies.subtle] version = "2.6" [dependencies.surrealkv] version = "0.3.2" optional = true [dependencies.surrealml] version = "0.1.1" optional = true package = "surrealml-core" [dependencies.tempfile] version = "3.10.1" optional = true [dependencies.thiserror] version = "1.0.50" [dependencies.tikv] version = "0.3.0-surreal.1" optional = true default-features = false package = "surrealdb-tikv-client" [dependencies.tracing] version = "0.1.40" [dependencies.trice] version = "0.4.0" [dependencies.ulid] version = "1.1.0" features = ["serde"] [dependencies.unicase] version = "2.7.0" [dependencies.url] version = "2.5.0" [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.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.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.wiremock] version = "0.6.0" [features] arbitrary = [ "dep:arbitrary", "dep:regex-syntax", "rust_decimal/rust-fuzz", "geo-types/arbitrary", "uuid/arbitrary", ] default = ["kv-mem"] http = ["dep:reqwest"] jwks = ["dep:reqwest"] kv-fdb = [ "dep:foundationdb", "tokio/time", "dep:tempfile", "dep:ext-sort", ] kv-fdb-7_1 = ["foundationdb/fdb-7_1"] kv-fdb-7_3 = ["foundationdb/fdb-7_3"] kv-indxdb = ["dep:indxdb"] kv-mem = [ "dep:echodb", "tokio/time", "dep:tempfile", "dep:ext-sort", ] kv-rocksdb = [ "dep:rocksdb", "tokio/time", "dep:tempfile", "dep:ext-sort", ] kv-surrealkv = [ "dep:surrealkv", "tokio/time", "dep:tempfile", "dep:ext-sort", ] kv-tikv = [ "dep:tikv", "tokio/time", "dep:tempfile", "dep:ext-sort", ] ml = ["dep:surrealml"] scripting = ["dep:js"] [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.21.0" 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"