14 Commits

Author SHA1 Message Date
Matyáš Pokorný
a1ca700bff
Add logger trait (#93)
Introduced a new `Logger` trait which can be used to access all log events
emitted during compilation. Currently these only include messages emitted by the
`@debug` and `@warn` statements.

Changes were implemented in a backwards-compatible manner, but the current
`Options::quiet` method has been marked as deprecated, as its behavior can be
achieved using the `NullLogger` structure. The default logger used is
`StdLogger` which writes all log events to standard error. This reflect the
default behavior prior to introduction of `Logger`.

With these new changes, it is also now possible to properly test the `@debug`
and `@warn` statements.
2024-05-18 23:44:40 -04:00
Kevin Wenner
f7f620e44d
Fix @forward statement altering the scope of the forwarded module (#85)
* avoid mutating forwarded module scope

* fix by adding scope to ForwardedModule instead

- add a test reproducing the issue

* fix verbose and no-color sass cli flags
2023-09-27 22:15:46 -07:00
Connor Skees
4c903ddb2a bump clap version to 4.x.x 2023-07-14 16:04:25 +00:00
Connor Skees
5b6a06d3c8 resolve remaining clap deprecations 2023-07-14 15:45:40 +00:00
Connor Skees
95d09192cd fix some clap deprecation warnings 2023-07-14 15:21:18 +00:00
Connor Skees
2958b92e82 bump clap version to 3.x.x 2023-07-13 19:46:58 +00:00
Connor Skees
69e0938b01 ignore more false positive clippy lints 2023-07-09 23:32:13 +00:00
Connor Skees
346b8c127b allow building docs with stable rust compiler 2023-06-30 06:22:25 +00:00
Connor Skees
c1144cf715 remove glob re-export 2023-02-18 12:06:55 -05:00
connorskees
45ad97e0be fix typo in docs 2023-01-25 03:35:46 +00:00
connorskees
23abe152bd increase code coverage 2023-01-18 01:39:40 +00:00
Connor Skees
a6f8b73324 rename compiler crate 2023-01-08 10:52:53 -05: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