You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-22Lines changed: 30 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
-
-[About](#org0eece13)
2
-
-[Benchmark](#orgb0788de)
3
-
-[Examples](#orgcee2ec3)
4
-
-[Multiple languages](#orgc38d3b6)
5
-
-[English, Ukrainian, Greek, etc.](#org3471bf1)
6
-
-[Chinese, Japanese, Thai, etc.](#org9866902)
7
-
-[Append/prepend](#org3300cd3)
8
-
-[Indentation](#orgca55d32)
9
-
-[Trailing notation](#orgb07406f)
10
-
-[License](#org0e4bb09)
1
+
-[About](#org71c9f44)
2
+
-[Benchmark](#org0e2097f)
3
+
-[Features](#orgf7c3364)
4
+
-[Examples(`use_std` feature)](#org9a24038)
5
+
-[Multiple languages](#org4780be6)
6
+
-[English, Ukrainian, Greek, etc.](#org0e9b0e8)
7
+
-[Chinese, Japanese, Thai, etc.](#org3478d81)
8
+
-[Append/prepend](#org18aca0f)
9
+
-[Indentation](#org500ef41)
10
+
-[Trailing notation](#org1fd42b9)
11
+
-[License](#org4c63b79)
11
12
12
13
13
14
14
-
<aid="org0eece13"></a>
15
+
<aid="org71c9f44"></a>
15
16
16
17
# About
17
18
@@ -24,7 +25,7 @@ Bwrap is a fast, lightweight, embedded environment-friendly library for wrapping
24
25
For the sake of readability, we (**b**)etter **wrap** our text.
25
26
26
27
27
-
<aid="orgb0788de"></a>
28
+
<aid="org0e2097f"></a>
28
29
29
30
# Benchmark
30
31
@@ -45,19 +46,26 @@ Note:
45
46
2. The data above is recorded on an i5-3337u/12G machine and is for reference only. It is possible to have a slightly different result on a different machine or with different idle system resource.
46
47
47
48
48
-
<aid="orgcee2ec3"></a>
49
+
<aid="orgf7c3364"></a>
49
50
50
-
# Examples
51
+
# Features
51
52
53
+
`use_std`: Use Rust standard library(libstd) for automatic memory management.
52
54
53
-
<aid="orgc38d3b6"></a>
55
+
56
+
<aid="org9a24038"></a>
57
+
58
+
# Examples(`use_std` feature)
59
+
60
+
61
+
<aid="org4780be6"></a>
54
62
55
63
## Multiple languages
56
64
57
65
Bwrap suuport multiple languages, it categorizes languages into two categories: **space-sensitive** and **space-insensitive**. The former is for the languages that depend on ASCII SPACE to delimit words, such as English, Ukrainian, Greek and so on. The latter is for the languages that are space-insensitive, such as Chinese, Japanese, Thai and so on.
58
66
59
67
60
-
<aid="org3471bf1"></a>
68
+
<aid="org0e9b0e8"></a>
61
69
62
70
### English, Ukrainian, Greek, etc.
63
71
@@ -134,7 +142,7 @@ Bwrap suuport multiple languages, it categorizes languages into two categories:
134
142
```
135
143
136
144
137
-
<a id="org9866902"></a>
145
+
<a id="org3478d81"></a>
138
146
139
147
### Chinese, Japanese, Thai, etc.
140
148
@@ -211,14 +219,14 @@ Bwrap suuport multiple languages, it categorizes languages into two categories:
211
219
```
212
220
213
221
214
-
<a id="org3300cd3"></a>
222
+
<a id="org18aca0f"></a>
215
223
216
224
## Append/prepend
217
225
218
226
Bwrap can append or prepend whatever string to newly added newline character. With this feature, one can effectively achieve indentation, line trailing notation or similar.
Bwrap can be licensed under either [MIT License](https://github.com/imichael2e2/bwrap/blob/master/LICENSE-MIT) or [GNU General Public License Version 3.0](https://github.com/imichael2e2/bwrap/blob/master/LICENSE-GPL). The choice is up to the recipient.
303
+
Bwrap can be licensed under either [MIT License](https://github.com/imichael2e2/bwrap/blob/master/LICENSE-MIT) or [GNU General Public License Version 3.0](https://github.com/imichael2e2/bwrap/blob/master/LICENSE-GPL). The choice is up to the recipient.
Bwrap can be licensed under either [[https://github.com/imichael2e2/bwrap/blob/master/LICENSE-MIT][MIT License]] or [[https://github.com/imichael2e2/bwrap/blob/master/LICENSE-GPL][GNU General
285
290
Public License Version 3.0]]. The choice is up to the recipient.
0 commit comments