Skip to content

Commit add4d17

Browse files
committed
initial: add 'freq' cmd
0 parents  commit add4d17

File tree

8 files changed

+531
-0
lines changed

8 files changed

+531
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# .editorconfig
2+
# http://editorconfig.org/
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
indent_size = 2
10+
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.rs]
15+
indent_size = 4
16+
17+
[*.md]
18+
# Preserve trailing whitespace for Markdown files
19+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Original at: https://github.com/scala/scala/blob/master/.gitattributes
2+
# fallback on built-in heuristics
3+
# this must be first so later entries will override it
4+
* text=auto
5+
6+
# These files are text and should be normalized (convert crlf => lf)
7+
*.c text
8+
*.check text
9+
*.conf text
10+
*.css text
11+
*.flags text
12+
*.html text
13+
*.js text
14+
*.policy text
15+
*.rs text
16+
*.sh text
17+
*.txt text
18+
*.xml text
19+
20+
# Windows-specific files get windows endings
21+
*.bat eol=crlf
22+
*.cmd eol=crlf
23+
24+
# Some binary file types for completeness
25+
# (binary is a macro for -text -diff)
26+
*.so binary
27+
*.dll binary
28+
*.gif binary
29+
*.jar binary
30+
*.jpg binary
31+
*.png binary

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea
2+
.vscode
3+
4+
/target
5+
**/*.rs.bk

.rustfmt.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
condense_wildcard_suffixes = true
2+
hard_tabs = false
3+
indent_style = "Visual"
4+
imports_layout = "HorizontalVertical"
5+
merge_imports = true
6+
tab_spaces = 4
7+
use_try_shorthand = true

Cargo.lock

Lines changed: 309 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "freq"
3+
version = "0.1.0"
4+
authors = ["Alexey Shuksto <[email protected]>"]
5+
edition = "2018"
6+
7+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8+
9+
[dependencies]
10+
clap = "3.0.0-beta.1"
11+
fnv = "1"
12+
regex = "1"

0 commit comments

Comments
 (0)