silkenweb_css/transpile-disabled.rs
1use super::{Css, NameMapping, Transpile, TranspileError};
2
3pub struct Version {}
4
5impl Version {
6 pub fn new(_major: u8, _minor: u8, _patch: u8) -> Self {
7 Self {}
8 }
9}
10
11pub fn transpile(
12 _source: &mut Css,
13 _validate: bool,
14 _transpile: Option<Transpile>,
15) -> Result<Option<Vec<NameMapping>>, TranspileError> {
16 Err(TranspileError::Disabled)
17}