Skip to content

Commit 9eaf7b5

Browse files
committed
remove rpc part
1 parent f79ad7f commit 9eaf7b5

File tree

6 files changed

+0
-380
lines changed

6 files changed

+0
-380
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ This is an implementation of [MessagePack](https://msgpack.org/index.html) for [
1313
The current protocol implementation has been completed, but it has not been fully tested.
1414
Only limited unit testing has been conducted, which does not cover everything.
1515

16-
now `msgpack-rpc` is under developing!
17-
1816
## Related projects
1917

2018
- [znvim](https://github.com/jinzhongjia/znvim)

build_11.zig

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ pub fn build(b: *std.Build) void {
1010
},
1111
});
1212

13-
const msgpack_rpc = b.addModule("msgpack_rpc", .{
14-
.source_file = .{
15-
.path = "src/msgpack_rpc.zig",
16-
},
17-
.dependencies = &.{
18-
.{
19-
.name = "msgpack",
20-
.module = msgpack,
21-
},
22-
},
23-
});
2413

2514
const test_step = b.step("test", "Run unit tests");
2615

@@ -35,40 +24,4 @@ pub fn build(b: *std.Build) void {
3524
msgpack_unit_tests.addModule("msgpack", msgpack);
3625
const run_msgpack_tests = b.addRunArtifact(msgpack_unit_tests);
3726
test_step.dependOn(&run_msgpack_tests.step);
38-
39-
const msgpack_rpc_unit_tests = b.addTest(.{
40-
.root_source_file = .{
41-
.path = "src/msgpack_rpc_unit_test.zig",
42-
},
43-
.target = target,
44-
.optimize = optimize,
45-
});
46-
msgpack_rpc_unit_tests.addModule("msgpack_rpc", msgpack_rpc);
47-
const run_msgpack_rpc_tests = b.addRunArtifact(msgpack_rpc_unit_tests);
48-
test_step.dependOn(&run_msgpack_rpc_tests.step);
49-
50-
{
51-
//// build test cli
52-
const build_step = b.step("build_dev", "build cli test");
53-
const exe = b.addExecutable(.{
54-
.name = "msgpack_rpc",
55-
.root_source_file = .{ .path = "src/dev.zig" },
56-
.target = target,
57-
.optimize = optimize,
58-
});
59-
60-
exe.addModule("msgpack_rpc", msgpack_rpc);
61-
62-
const install = b.addInstallArtifact(exe, .{});
63-
64-
build_step.dependOn(&install.step);
65-
66-
const run_exe = b.addRunArtifact(exe);
67-
68-
run_exe.step.dependOn(&install.step);
69-
70-
const run_step = b.step("dev", "Run the cli");
71-
72-
run_step.dependOn(&run_exe.step);
73-
}
7427
}

build_12.zig

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,6 @@ pub fn build(b: *std.Build) void {
1010
},
1111
});
1212

13-
const msgpack_rpc = b.addModule("msgpack_rpc", .{
14-
.root_source_file = .{
15-
.path = "src/msgpack_rpc.zig",
16-
},
17-
.imports = &.{
18-
.{
19-
.name = "msgpack",
20-
.module = msgpack,
21-
},
22-
},
23-
});
24-
2513
const test_step = b.step("test", "Run unit tests");
2614

2715
const msgpack_unit_tests = b.addTest(.{
@@ -32,38 +20,4 @@ pub fn build(b: *std.Build) void {
3220
msgpack_unit_tests.root_module.addImport("msgpack", msgpack);
3321
const run_msgpack_tests = b.addRunArtifact(msgpack_unit_tests);
3422
test_step.dependOn(&run_msgpack_tests.step);
35-
36-
const msgpack_rpc_unit_tests = b.addTest(.{
37-
.root_source_file = .{ .path = "src/msgpack_rpc_unit_test.zig" },
38-
.target = target,
39-
.optimize = optimize,
40-
});
41-
msgpack_rpc_unit_tests.root_module.addImport("msgpack_rpc", msgpack_rpc);
42-
const run_msgpack_rpc_tests = b.addRunArtifact(msgpack_rpc_unit_tests);
43-
test_step.dependOn(&run_msgpack_rpc_tests.step);
44-
45-
{
46-
//// build test cli
47-
const build_step = b.step("build_dev", "build cli test");
48-
const exe = b.addExecutable(.{
49-
.name = "msgpack_rpc",
50-
.root_source_file = .{ .path = "src/dev.zig" },
51-
.target = target,
52-
.optimize = optimize,
53-
});
54-
55-
exe.root_module.addImport("msgpack_rpc", msgpack_rpc);
56-
57-
const install = b.addInstallArtifact(exe, .{});
58-
59-
build_step.dependOn(&install.step);
60-
61-
const run_exe = b.addRunArtifact(exe);
62-
63-
run_exe.step.dependOn(&install.step);
64-
65-
const run_step = b.step("dev", "Run the cli");
66-
67-
run_step.dependOn(&run_exe.step);
68-
}
6923
}

src/dev.zig

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)