First PR angled towards #70. In evaluating the existing API, the lifetime of on StyleSource, existing only for the parser feature, has been removed. Raw css now gets parsed eagerly and early during conversion into a StyleSource. The feature gated From<str>, ... impls have been changed to TryFrom<str>, ...
This doesn't change the usage for the average user working with css! and other macros. Most of the time (even in existing API) the lifetime was assumed to be 'static anyway.
First PR angled towards #70. In evaluating the existing API, the lifetime of on
StyleSource
, existing only for theparser
feature, has been removed. Raw css now gets parsed eagerly and early during conversion into aStyleSource
. The feature gatedFrom<str>
, ... impls have been changed toTryFrom<str>
, ...This doesn't change the usage for the average user working with
css!
and other macros. Most of the time (even in existing API) the lifetime was assumed to be'static
anyway.