Skip to content

Commit

Permalink
chore: fix cargo toml wanrings (AppFlowy-IO#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
appflowy authored Dec 17, 2024
1 parent 5382ad6 commit 70ce693
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ members = [
resolver = "2"

[workspace.dependencies]
collab = { workspace = true, path = "collab" }
collab-database = { workspace = true, path = "collab-database" }
collab-plugins = { workspace = true, path = "collab-plugins" }
collab-user = { workspace = true, path = "collab-user" }
collab-entity = { workspace = true, path = "collab-entity" }
collab-document = { workspace = true, path = "collab-document" }
collab-folder = { workspace = true, path = "collab-folder" }
collab-importer = { workspace = true, path = "collab-importer" }
collab = { path = "collab" }
collab-database = { path = "collab-database" }
collab-plugins = { path = "collab-plugins" }
collab-user = { path = "collab-user" }
collab-entity = { path = "collab-entity" }
collab-document = { path = "collab-document" }
collab-folder = { path = "collab-folder" }
collab-importer = { path = "collab-importer" }
yrs = { version = "0.21.3", features = ["sync"] }
anyhow = "1.0.94"
thiserror = "1.0.39"
Expand Down
5 changes: 5 additions & 0 deletions collab-entity/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ fn main() -> Result<()> {
proto_files.push(e.path().display().to_string());
}
}

for proto_file in &proto_files {
println!("cargo:rerun-if-changed={}", proto_file);
}

// If the `PROTOC` environment variable is set, don't use vendored `protoc`
std::env::var("PROTOC").map(|_| ()).unwrap_or_else(|_| {
let protoc_path = protoc_bin_vendored::protoc_bin_path().expect("protoc bin path");
Expand Down

0 comments on commit 70ce693

Please sign in to comment.