forked from gluesql/gluesql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
77 lines (66 loc) · 2.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "gluesql"
version = "0.11.0"
edition = "2021"
authors = ["Taehoon Moon <[email protected]>"]
description = "GlueSQL - Open source SQL database engine fully written in Rust with pure functional execution layer, easily swappable storage and web assembly support!"
license = "Apache-2.0"
repository = "https://github.com/gluesql/gluesql"
documentation = "https://docs.rs/gluesql/"
readme = "README.md"
keywords = [
"sql-database",
"sql",
"functional",
"no-mut-in-the-middle",
"webassembly",
]
[package.metadata.docs.rs]
all-features = true
# ref. https://github.com/rustwasm/wasm-pack/issues/1111
# enable this only for gluesql-js build
# [profile.release]
# opt-level = "s"
[dependencies]
gluesql-core = { path = "./core", version = "0.11.0" }
cli = { package = "gluesql-cli", path = "./cli", version = "0.11.0", optional = true }
test-suite = { package = "gluesql-test-suite", path = "./test-suite", version = "0.11.0", optional = true }
memory-storage = { package = "gluesql_memory_storage", path = "./storages/memory-storage", version = "0.11.0", optional = true }
shared-memory-storage = { package = "gluesql-shared-memory-storage", path = "./storages/shared-memory-storage", version = "0.11.0", optional = true }
sled-storage = { package = "gluesql_sled_storage", path = "./storages/sled-storage", version = "0.11.0", optional = true }
[dev-dependencies]
futures = "0.3"
[features]
# DB User
default = [
"gluesql-core/alter-table",
"gluesql-core/index",
"gluesql-core/transaction",
"gluesql-core/metadata",
"cli",
"test-suite",
"memory-storage",
"shared-memory-storage",
"sled-storage",
]
# Storage Maker
# optional: ALTER TABLE
# you can include whether ALTER TABLE support or not for your custom database implementation.
alter-table = ["gluesql-core/alter-table", "test-suite/alter-table"]
# optional: INDEX
index = ["gluesql-core/index", "test-suite/index"]
# optional: TRANSACTION
transaction = ["gluesql-core/transaction", "test-suite/transaction"]
# optional: METADATA
# e.g. SHOW TABLES;
metadata = ["gluesql-core/metadata", "test-suite/metadata"]
[workspace]
members = ["core", "storages/*", "test-suite", "utils", "cli", "gluesql-js/web"]
default-members = [
"core",
"storages/*",
"test-suite",
"utils",
"cli",
"gluesql-js/web",
]