summaryrefslogtreecommitdiffstats
path: root/generator/plugins/rust/rust_file_header.py
diff options
context:
space:
mode:
Diffstat (limited to 'generator/plugins/rust/rust_file_header.py')
-rw-r--r--generator/plugins/rust/rust_file_header.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/generator/plugins/rust/rust_file_header.py b/generator/plugins/rust/rust_file_header.py
new file mode 100644
index 0000000..4928260
--- /dev/null
+++ b/generator/plugins/rust/rust_file_header.py
@@ -0,0 +1,15 @@
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License.
+
+from typing import List
+
+
+def license_header() -> List[str]:
+ return [
+ "Copyright (c) Microsoft Corporation. All rights reserved.",
+ "Licensed under the MIT License.",
+ ]
+
+
+def package_description() -> List[str]:
+ return ["Language Server Protocol types for Rust generated from LSP specification."]