Skip to content

Commit 66c85a1

Browse files
committed
chore: move tarantool module into a subdirectory
1 parent ff20177 commit 66c85a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+65
-61
lines changed

Cargo.toml

Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,7 @@
1-
[package]
2-
name = "tarantool"
3-
description = "Tarantool rust bindings"
4-
version = "0.4.2"
5-
authors = [
6-
"Dmitriy Koltsov <dkoltsov@picodata.io>",
7-
"Anton Melnikov <volt0@picodata.io>"
8-
]
9-
edition = "2018"
10-
license = "BSD-2-Clause"
11-
readme = "README.md"
12-
documentation = "https://docs.rs/tarantool/"
13-
repository = "https://github.com/picodata/tarantool-module"
14-
keywords = ["ffi", "database", "tarantool"]
15-
categories = ["database"]
16-
17-
[dependencies]
18-
base64 = "0.13"
19-
bitflags = "1.2"
20-
byteorder = "1.3"
21-
chrono = { version = "0.4.19", optional = true }
22-
derivative = "2.1"
23-
failure = "0.1.8"
24-
ipnetwork = { version = "0.18.0", optional = true }
25-
lazy_static = { version = "1.4", optional = true }
26-
libc = "0.2"
27-
log = "0.4"
28-
num-traits = "0.2"
29-
num-derive = "0.3"
30-
protobuf = { version = "2", optional = true }
31-
raft = { version = "0.6.0", optional = true }
32-
refpool = { version = "0.4.3", optional = true }
33-
rand = { version = "0.8.3", optional = true }
34-
rmp = "0.8"
35-
rmp-serde = "0.14"
36-
serde = { version = "1.0", features = ["derive"] }
37-
serde_json = "1.0"
38-
sha-1 = "0.9"
39-
va_list = "0.1.3"
40-
41-
[dependencies.hlua]
42-
path = "hlua/hlua"
43-
44-
[dependencies.lua_ffi]
45-
path = "hlua/ffi"
46-
package = "ffi"
47-
48-
[features]
49-
default = ["net_box"]
50-
net_box = ["lazy_static", "refpool"]
51-
raft_node = ["chrono", "ipnetwork", "net_box", "protobuf", "raft", "rand"]
52-
schema = []
53-
all = ["default", "raft_node", "schema"]
54-
551
[workspace]
562
exclude = [ "hlua" ]
573
members = [
4+
"tarantool",
585
"tests",
596
"examples/easy",
607
"examples/harder",
@@ -63,3 +10,4 @@ members = [
6310
"examples/write",
6411
"examples/cluster_node"
6512
]
13+

examples/cluster_node/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "BSD-2-Clause"
1212
lazy_static = "1.4.0"
1313

1414
[dependencies.tarantool]
15-
path = "../.."
15+
path = "../../tarantool"
1616
features = ["raft_node"]
1717

1818
[lib]

examples/easy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2018"
99
license = "BSD-2-Clause"
1010

1111
[dependencies.tarantool]
12-
path = "../.."
12+
path = "../../tarantool"
1313

1414
[lib]
1515
crate-type = ["cdylib"]

examples/harder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "BSD-2-Clause"
1212
serde = "1.0"
1313

1414
[dependencies.tarantool]
15-
path = "../.."
15+
path = "../../tarantool"
1616

1717
[lib]
1818
crate-type = ["cdylib"]

examples/hardest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "BSD-2-Clause"
1212
serde = "1.0"
1313

1414
[dependencies.tarantool]
15-
path = "../.."
15+
path = "../../tarantool"
1616

1717
[lib]
1818
crate-type = ["cdylib"]

examples/read/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = "BSD-2-Clause"
1212
serde = "1.0"
1313

1414
[dependencies.tarantool]
15-
path = "../.."
15+
path = "../../tarantool"
1616

1717
[lib]
1818
crate-type = ["cdylib"]

examples/write/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2018"
99
license = "BSD-2-Clause"
1010

1111
[dependencies.tarantool]
12-
path = "../.."
12+
path = "../../tarantool"
1313

1414
[lib]
1515
crate-type = ["cdylib"]

tarantool/Cargo.toml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
[package]
2+
name = "tarantool"
3+
description = "Tarantool rust bindings"
4+
version = "0.4.2"
5+
authors = [
6+
"Dmitriy Koltsov <dkoltsov@picodata.io>",
7+
"Georgy Moshkin <gmoshkin@picodata.io>",
8+
"Anton Melnikov <volt0@picodata.io>"
9+
]
10+
edition = "2018"
11+
license = "BSD-2-Clause"
12+
readme = "README.md"
13+
documentation = "https://docs.rs/tarantool/"
14+
repository = "https://github.com/picodata/tarantool-module"
15+
keywords = ["ffi", "database", "tarantool"]
16+
categories = ["database"]
17+
18+
[dependencies]
19+
base64 = "0.13"
20+
bitflags = "1.2"
21+
byteorder = "1.3"
22+
chrono = { version = "0.4.19", optional = true }
23+
derivative = "2.1"
24+
failure = "0.1.8"
25+
ipnetwork = { version = "0.18.0", optional = true }
26+
lazy_static = { version = "1.4", optional = true }
27+
libc = "0.2"
28+
log = "0.4"
29+
num-traits = "0.2"
30+
num-derive = "0.3"
31+
protobuf = { version = "2", optional = true }
32+
raft = { version = "0.6.0", optional = true }
33+
refpool = { version = "0.4.3", optional = true }
34+
rand = { version = "0.8.3", optional = true }
35+
rmp = "0.8"
36+
rmp-serde = "0.14"
37+
serde = { version = "1.0", features = ["derive"] }
38+
serde_json = "1.0"
39+
sha-1 = "0.9"
40+
va_list = "0.1.3"
41+
42+
[dependencies.hlua]
43+
path = "../hlua/hlua"
44+
45+
[dependencies.lua_ffi]
46+
path = "../hlua/ffi"
47+
package = "ffi"
48+
49+
[features]
50+
default = ["net_box"]
51+
net_box = ["lazy_static", "refpool"]
52+
raft_node = ["chrono", "ipnetwork", "net_box", "protobuf", "raft", "rand"]
53+
schema = []
54+
all = ["default", "raft_node", "schema"]
55+
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)