diff --git a/templates/call.j2 b/templates/call.j2 deleted file mode 100644 index 8b13789..0000000 --- a/templates/call.j2 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/templates/enum.j2 b/templates/enum.j2 deleted file mode 100644 index e892193..0000000 --- a/templates/enum.j2 +++ /dev/null @@ -1,5 +0,0 @@ -#[derive(PartialEq, Clone, Debug)] -pub enum Result { - // TODO -} - diff --git a/templates/file.j2 b/templates/file.j2 deleted file mode 100644 index 096bc32..0000000 --- a/templates/file.j2 +++ /dev/null @@ -1,28 +0,0 @@ -mod {{ plugin_name.lower_snake_case }}_grpc; -mod {{ plugin_name.lower_snake_case }}; - -use {{ plugin_name.lower_snake_case }}::{{ plugin_name.upper_camel_case }}Result_Result; - -impl {{ plugin_name.upper_camel_case }} { - -{%- for enum in enums %} -{{ indent(enum, 1) }} -{%- endfor %} - -{% for struct in structs %} -{{ indent(struct, 1) }} -{% endfor %} - -{%- for method in methods %} -{{ indent(method, 1) }} -{%- endfor %} - -} - -impl super::super::FromChannel for {{ plugin_name.upper_camel_case}} { - fn new(channel: ::grpcio::Channel) -> Self { - {{ plugin_name.upper_camel_case }} { - service_client: {{ plugin_name.lower_snake_case }}_grpc::{{ plugin_name.upper_camel_case }}ServiceClient::new(channel), - } - } -} diff --git a/templates/request.j2 b/templates/request.j2 deleted file mode 100644 index 8b13789..0000000 --- a/templates/request.j2 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/templates/stream.j2 b/templates/stream.j2 deleted file mode 100644 index 8b13789..0000000 --- a/templates/stream.j2 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/templates/struct.j2 b/templates/struct.j2 deleted file mode 100644 index 0345bb6..0000000 --- a/templates/struct.j2 +++ /dev/null @@ -1,4 +0,0 @@ -#[derive(PartialEq, Clone, Default, Debug)] -pub struct Version { - // TODO -} diff --git a/templates/type_conversions b/templates/type_conversions deleted file mode 100644 index ca89e1e..0000000 --- a/templates/type_conversions +++ /dev/null @@ -1,12 +0,0 @@ -{ - "double": "Double", - "float": "Float", - "int64_t": "Int64", - "uint64_t": "UInt64", - "int32_t": "Int32", - "bool": "Bool", - "std::string": "String", - "std::byte": "Data", - "uint32_t": "UInt32", - "repeated": { "prefix": "[", "suffix": "]" } -}