Skip to content

Commit

Permalink
fix: warnings and feature macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Jul 15, 2024
1 parent ed00f15 commit ba552f7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/src/vector/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub mod convert;
#[cfg(feature = "flat-vector")]
pub mod incr;
pub mod ir;
pub mod pass;
Expand Down
1 change: 1 addition & 0 deletions crates/reflexo/src/vector/ir/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ pub struct FlatModule {
pub metadata: Vec<ModuleMetadata>,

#[cfg_attr(feature = "rkyv", with(rkyv::with::Skip))]
#[allow(unused)]
meta_indices: [once_cell::sync::OnceCell<usize>; META_INDICES_MAX],
}

Expand Down
4 changes: 2 additions & 2 deletions exporter/svg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ comemo.workspace = true
tiny-skia.workspace = true
base64.workspace = true

typst-ts-core.workspace = true
reflexo = { workspace = true, features = ["flat-vector"] }
typst-ts-core = { workspace = true, features = ["flat-vector"] }
reflexo.workspace = true
reflexo-vec2canvas = { workspace = true, optional = true }
log.workspace = true
siphasher.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion scripts/publish.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@


import subprocess
import sys

pub = ["cargo", "publish", "-p"]
pub = ["cargo", "publish", *sys.argv[1:], "-p"]
feats = ["--features", "no-content-hint"]
subprocess.run([*pub, "reflexo"])
subprocess.run([*pub, "reflexo-vfs"])
Expand Down

0 comments on commit ba552f7

Please sign in to comment.