Skip to content

Commit

Permalink
License fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Mar 27, 2024
1 parent 8e2f870 commit 4dea9f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions v-api-permission-derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
7 changes: 4 additions & 3 deletions v-api-permission-derive/tests/derive.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// 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;
use v_api_permission_derive::v_api;

#[test]
fn test_derive() {
// let x = VPermission::CreateApiUser;
// match x {
// }
#[v_api(From(VPermission))]
#[derive(
Debug,
Expand Down

0 comments on commit 4dea9f5

Please sign in to comment.