-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor mavlink-dump. Change from [[bin]] to [[example]].
Splitting the example has the following benefits: - Faster normal compilation for library use - Easier to retain compilation incremental files (faster re-compilation times) - Cleaner library src/ directory - no_std/std definitions and imports can be removed from the mavlink-dump example - Executable name changes from mavlink -> mavlink-dump. More precise to locate and guess what it is for Disadvantage: - Installation time for the example is increased, but it is something rarely done
- Loading branch information
1 parent
76a2813
commit 48c015f
Showing
3 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[package] | ||
name = "mavlink-dump" | ||
authors = [ | ||
"Patrick José Pereira <[email protected]>", | ||
] | ||
license = "MIT/Apache-2.0" | ||
edition = "2018" | ||
version = "0.1.0" | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
lto = true # Performs "fat" LTO which attempts to perform optimizations across all crates within the dependency graph | ||
|
||
[dependencies.mavlink] # MAVLink library | ||
path = "../../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters