micro: set repistory for packages

micro: fmt

micro: set repistory for packages

micro: release.toml

micro: prepare for crates publish. Im crazy

micro: prepare for crates publish. Im crazy

micro: prepare for crates publish. Im crazy

micro: prepare for crates publish. Im crazy

micro: prepare for crates publish. Im crazy
This commit is contained in:
Yiffy Dev 2024-10-30 17:51:49 +05:00 • committed by spushk
commit 29c7d0b6c9
Signed by: spushk
GPG key ID: 7797B761E105E8AA
2 changed files with 74 additions and 108 deletions

View file

@ -1,7 +1,7 @@
use proc_macro2::TokenStream;
use quote::quote;
use syn::{parse::Parse, Ident};
use regex::Regex;
use syn::{parse::Parse, Ident};
use super::{ArbitraryStyleBlock, ArbitraryStyleSyntax};
@ -50,7 +50,10 @@ impl Parse for MacroSyntax {
// this is because of how parsing works. Need to find more elegant way though
// TODO: find a more elegant way
code.code = Regex::new("\n ").expect("BUG: failed to build regex for indentation SASS").replace_all(&code.code, "\n").to_string();
code.code = Regex::new("\n ")
.expect("BUG: failed to build regex for indentation SASS")
.replace_all(&code.code, "\n")
.to_string();
Ok(Self {
ident,
@ -61,6 +64,4 @@ impl Parse for MacroSyntax {
}
#[cfg(test)]
mod test {
}
mod test {}

View file

@ -1,3 +1,5 @@
#![doc = include_str!("../README.md")]
// Moving this to separate crate, cuz I don't wanna to reimplement that parsing again for build magic
// Also, because I can.