From 4dea9f5e9aac73ec3b0db1b20852f29e05a3b90c Mon Sep 17 00:00:00 2001 From: augustuswm Date: Wed, 27 Mar 2024 11:39:07 -0500 Subject: [PATCH] License fixes --- v-api-permission-derive/src/lib.rs | 4 ++++ v-api-permission-derive/tests/derive.rs | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/v-api-permission-derive/src/lib.rs b/v-api-permission-derive/src/lib.rs index 7279131..2a2da1a 100644 --- a/v-api-permission-derive/src/lib.rs +++ b/v-api-permission-derive/src/lib.rs @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. + use heck::ToSnakeCase; use proc_macro::TokenStream; use proc_macro2::Literal; diff --git a/v-api-permission-derive/tests/derive.rs b/v-api-permission-derive/tests/derive.rs index 4b5de95..e26b2ad 100644 --- a/v-api-permission-derive/tests/derive.rs +++ b/v-api-permission-derive/tests/derive.rs @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. + use std::collections::BTreeSet; use uuid::Uuid; use v_api::permissions::VPermission; @@ -5,9 +9,6 @@ use v_api_permission_derive::v_api; #[test] fn test_derive() { - // let x = VPermission::CreateApiUser; - // match x { - // } #[v_api(From(VPermission))] #[derive( Debug,