Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ futures = { version = "0.3", default-features = false }
futures-core = { version = "0.3", default-features = false }
futures-util = { version = "0.3", default-features = false }
glob = "0.3"
grass = { version = "0.13.4", default-features = false }
grass_compiler = { version = "0.13.4", default-features = false }
heck = "0.5"
hex = "0.4"
http = "1.4"
Expand Down
6 changes: 3 additions & 3 deletions cot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ trybuild.workspace = true

[build-dependencies]
ahash.workspace = true
grass.workspace = true
grass_compiler.workspace = true

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[package.metadata.cargo-machete]
ignored = [
# Used indirectly by `grass`, but it doesn't work with the latest versions of Rust if minimal dependency versions
# are used
# Used indirectly by `grass_compiler`, but it doesn't work with the latest versions of Rust if minimal dependency
# versions are used
"ahash",
# Used by `lettre`, but it causes dependency issues if minimal dependency versions are used
"chumsky",
Expand Down
6 changes: 3 additions & 3 deletions cot/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn build_css() {

println!("cargo::rerun-if-changed={scss_path}");

let css = grass::from_path(scss_path, &options).expect("failed to compile SCSS");
let css = grass_compiler::from_path(scss_path, &options).expect("failed to compile SCSS");

let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR should be set");
let css_path = PathBuf::from(out_dir).join(css_file);
Expand All @@ -35,6 +35,6 @@ fn build_css() {
}
}

fn scss_options() -> grass::Options<'static> {
grass::Options::default().style(grass::OutputStyle::Compressed)
fn scss_options() -> grass_compiler::Options<'static> {
grass_compiler::Options::default().style(grass_compiler::OutputStyle::Compressed)
}
Loading