Define project

This commit is contained in:
silvanshade 2020-03-12 19:49:59 -06:00
parent b22de0d8e7
commit fc54ff754b
10 changed files with 120 additions and 0 deletions

12
.editorconfig Normal file
View file

@ -0,0 +1,12 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.rs]
indent_size = 4

4
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,4 @@
This project is governed by the Contributor Covenant version 2.0
(https://www.contributor-covenant.org/version/2/0/code_of_conduct).
All contributors and participants agree to abide by its terms.
To report violations, send an email to darinmorrison+conduct@gmail.com.

5
Cargo.lock generated Normal file
View file

@ -0,0 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "webassembly-language-server"
version = "0.0.0"

20
Cargo.toml Normal file
View file

@ -0,0 +1,20 @@
[package]
edition = "2018"
name = "webassembly-language-server"
version = "0.0.0"
authors = ["Darin Morrison <darinmorrison@users.noreply.github.com>"]
license = "Apache-2.0 OR MIT"
readme = "README.md"
repository = "https://github.com/darinmorrison/webassembly-language-server"
description = """
A language server implementation for WebAssembly
"""
[badges]
maintenance = { status = "experimental" }
[dependencies]
[workspace]
members = [
]

1
LICENSE Normal file
View file

@ -0,0 +1 @@
SPDX-License-Identifier: Apache-2.0 OR MIT

10
README.md Normal file
View file

@ -0,0 +1,10 @@
<div align="center">
<h1><code>webassembly-language-server</code></h1>
<p>
<strong>A language server implementation for WebAssembly</strong>
</p>
</div>
## Status
Doesn't do much yet.

0
clippy.toml Normal file
View file

1
rust-toolchain Normal file
View file

@ -0,0 +1 @@
1.42.0

64
rustfmt.toml Normal file
View file

@ -0,0 +1,64 @@
# binop_separator = "Front"
# blank_lines_lower_bound = 0
# blank_lines_upper_bound = 1
# brace_style = "SameLineWhere"
# color = "Auto"
# combine_control_expr = true
comment_width = 100
condense_wildcard_suffixes = true
# control_brace_style = "AlwaysSameLine"
# disable_all_formatting = false
edition = "2018"
empty_item_single_line = false
# enum_discrim_align_threshold = 0
error_on_line_overflow = true
error_on_unformatted = true
# fn_args_layout = "Tall"
# fn_single_line = false
force_explicit_abi = false
# force_multiline_blocks = false
format_code_in_doc_comments = true
format_macro_matchers = true
# format_macro_bodies = true
# format_strings = false
# hard_tabs = false
# hide_parse_errors = false
# ignore = []
# imports_indent = "Block"
imports_layout = "HorizontalVertical"
# indent_style = "Block"
# inline_attribute_width = 0
# license_template_path = ""
# match_arm_blocks = true
match_block_trailing_comma = true
max_width = 120
# merge_derives = true
merge_imports = true
newline_style = "Unix"
normalize_comments = true
normalize_doc_attributes = true
overflow_delimited_expr = true
# remove_nested_parens = true
reorder_impl_items = true
# reorder_imports = true
# reorder_modules = true
# report_fixme = "Never"
# report_todo = "Never"
# required_version = "CARGO_PKG_VERSION"
# skip_children = false
# space_after_colon = true
# space_before_colon = false
spaces_around_ranges = true
# struct_field_align_threshold = 0
# struct_lit_single_line = true
# tab_spaces = 4
# trailing_comma = "Vertical"
# trailing_semicolon = true
# type_punctuation_density = "Wide"
unstable_features = true
use_field_init_shorthand = true
# use_small_heuristics = "Max"
use_try_shorthand = true
version = "Two"
# where_single_line = false
wrap_comments = true

3
src/main.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}