Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
check async rust feature on build
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Feb 26, 2024
1 parent 23182d6 commit ddd55a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ void BuildRust(StringBuilder sb)
{
RunProcess(sb, "cargo", "check", Path.Combine(projectDir, "for-rust"));
RunProcess(sb, "cargo", "check --features cli", Path.Combine(projectDir, "for-rust"));
RunProcess(sb, "cargo", "check --features async", Path.Combine(projectDir, "for-rust"));
RunProcess(sb, "cargo", "test --features cli", Path.Combine(projectDir, "for-rust"));
}

Expand Down Expand Up @@ -184,7 +185,7 @@ void RunAll(params Action<StringBuilder>[] actions)
sw.Start();
action(sb);
sw.Stop();
Log($"Completed: {name} in {sw.ElapsedMilliseconds}ms");
Log($"Completed: {name} in {sw.Elapsed.TotalSeconds}s");
}
catch (Exception ex)
{
Expand Down
2 changes: 1 addition & 1 deletion for-rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! # Velopack
//! Velopack is a auto-update and installation framework for cross-platform desktop applications.
//! [Velopack](https://velopack.io) is a auto-update and installation framework for cross-platform desktop applications.
//! With less than 10 lines of code, you can add auto-update and installation features to your application.
//!
//! ## Features
Expand Down

0 comments on commit ddd55a1

Please sign in to comment.