chore: rebuild readmd

This commit is contained in:
2020-10-17 12:14:53 +08:00
parent f1d3ca5969
commit 9430fd5b1a
5 changed files with 132 additions and 113 deletions

115
README.md
View File

@@ -1,3 +1,116 @@
# simple-rust-tests
Simple Rust Tests
Simple Rust Tests
```
.
├── LICENSE
├── README.md
├── README_template.md
├── __c_cpp
│   ├── c_export
│   └── cpp
├── __crypto
│   ├── btc-address
│   ├── crypto
│   ├── jsonwebtoken
│   ├── pwhash
│   ├── random
│   ├── ring
│   ├── secp256k1
│   └── totp
├── __database
│   ├── rusqlite
│   └── sled
├── __diff
│   ├── diffy
│   └── prettydiff
├── __err
│   ├── err_derive
│   └── quick_error
├── __ffi
│   ├── jni
│   └── live-reload-rust
├── __image
│   └── svg
├── __lang
│   ├── peg
│   ├── pest
│   ├── quickjs
│   └── sana
├── __misc
│   ├── lazy_static
│   ├── num_cpus
│   ├── regex
│   ├── smartstring
│   └── walkdir
├── __network
│   ├── tcp
│   └── udp_laminar
├── __search
│   ├── simsearch
│   └── tantivy
├── __serialization
│   ├── bytes
│   ├── csv
│   ├── encoding
│   ├── flatbuffers
│   └── serde_json
├── __std
│   ├── async_await
│   ├── into
│   ├── iter
│   ├── ops
│   └── thread
├── __term
│   ├── colored_msg
│   ├── indicatif
│   └── term
├── __time
│   ├── chrono
│   └── iron
├── __wasm
│   ├── wasi
│   └── wasm
├── __web
│   ├── actix-web
│   ├── actix_rustls
│   ├── hyperrs
│   ├── meter_proxy
│   ├── pencil
│   ├── reqwest
│   ├── rweb
│   ├── sincere
│   └── warp
├── build_readme.js
├── build_summary
├── scripts
│   └── commit-msg.crs
├── single_file_tests
│   ├── 99.htm
│   ├── 99.rs
│   ├── chain.rs
│   ├── closure.rs
│   ├── core_macro.rs
│   ├── display.rs
│   ├── for.rs
│   ├── format.rs
│   ├── input.rs
│   ├── lifecycle_str.rs
│   ├── list.rs
│   ├── loop.rs
│   ├── make_executable.rs
│   ├── match.rs
│   ├── rc.rs
│   ├── ref_n_and.rs
│   ├── sample.txt
│   ├── slice.rs
│   ├── time.rs
│   ├── vec.rs
│   └── while.rs
└── summary.md
77 directories, 28 files
```

8
README_template.md Normal file
View File

@@ -0,0 +1,8 @@
# simple-rust-tests
Simple Rust Tests
```
$$TREE_L2$$
```

10
build_readme.js Executable file
View File

@@ -0,0 +1,10 @@
#! /usr/bin/env runjs
var main = () => {
var readmeTemplate = __.rfile.from('README_template.md').string();
var tree = $$.shell().sh('tree -L 2').start()[0];
__.rfile.from('README.md').write(readmeTemplate.replace('$$TREE_L2$$', tree));
};
main();

View File

@@ -1,4 +0,0 @@
echo '```' > summary.md
tree -L 2 >> summary.md
echo '```' >> summary.md

View File

@@ -1,108 +0,0 @@
```
.
├── LICENSE
├── README.md
├── __c_cpp
│   ├── c_export
│   └── cpp
├── __crypto
│   ├── btc-address
│   ├── crypto
│   ├── jsonwebtoken
│   ├── pwhash
│   ├── random
│   ├── ring
│   ├── secp256k1
│   └── totp
├── __database
│   ├── rusqlite
│   └── sled
├── __diff
│   ├── diffy
│   └── prettydiff
├── __err
│   ├── err_derive
│   └── quick_error
├── __ffi
│   ├── jni
│   └── live-reload-rust
├── __image
│   └── svg
├── __lang
│   ├── peg
│   ├── pest
│   ├── quickjs
│   └── sana
├── __misc
│   ├── lazy_static
│   ├── num_cpus
│   ├── regex
│   ├── smartstring
│   └── walkdir
├── __network
│   ├── tcp
│   └── udp_laminar
├── __search
│   ├── simsearch
│   └── tantivy
├── __serialization
│   ├── bytes
│   ├── csv
│   ├── encoding
│   ├── flatbuffers
│   └── serde_json
├── __std
│   ├── async_await
│   ├── into
│   ├── iter
│   ├── ops
│   └── thread
├── __term
│   ├── colored_msg
│   ├── indicatif
│   └── term
├── __time
│   ├── chrono
│   └── iron
├── __wasm
│   ├── wasi
│   └── wasm
├── __web
│   ├── actix-web
│   ├── actix_rustls
│   ├── hyperrs
│   ├── meter_proxy
│   ├── pencil
│   ├── reqwest
│   ├── rweb
│   ├── sincere
│   └── warp
├── build_summary
├── scripts
│   └── commit-msg.crs
├── single_file_tests
│   ├── 99.htm
│   ├── 99.rs
│   ├── chain.rs
│   ├── closure.rs
│   ├── core_macro.rs
│   ├── display.rs
│   ├── for.rs
│   ├── format.rs
│   ├── input.rs
│   ├── lifecycle_str.rs
│   ├── list.rs
│   ├── loop.rs
│   ├── make_executable.rs
│   ├── match.rs
│   ├── rc.rs
│   ├── ref_n_and.rs
│   ├── sample.txt
│   ├── slice.rs
│   ├── time.rs
│   ├── vec.rs
│   └── while.rs
└── summary.md
77 directories, 26 files
```