Kogia-sima
09685646ae
Add documentation sources
2020-06-09 21:19:59 +09:00
Kogia-sima
c86effe90f
Remove unused function
2020-06-08 22:34:59 +09:00
Kogia-sima
7848f34e37
impl Render for bool
2020-06-08 20:24:28 +09:00
Kogia-sima
28116fc125
Paste benchmark results collected on Cloud
2020-06-08 16:39:28 +09:00
Kogia-sima
bbb524952a
Use ERB for syntax highlighting in README
...
[skip ci]
2020-06-08 13:14:09 +09:00
Kogia-sima
0162e44ff8
Remove unused code
2020-06-07 23:23:45 +09:00
Kogia-sima
eeeb47ed84
Remove #[allow(dead_code)] for function
2020-06-07 23:20:36 +09:00
Kogia-sima
d3320d41f0
Add test for nested comment block
2020-06-07 23:19:27 +09:00
Kogia-sima
3f727b0451
Add receiver coercion test
2020-06-07 23:14:54 +09:00
Kogia-sima
c5fc4a64a6
Use `escape_to_string` in tests
2020-06-07 23:01:24 +09:00
Kogia-sima
63186cb15f
Add test for fallback HTML escaping implementation
2020-06-07 22:57:43 +09:00
Kogia-sima
f103f6e4ba
Fix fallback implementation for HTML escaping
2020-06-07 22:57:21 +09:00
Kogia-sima
09ded92800
Merge branch 'feature/coverage'
...
[skip appveyor]
2020-06-07 22:30:19 +09:00
Kogia-sima
c537cdba3b
Add codecov badge
2020-06-07 22:29:49 +09:00
Kogia-sima
5416f8ca14
Fix error caused by -Cpanic=abort option
...
[skip appveyor]
2020-06-07 22:21:33 +09:00
Kogia-sima
d43e4c0551
Add script to collect coverage on Travis CI
2020-06-07 22:14:32 +09:00
Kogia-sima
17594088ae
Rename test file (basic.rs => template_once.rs)
...
[skip ci]
2020-06-07 21:48:52 +09:00
Kogia-sima
c601be94c1
Add some compile failure tests
2020-06-07 21:38:49 +09:00
Kogia-sima
e19ef51f39
Suppress unused import warning
2020-06-07 21:12:02 +09:00
Kogia-sima
5c7065a411
Use proc_macro2::fallback::force() API
...
This api forces the use of proc-macro2's fallback implementation. This
allows to keep span information during parsing.
2020-06-07 20:52:38 +09:00
Kogia-sima
2e1b9b2c87
Specify proc-macro2 version
...
This specification is required to use `fallback::force()` API.
2020-06-07 20:42:55 +09:00
Kogia-sima
40ca8ef5f0
Remove unstability warning from README
...
[skip ci]
2020-06-07 19:58:56 +09:00
Kogia-sima
69d7d6c39c
Bump version (0.0.2 => 0.0.3)
2020-06-07 19:14:23 +09:00
Kogia-sima
e12e42e15a
Remove `impl<T: Display> Render for &T`
...
This specialization should be discussed more deeply. This specialization
is very useful when you want to render the non-specialized types such as
url::Url. However, when you write a reference type inside templates,
that fallbacks to non-specialized call, which is slower than specialized
call.
2020-06-07 18:57:51 +09:00
Kogia-sima
fd3d224067
Refactor source code with rustfmt and clippy
...
[skip ci]
2020-06-07 17:58:52 +09:00
Kogia-sima
06c2d10255
Update README
2020-06-07 13:41:08 +09:00
Kogia-sima
37c4e4d11d
Merge branch 'feature/rm-whitespace'
2020-06-07 13:14:11 +09:00
Kogia-sima
d9a4d8f019
Update benchmark result
2020-06-07 13:13:48 +09:00
Kogia-sima
908b20f5e7
Use `rm_whitespace` in benchmark
2020-06-07 13:10:40 +09:00
Kogia-sima
7324165ab0
Add test for rm_whitespace option
2020-06-07 13:00:28 +09:00
Kogia-sima
61ff466976
Add `rm_whitespace` option
2020-06-07 13:00:28 +09:00
Kogia-sima
9c4b6352d5
Add rm_whitespace option
2020-06-07 13:00:28 +09:00
Kogia-sima
737733ee47
Merge branch 'perf/raw-buffer'
2020-06-07 12:58:02 +09:00
Kogia-sima
09646cd685
Add test for string conversion
2020-06-07 12:57:15 +09:00
Kogia-sima
3114cb37e2
Re-implement Buffer with raw memory operations
2020-06-07 12:48:18 +09:00
Kogia-sima
0a597796bd
Update benchmark result
...
[skip ci]
2020-06-07 11:49:19 +09:00
Kogia-sima
94e7ce2e8a
TODO comments
...
[skip ci]
2020-06-07 11:49:15 +09:00
Kogia-sima
0f0529684a
Add appveyor badge
...
[skip ci]
2020-06-07 05:48:43 +09:00
Kogia-sima
04b5b09207
Ignore include-nest tests on Windows
...
On Windows the main separator for paths is '\\', and include! macro
should be regarded as platform-specific path. In the future sailfish
add the corresponding tests for Windows.
2020-06-07 05:43:17 +09:00
Kogia-sima
f0cd89a949
Add actix-web example
...
[skip ci]
2020-06-07 05:36:21 +09:00
Kogia-sima
3a9260f2a7
Add appveyor.yml
...
[skip travis]
2020-06-07 05:04:21 +09:00
Kogia-sima
82f7b7a64a
Add Travis CI badge
...
[skip ci]
2020-06-07 05:01:58 +09:00
Kogia-sima
c3e1eb45ce
Add .travis.yml
2020-06-07 04:57:00 +09:00
Kogia-sima
de2b164aa0
Integration tests for benchmark code
2020-06-07 04:55:22 +09:00
Kogia-sima
f3c9a21140
Resolve include! for Rust file correctly
2020-06-07 04:53:49 +09:00
Kogia-sima
6f721790b5
Add integration-tests/README.md
2020-06-07 04:07:42 +09:00
Kogia-sima
b24861e158
Skip attribute if it is not wrapped with `template`
2020-06-07 03:44:30 +09:00
Kogia-sima
5b6b48f204
Update include-nest test for 76abe1c
2020-06-07 03:23:34 +09:00
Kogia-sima
76abe1c0ac
Pop include path stack
2020-06-07 03:21:17 +09:00
Kogia-sima
e7c0992568
Export compiler config struct
2020-06-07 03:20:01 +09:00
Kogia-sima
307f44d910
Add docs.rs badge
2020-06-07 01:34:36 +09:00
Kogia-sima
d3ee38c6f2
Update test for commit 6d07c43
2020-06-07 01:28:17 +09:00
Kogia-sima
6d07c43876
Strip the brake line at end of file
2020-06-07 01:25:52 +09:00
Kogia-sima
f116941904
Merge branch 'feature/include'
2020-06-07 00:56:05 +09:00
Kogia-sima
8e5b76f2ab
Ignore include! for rust file
2020-06-07 00:52:53 +09:00
Kogia-sima
4b1fd92488
Add 'include-nest' test
2020-06-07 00:49:50 +09:00
Kogia-sima
7d77b755c6
Resolve child template path inside resolver
2020-06-07 00:43:10 +09:00
Kogia-sima
64ded9616a
resolve to relative path in include! by default
2020-06-06 23:43:41 +09:00
Kogia-sima
cd8e3d832a
Add integration test for include!
2020-06-06 23:21:38 +09:00
Kogia-sima
c618f19cb6
Add example using include! macro
2020-06-06 22:49:27 +09:00
Kogia-sima
12174ff5c5
Implement include! macro
2020-06-06 22:49:01 +09:00
Kogia-sima
188e90cfc3
Merge branch 'docs/minimal'
2020-06-06 19:27:07 +09:00
Kogia-sima
63bd49dba5
Bump version (sailfish 0.0.1 => 0.0.2)
2020-06-06 19:26:32 +09:00
Kogia-sima
6ee8f147a2
Add minimal documents for sailfish
2020-06-06 19:25:15 +09:00
Kogia-sima
feef1d7cb5
Fix a typo
2020-06-06 18:48:48 +09:00
Kogia-sima
1ef8ca0041
License annotation for benchmarks
2020-06-06 18:46:12 +09:00
Kogia-sima
27817e7f6a
Merge branch 'benchmark'
2020-06-06 18:29:23 +09:00
Kogia-sima
5d25521eb7
Add links to benchmark directory
2020-06-06 18:28:56 +09:00
Kogia-sima
227140b34d
Add benches/ directory
2020-06-06 18:28:14 +09:00
Kogia-sima
ffab699ea3
Remove benchmark code
...
due to license issue, original benchmark code (https://github.com/djc/template-benchmarks-rs ) cannot be used.
2020-06-06 13:01:52 +09:00
Kogia-sima
420d83521c
Add Config struct
2020-06-06 11:58:14 +09:00
Kogia-sima
cd709be6e4
Add some badges
2020-06-05 23:42:06 +09:00
Kogia-sima
08dacdd263
Add source code
2020-06-05 22:31:38 +09:00