connorskees
942bb20d75
revert float formatting change
...
this change does fix more number tests, but i'm not certain that
it doesn't break cases we don't test for.
it only solves extremely niche edge cases, so for now reverting
until we can be more certain in a later release
2023-02-01 02:42:19 +00:00
Roland Fredenhagen
1e440a0d2c
fix calc whitespace ( #71 )
2023-01-31 18:57:10 -05:00
connorskees
45ad97e0be
fix typo in docs
2023-01-25 03:35:46 +00:00
connorskees
40d2aa232a
improve code coverage
2023-01-21 23:06:43 +00:00
connorskees
5889859968
increase selector code coverage
2023-01-20 22:59:27 +00:00
connorskees
d0d9459d8e
improve compressed output for selectors and colors
2023-01-18 05:55:55 +00:00
connorskees
3b7f4dd039
use compressed output in doc example
...
makes this feature more discoverable, as it's typically what users want
2023-01-18 02:17:35 +00:00
connorskees
23abe152bd
increase code coverage
2023-01-18 01:39:40 +00:00
saolof
ef7d188062
Add profile to generate a small final binary ( #68 )
...
adds `profile.small`, which optimizes for binary size instead of runtime performance
2023-01-17 01:07:20 -05:00
connorskees
0de3d2709f
resolve all failing color spec tests
2023-01-17 05:22:34 +00:00
connorskees
a7c2ca7b82
clippy
2023-01-16 22:32:03 +00:00
connorskees
f5a654fe5b
simplify builtin fn argument handling
2023-01-16 06:46:56 +00:00
connorskees
95efc582b5
naively cache imports in certain cases
2023-01-11 14:59:28 +00:00
connorskees
3cb5e66fda
resolve edge case when interpolated parent selector expands to be larger than source span _and_ it contains an escaped character
2023-01-11 01:10:36 +00:00
connorskees
0ec8616e11
add Sass documentation link to readme
2023-01-09 01:51:54 +00:00
connorskees
68b1ee0d1d
allocate arg vec with capacity during eval
2023-01-09 01:51:54 +00:00
Connor Skees
1052005ab6
update readme path
2023-01-08 12:06:58 -05:00
Connor Skees
fb1a18f259
explicit version for compiler dependency
2023-01-08 11:05:36 -05:00
Connor Skees
7b284f1da7
rustfmt
2023-01-08 10:57:00 -05:00
Connor Skees
a6f8b73324
rename compiler crate
2023-01-08 10:52:53 -05:00
connorskees
2a9e20d037
clippy
2023-01-08 15:35:18 +00:00
connorskees
0902851862
simplify div and modulo implementations
2023-01-08 15:25:18 +00:00
connorskees
f321f36faf
reduce cloning in argument evaluation
2023-01-08 15:05:59 +00:00
connorskees
bf0d912dc8
clippy
2023-01-08 00:33:39 +00:00
connorskees
3c1b14406a
convert to workspace
2023-01-07 19:47:32 +00:00
connorskees
1f873e1f0e
bump version to 0.12.1
2023-01-07 17:58:49 +00:00
connorskees
1474c3bafc
fix failing doc test
2023-01-07 17:39:41 +00:00
connorskees
afba0dd993
fix CI, rustfmt
2023-01-07 17:32:51 +00:00
connorskees
d7962e02be
fix include_sass test
2023-01-07 17:08:42 +00:00
connorskees
16ad7298fe
lazily compute token spans
2023-01-07 08:56:24 +00:00
connorskees
4f6bff8716
put more things in Arc
2023-01-07 08:02:57 +00:00
connorskees
02d36f872a
split binop into separate struct
2023-01-07 07:03:35 +00:00
connorskees
190201bcce
use Arc instead of Box inside AstExpr
...
speeds up bootstrap by ~15-20%
2023-01-07 06:48:28 +00:00
connorskees
f20c000b54
is_true => is_truthy
2023-01-07 05:31:13 +00:00
connorskees
ae88b3ed24
optimize has_following_sibling
2023-01-07 04:48:38 +00:00
connorskees
d14e6bd9f7
unify serialization and inspection
2023-01-07 04:17:05 +00:00
connorskees
d8867e42db
hide macro internals from rust-analyzer autocomplete
2023-01-06 11:19:16 +00:00
connorskees
8095c2345e
add compile time macro
2023-01-06 10:58:12 +00:00
connorskees
34bbe4cd32
more robust support for @forward
prefixes, more code coverage
2023-01-03 23:25:51 +00:00
connorskees
65c1a9e833
improve code coverage, handle more builtin fn edge cases
2023-01-03 04:33:56 +00:00
Connor Skees
753c4960ca
increase code coverage
2022-12-29 17:56:22 -05:00
Connor Skees
593f14e1c0
add test for interpolation in @include
2022-12-29 03:02:05 -05:00
Connor Skees
e237fb1f6d
better span when missing expression
2022-12-29 00:21:17 -05:00
Connor Skees
39c992a2eb
bump version to 0.12.0
2022-12-28 22:34:58 -05:00
Connor Skees
02bca8bc49
update docs
2022-12-28 22:32:18 -05:00
Connor Skees
743ad7a340
increase code coverage
2022-12-28 21:42:58 -05:00
Connor Skees
6cd208f41d
make crate compatible with 1.56.0
2022-12-28 17:57:11 -05:00
Connor Skees
9b6623190d
allow escaped non-alphanumeric bytes in media queries
2022-12-28 17:09:55 -05:00
Connor Skees
e5da366fac
unify color checking in builtin color fns
2022-12-28 16:45:06 -05:00
Connor Skees
494acb9933
update error message in test
2022-12-28 15:58:49 -05:00