-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Writing unsafe code is difficult and should generally be avoided. When using unsafe code is necessary, it is ideal if it can be delegated to public crates that can be tested and audited by multiple developers. This commit consistently forbids unsafe code in crates where it is not necessary to serve as a reminder that it should probably be avoided in the future and that the intention of this project is to provide safe abstractions that allow application authors to avoid unsafe code in their applications. `apps-aarch64.checksum`: - I think the reason why the checksums change is that the line numbers have changed.
- Loading branch information
1 parent
40446c2
commit 185f935
Showing
24 changed files
with
34 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
0018f1c3b46545bebbef794b68900c254a7785e7 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap | ||
10227865e8dadfeeda0e4a3c1a0d88ed18bc019a target-aarch64/acap/bounding_box_example_0_0_0_aarch64.eap | ||
c11772e7188d741a7a13225dbb14c8e059aee060 target-aarch64/acap/consume_analytics_metadata_0_0_0_aarch64.eap | ||
51f9e2ce6cfc81264afa310c9c51ee05ff45666d target-aarch64/acap/embedded_web_page_0_0_0_aarch64.eap | ||
da794d700cc407d5692e7387e5f8af3a56c29bea target-aarch64/acap/hello_world_0_0_0_aarch64.eap | ||
df34073ade39bb4331ae5cc550616f41a7dc0efa target-aarch64/acap/inspect_env_0_0_0_aarch64.eap | ||
fc9fb4feab60aee66ae038003cabc1c84ac095e1 target-aarch64/acap/licensekey_handler_0_0_0_aarch64.eap | ||
325db11bbaf07e7c0e89cb0bf2f336a1ee68d462 target-aarch64/acap/reverse_proxy_0_0_0_aarch64.eap | ||
877e8ab707cd7652a5a15243b9c934a3941168c5 target-aarch64/acap/send_event_1_0_0_aarch64.eap | ||
aaa472d88219f8117020b76c2f37906f25f49d14 target-aarch64/acap/using_a_build_script_0_0_0_aarch64.eap | ||
f7b952e221c94d5e53ee3faac156c0e7e7a91477 target-aarch64/acap/vapix_access_0_0_0_aarch64.eap | ||
12a30609c7fa463e1e8d0405665d2aa17d4349c4 target-aarch64/acap/axstorage_example_0_0_0_aarch64.eap | ||
6db963922ca2ceb25715bbdb6445b504c307d432 target-aarch64/acap/bounding_box_example_0_0_0_aarch64.eap | ||
f99e344e5bf6fc4cd59715b9a4b784a83df27342 target-aarch64/acap/consume_analytics_metadata_0_0_0_aarch64.eap | ||
ad1142937ed6e2d4f2a1f4cb0fdae721a0744750 target-aarch64/acap/embedded_web_page_0_0_0_aarch64.eap | ||
f47872232e0f2cd4ace9e2e77b07cafb431cbe73 target-aarch64/acap/hello_world_0_0_0_aarch64.eap | ||
b7481baf218b83da3f4cb90229eaa3b15d61808e target-aarch64/acap/inspect_env_0_0_0_aarch64.eap | ||
9d205dbde1b7144d30fb4c5a45fcaef93cb12810 target-aarch64/acap/licensekey_handler_0_0_0_aarch64.eap | ||
ed84b4b9ae09256dcef1a7287cd802e39c8b6a92 target-aarch64/acap/reverse_proxy_0_0_0_aarch64.eap | ||
329f130017b7d25555415a2af2d9aa40c3b560c9 target-aarch64/acap/send_event_1_0_0_aarch64.eap | ||
21de4a45004863178cd692c9bc4875bba8fef0a2 target-aarch64/acap/using_a_build_script_0_0_0_aarch64.eap | ||
5a533b71d01edb65d15751dd93fa153f5ef343ea target-aarch64/acap/vapix_access_0_0_0_aarch64.eap |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
//! An example of how to handle storage disks using the Edge Storage API. | ||
|
||
use std::{ | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
//! An example of how to draw bounding boxes using the Bounding Box API. | ||
|
||
use std::{ | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
//! A simple hello world application | ||
//! | ||
//! This app demonstrates: | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
//! An example of how to run a webserver | ||
|
||
use std::{ | ||
|
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
mod acap; | ||
|
||
use std::{ | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
#![doc = include_str!("../README.md")] | ||
|
||
use std::{ | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
#![doc=include_str!("../README.md")] | ||
|
||
use std::{ | ||
|
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
#![doc = include_str!("../README.md")] | ||
|
||
mod initialization; | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
use std::{env, fs::File}; | ||
|
||
use clap::{Parser, Subcommand}; | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![forbid(unsafe_code)] | ||
use std::{ffi::OsString, path::PathBuf}; | ||
|
||
use anyhow::Context; | ||
|