diff --git a/apps/vault/libraries/cbor/src/lib.rs b/apps/vault/libraries/cbor/src/lib.rs index ca70f6e40..b1f045663 100644 --- a/apps/vault/libraries/cbor/src/lib.rs +++ b/apps/vault/libraries/cbor/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/cbor/src/macros.rs b/apps/vault/libraries/cbor/src/macros.rs index 7d5a661c9..e9d7423b8 100644 --- a/apps/vault/libraries/cbor/src/macros.rs +++ b/apps/vault/libraries/cbor/src/macros.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/cbor/src/reader.rs b/apps/vault/libraries/cbor/src/reader.rs index f19ef854b..e4bf2648a 100644 --- a/apps/vault/libraries/cbor/src/reader.rs +++ b/apps/vault/libraries/cbor/src/reader.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/cbor/src/values.rs b/apps/vault/libraries/cbor/src/values.rs index 6cc1dce37..577bc43df 100644 --- a/apps/vault/libraries/cbor/src/values.rs +++ b/apps/vault/libraries/cbor/src/values.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/cbor/src/writer.rs b/apps/vault/libraries/cbor/src/writer.rs index ba8bdd4c9..cf4368894 100644 --- a/apps/vault/libraries/cbor/src/writer.rs +++ b/apps/vault/libraries/cbor/src/writer.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/aes256.rs b/apps/vault/libraries/crypto/src/aes256.rs index 85e8a6dfb..9cfa19ffb 100644 --- a/apps/vault/libraries/crypto/src/aes256.rs +++ b/apps/vault/libraries/crypto/src/aes256.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/cbc.rs b/apps/vault/libraries/crypto/src/cbc.rs index 03ee39bf0..d99493412 100644 --- a/apps/vault/libraries/crypto/src/cbc.rs +++ b/apps/vault/libraries/crypto/src/cbc.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/ecdh.rs b/apps/vault/libraries/crypto/src/ecdh.rs index 49906a601..024755153 100644 --- a/apps/vault/libraries/crypto/src/ecdh.rs +++ b/apps/vault/libraries/crypto/src/ecdh.rs @@ -13,7 +13,8 @@ // Original copyright notice preserved below: -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/ecdsa.rs b/apps/vault/libraries/crypto/src/ecdsa.rs index 8ea8ab79d..84c7d333e 100644 --- a/apps/vault/libraries/crypto/src/ecdsa.rs +++ b/apps/vault/libraries/crypto/src/ecdsa.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/hkdf.rs b/apps/vault/libraries/crypto/src/hkdf.rs index baaa52396..bcf68eba9 100644 --- a/apps/vault/libraries/crypto/src/hkdf.rs +++ b/apps/vault/libraries/crypto/src/hkdf.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/hmac.rs b/apps/vault/libraries/crypto/src/hmac.rs index f0a706c2a..445b1af86 100644 --- a/apps/vault/libraries/crypto/src/hmac.rs +++ b/apps/vault/libraries/crypto/src/hmac.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/lib.rs b/apps/vault/libraries/crypto/src/lib.rs index 6ace8bf0f..32d3f196e 100644 --- a/apps/vault/libraries/crypto/src/lib.rs +++ b/apps/vault/libraries/crypto/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/rng256.rs b/apps/vault/libraries/crypto/src/rng256.rs index 293469be2..8fde70317 100644 --- a/apps/vault/libraries/crypto/src/rng256.rs +++ b/apps/vault/libraries/crypto/src/rng256.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/sha256.rs b/apps/vault/libraries/crypto/src/sha256.rs index 144ffb617..e5dd6a3dc 100644 --- a/apps/vault/libraries/crypto/src/sha256.rs +++ b/apps/vault/libraries/crypto/src/sha256.rs @@ -13,7 +13,8 @@ // Original copyright notice preserved below: -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/src/util.rs b/apps/vault/libraries/crypto/src/util.rs index d85377ffe..bb10ec8ad 100644 --- a/apps/vault/libraries/crypto/src/util.rs +++ b/apps/vault/libraries/crypto/src/util.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/tests/aesavs.rs b/apps/vault/libraries/crypto/tests/aesavs.rs index d25f3f3d6..8af23b7c0 100644 --- a/apps/vault/libraries/crypto/tests/aesavs.rs +++ b/apps/vault/libraries/crypto/tests/aesavs.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/tests/asn1.rs b/apps/vault/libraries/crypto/tests/asn1.rs index e9382a311..4b8c32b57 100644 --- a/apps/vault/libraries/crypto/tests/asn1.rs +++ b/apps/vault/libraries/crypto/tests/asn1.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/crypto/tests/wycheproof.rs b/apps/vault/libraries/crypto/tests/wycheproof.rs index fbbc11ccd..f0110412a 100644 --- a/apps/vault/libraries/crypto/tests/wycheproof.rs +++ b/apps/vault/libraries/crypto/tests/wycheproof.rs @@ -1,4 +1,5 @@ -// Copyright 2019 Google LLC +#![rustfmt::skip] +// Copyright2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/examples/store.rs b/apps/vault/libraries/persistent_store/fuzz/examples/store.rs index be9240beb..7f53ec0c4 100644 --- a/apps/vault/libraries/persistent_store/fuzz/examples/store.rs +++ b/apps/vault/libraries/persistent_store/fuzz/examples/store.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/fuzz_targets/store.rs b/apps/vault/libraries/persistent_store/fuzz/fuzz_targets/store.rs index d96874d86..31a7ad30d 100644 --- a/apps/vault/libraries/persistent_store/fuzz/fuzz_targets/store.rs +++ b/apps/vault/libraries/persistent_store/fuzz/fuzz_targets/store.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/src/histogram.rs b/apps/vault/libraries/persistent_store/fuzz/src/histogram.rs index 82370558f..f16859899 100644 --- a/apps/vault/libraries/persistent_store/fuzz/src/histogram.rs +++ b/apps/vault/libraries/persistent_store/fuzz/src/histogram.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/src/lib.rs b/apps/vault/libraries/persistent_store/fuzz/src/lib.rs index 3d32624cf..3f0d4e0bd 100644 --- a/apps/vault/libraries/persistent_store/fuzz/src/lib.rs +++ b/apps/vault/libraries/persistent_store/fuzz/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/src/stats.rs b/apps/vault/libraries/persistent_store/fuzz/src/stats.rs index 7bef07e37..d7182b6c4 100644 --- a/apps/vault/libraries/persistent_store/fuzz/src/stats.rs +++ b/apps/vault/libraries/persistent_store/fuzz/src/stats.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/fuzz/src/store.rs b/apps/vault/libraries/persistent_store/fuzz/src/store.rs index 3113f774e..68eb179a6 100644 --- a/apps/vault/libraries/persistent_store/fuzz/src/store.rs +++ b/apps/vault/libraries/persistent_store/fuzz/src/store.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/buffer.rs b/apps/vault/libraries/persistent_store/src/buffer.rs index bc06e06f3..ac548a8d2 100644 --- a/apps/vault/libraries/persistent_store/src/buffer.rs +++ b/apps/vault/libraries/persistent_store/src/buffer.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/concat.rs b/apps/vault/libraries/persistent_store/src/concat.rs index ef476eb30..1bcadd173 100644 --- a/apps/vault/libraries/persistent_store/src/concat.rs +++ b/apps/vault/libraries/persistent_store/src/concat.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/driver.rs b/apps/vault/libraries/persistent_store/src/driver.rs index 143f5f73f..12ca38302 100644 --- a/apps/vault/libraries/persistent_store/src/driver.rs +++ b/apps/vault/libraries/persistent_store/src/driver.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/file.rs b/apps/vault/libraries/persistent_store/src/file.rs index 8401e1a2f..1dbf37c23 100644 --- a/apps/vault/libraries/persistent_store/src/file.rs +++ b/apps/vault/libraries/persistent_store/src/file.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/format.rs b/apps/vault/libraries/persistent_store/src/format.rs index 44e5091a4..d946efc95 100644 --- a/apps/vault/libraries/persistent_store/src/format.rs +++ b/apps/vault/libraries/persistent_store/src/format.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/format/bitfield.rs b/apps/vault/libraries/persistent_store/src/format/bitfield.rs index 32c0ae5a3..cd5b8c9dc 100644 --- a/apps/vault/libraries/persistent_store/src/format/bitfield.rs +++ b/apps/vault/libraries/persistent_store/src/format/bitfield.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/fragment.rs b/apps/vault/libraries/persistent_store/src/fragment.rs index 9d2e06793..b45fa4028 100644 --- a/apps/vault/libraries/persistent_store/src/fragment.rs +++ b/apps/vault/libraries/persistent_store/src/fragment.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/lib.rs b/apps/vault/libraries/persistent_store/src/lib.rs index 61ab90acc..e95d82cad 100644 --- a/apps/vault/libraries/persistent_store/src/lib.rs +++ b/apps/vault/libraries/persistent_store/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/linear.rs b/apps/vault/libraries/persistent_store/src/linear.rs index 5e432f6c2..bb4425a99 100644 --- a/apps/vault/libraries/persistent_store/src/linear.rs +++ b/apps/vault/libraries/persistent_store/src/linear.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/model.rs b/apps/vault/libraries/persistent_store/src/model.rs index e0bf9e387..68ffd022e 100644 --- a/apps/vault/libraries/persistent_store/src/model.rs +++ b/apps/vault/libraries/persistent_store/src/model.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/storage.rs b/apps/vault/libraries/persistent_store/src/storage.rs index e906013cc..6ea2d23da 100644 --- a/apps/vault/libraries/persistent_store/src/storage.rs +++ b/apps/vault/libraries/persistent_store/src/storage.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/store.rs b/apps/vault/libraries/persistent_store/src/store.rs index 11279144a..0d357595a 100644 --- a/apps/vault/libraries/persistent_store/src/store.rs +++ b/apps/vault/libraries/persistent_store/src/store.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/libraries/persistent_store/src/test.rs b/apps/vault/libraries/persistent_store/src/test.rs index da834ee8b..86453154f 100644 --- a/apps/vault/libraries/persistent_store/src/test.rs +++ b/apps/vault/libraries/persistent_store/src/test.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/connection.rs b/apps/vault/src/api/connection.rs index 0bf788331..260cd2763 100644 --- a/apps/vault/src/api/connection.rs +++ b/apps/vault/src/api/connection.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/customization.rs b/apps/vault/src/api/customization.rs index f4d456de7..d9f9d1994 100644 --- a/apps/vault/src/api/customization.rs +++ b/apps/vault/src/api/customization.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/firmware_protection.rs b/apps/vault/src/api/firmware_protection.rs index 924d314e8..ffdfb9d50 100644 --- a/apps/vault/src/api/firmware_protection.rs +++ b/apps/vault/src/api/firmware_protection.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/key_store.rs b/apps/vault/src/api/key_store.rs index 87c91a832..e1352fd84 100644 --- a/apps/vault/src/api/key_store.rs +++ b/apps/vault/src/api/key_store.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/mod.rs b/apps/vault/src/api/mod.rs index 1239c1123..9b9e471ab 100644 --- a/apps/vault/src/api/mod.rs +++ b/apps/vault/src/api/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/upgrade_storage/helper.rs b/apps/vault/src/api/upgrade_storage/helper.rs index c561fb0cf..dbd35c3f5 100644 --- a/apps/vault/src/api/upgrade_storage/helper.rs +++ b/apps/vault/src/api/upgrade_storage/helper.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/upgrade_storage/mod.rs b/apps/vault/src/api/upgrade_storage/mod.rs index f2a1fdeda..11a42dd41 100644 --- a/apps/vault/src/api/upgrade_storage/mod.rs +++ b/apps/vault/src/api/upgrade_storage/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2021-2022 Google LLC +#![rustfmt::skip] +// Copyright2021-2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/api/user_presence.rs b/apps/vault/src/api/user_presence.rs index 1509ebb4f..bf1e5e88f 100644 --- a/apps/vault/src/api/user_presence.rs +++ b/apps/vault/src/api/user_presence.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/apdu.rs b/apps/vault/src/ctap/apdu.rs index 8fe733380..6e42d16b8 100644 --- a/apps/vault/src/ctap/apdu.rs +++ b/apps/vault/src/ctap/apdu.rs @@ -1,4 +1,5 @@ -// Copyright 2020-2021 Google LLC +#![rustfmt::skip] +// Copyright2020-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/client_pin.rs b/apps/vault/src/ctap/client_pin.rs index d35cb8abf..caeed1d16 100644 --- a/apps/vault/src/ctap/client_pin.rs +++ b/apps/vault/src/ctap/client_pin.rs @@ -1,4 +1,5 @@ -// Copyright 2020-2021 Google LLC +#![rustfmt::skip] +// Copyright2020-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/command.rs b/apps/vault/src/ctap/command.rs index 73d0fdb0f..7bfc1e910 100644 --- a/apps/vault/src/ctap/command.rs +++ b/apps/vault/src/ctap/command.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/config_command.rs b/apps/vault/src/ctap/config_command.rs index 52bfd4274..d1191a8d3 100644 --- a/apps/vault/src/ctap/config_command.rs +++ b/apps/vault/src/ctap/config_command.rs @@ -1,4 +1,5 @@ -// Copyright 2020-2021 Google LLC +#![rustfmt::skip] +// Copyright2020-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/credential_id.rs b/apps/vault/src/ctap/credential_id.rs index 5824abd06..799c6a415 100644 --- a/apps/vault/src/ctap/credential_id.rs +++ b/apps/vault/src/ctap/credential_id.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/credential_management.rs b/apps/vault/src/ctap/credential_management.rs index 3dd988a37..edb06aa6e 100644 --- a/apps/vault/src/ctap/credential_management.rs +++ b/apps/vault/src/ctap/credential_management.rs @@ -1,4 +1,5 @@ -// Copyright 2020-2021 Google LLC +#![rustfmt::skip] +// Copyright2020-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/crypto_wrapper.rs b/apps/vault/src/ctap/crypto_wrapper.rs index 6db49d8f0..e125fc77a 100644 --- a/apps/vault/src/ctap/crypto_wrapper.rs +++ b/apps/vault/src/ctap/crypto_wrapper.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/ctap1.rs b/apps/vault/src/ctap/ctap1.rs index 751eb9d80..68e752af0 100644 --- a/apps/vault/src/ctap/ctap1.rs +++ b/apps/vault/src/ctap/ctap1.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/data_formats.rs b/apps/vault/src/ctap/data_formats.rs index 6effa378a..90479e00f 100644 --- a/apps/vault/src/ctap/data_formats.rs +++ b/apps/vault/src/ctap/data_formats.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/hid/mod.rs b/apps/vault/src/ctap/hid/mod.rs index a720def8f..99aa49a1b 100644 --- a/apps/vault/src/ctap/hid/mod.rs +++ b/apps/vault/src/ctap/hid/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2022 Google LLC +#![rustfmt::skip] +// Copyright2019-2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/hid/receive.rs b/apps/vault/src/ctap/hid/receive.rs index 429343f0e..08d5942b6 100644 --- a/apps/vault/src/ctap/hid/receive.rs +++ b/apps/vault/src/ctap/hid/receive.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2022 Google LLC +#![rustfmt::skip] +// Copyright2019-2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/hid/send.rs b/apps/vault/src/ctap/hid/send.rs index afe49ecbd..278c4ec5b 100644 --- a/apps/vault/src/ctap/hid/send.rs +++ b/apps/vault/src/ctap/hid/send.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2022 Google LLC +#![rustfmt::skip] +// Copyright2019-2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/key_material.rs b/apps/vault/src/ctap/key_material.rs index 90568a90d..463c5e3ed 100644 --- a/apps/vault/src/ctap/key_material.rs +++ b/apps/vault/src/ctap/key_material.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/large_blobs.rs b/apps/vault/src/ctap/large_blobs.rs index 898638a13..86ff81f22 100644 --- a/apps/vault/src/ctap/large_blobs.rs +++ b/apps/vault/src/ctap/large_blobs.rs @@ -1,4 +1,5 @@ -// Copyright 2020-2021 Google LLC +#![rustfmt::skip] +// Copyright2020-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/main_hid.rs b/apps/vault/src/ctap/main_hid.rs index 6afed98ea..2e1be9e68 100644 --- a/apps/vault/src/ctap/main_hid.rs +++ b/apps/vault/src/ctap/main_hid.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/mod.rs b/apps/vault/src/ctap/mod.rs index e1d414887..fe4ce10b4 100644 --- a/apps/vault/src/ctap/mod.rs +++ b/apps/vault/src/ctap/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/pin_protocol.rs b/apps/vault/src/ctap/pin_protocol.rs index bb923f26f..d9012eaaf 100644 --- a/apps/vault/src/ctap/pin_protocol.rs +++ b/apps/vault/src/ctap/pin_protocol.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/response.rs b/apps/vault/src/ctap/response.rs index d140bed13..88b5b1430 100644 --- a/apps/vault/src/ctap/response.rs +++ b/apps/vault/src/ctap/response.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/status_code.rs b/apps/vault/src/ctap/status_code.rs index 58d02a487..b58c6abe3 100644 --- a/apps/vault/src/ctap/status_code.rs +++ b/apps/vault/src/ctap/status_code.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/storage.rs b/apps/vault/src/ctap/storage.rs index 1cb360944..d8f31f179 100644 --- a/apps/vault/src/ctap/storage.rs +++ b/apps/vault/src/ctap/storage.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/storage/key.rs b/apps/vault/src/ctap/storage/key.rs index 6b6f28aed..798ec8cec 100644 --- a/apps/vault/src/ctap/storage/key.rs +++ b/apps/vault/src/ctap/storage/key.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2020 Google LLC +#![rustfmt::skip] +// Copyright2019-2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/timed_permission.rs b/apps/vault/src/ctap/timed_permission.rs index f0e833047..27f773975 100644 --- a/apps/vault/src/ctap/timed_permission.rs +++ b/apps/vault/src/ctap/timed_permission.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/token_state.rs b/apps/vault/src/ctap/token_state.rs index 133eb57b3..a7595430d 100644 --- a/apps/vault/src/ctap/token_state.rs +++ b/apps/vault/src/ctap/token_state.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/ctap/vendor_hid.rs b/apps/vault/src/ctap/vendor_hid.rs index 159cecb14..bb8106c5b 100644 --- a/apps/vault/src/ctap/vendor_hid.rs +++ b/apps/vault/src/ctap/vendor_hid.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/mod.rs b/apps/vault/src/env/mod.rs index 7b00c8ed8..4c6963234 100644 --- a/apps/vault/src/env/mod.rs +++ b/apps/vault/src/env/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/test/customization.rs b/apps/vault/src/env/test/customization.rs index 0b7a64fda..c809287df 100644 --- a/apps/vault/src/env/test/customization.rs +++ b/apps/vault/src/env/test/customization.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/test/mod.rs b/apps/vault/src/env/test/mod.rs index 50d918471..98e0d2a9a 100644 --- a/apps/vault/src/env/test/mod.rs +++ b/apps/vault/src/env/test/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/test/upgrade_storage.rs b/apps/vault/src/env/test/upgrade_storage.rs index b935f3254..3350c1729 100644 --- a/apps/vault/src/env/test/upgrade_storage.rs +++ b/apps/vault/src/env/test/upgrade_storage.rs @@ -1,4 +1,5 @@ -// Copyright 2021 Google LLC +#![rustfmt::skip] +// Copyright2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/tock/mod.rs b/apps/vault/src/env/tock/mod.rs index 193369568..0b36dd1e5 100644 --- a/apps/vault/src/env/tock/mod.rs +++ b/apps/vault/src/env/tock/mod.rs @@ -1,4 +1,5 @@ -// Copyright 2022 Google LLC +#![rustfmt::skip] +// Copyright2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/tock/storage.rs b/apps/vault/src/env/tock/storage.rs index b5e6227c0..85fb0e23b 100644 --- a/apps/vault/src/env/tock/storage.rs +++ b/apps/vault/src/env/tock/storage.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/env/xous/storage.rs b/apps/vault/src/env/xous/storage.rs index 6324c4fdc..0c7ec561c 100644 --- a/apps/vault/src/env/xous/storage.rs +++ b/apps/vault/src/env/xous/storage.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2021 Google LLC +#![rustfmt::skip] +// Copyright2019-2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apps/vault/src/lib.rs b/apps/vault/src/lib.rs index 1351bf5b5..d9702d15f 100644 --- a/apps/vault/src/lib.rs +++ b/apps/vault/src/lib.rs @@ -1,4 +1,5 @@ -// Copyright 2019-2022 Google LLC +#![rustfmt::skip] +// Copyright2019-2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,8 +43,6 @@ pub mod api; // TODO(kaczmarczyck): Refactor this so that ctap module isn't public. pub mod ctap; pub mod env; -#[cfg(feature = "std")] -pub mod test_helpers; pub const KEEPALIVE_DELAY_MS: u64 = 100; pub const KEEPALIVE_DELAY: Duration = Duration::from_millis(KEEPALIVE_DELAY_MS);