Skip to content

Commit

Permalink
final v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Bramm committed May 18, 2024
1 parent 718d2f8 commit a51fc8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rabe"
version = "0.4.1"
version = "0.4.0"
description = "ABE Schemes implemented in rust."
authors = [
"Schanzenbach, Martin <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion rabe-console/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rabe-console"
version = "0.4.1"
version = "0.4.0"
description = "Console App for the ABE Schemes implemented in rabe."
authors = [
"Schanzenbach, Martin <[email protected]>",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/policy/pest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::string::String;
use crate::error::RabeError;
use self::human::HumanPolicyParser;
use self::json::JSONPolicyParser;
#[cfg(not(feature = "borsh"))]
#[cfg(feature = "serde")]
use serde::{Serialize, Deserialize};
#[cfg(feature = "borsh")]
use borsh::{BorshSerialize, BorshDeserialize};
Expand All @@ -14,7 +14,7 @@ pub(crate) mod human;
/// Policy Language Type. Currently two types are available:
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
#[cfg_attr(feature = "borsh", derive(BorshSerialize, BorshDeserialize))]
#[cfg_attr(not(feature = "borsh"), derive(Serialize, Deserialize))]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub enum PolicyLanguage {
/// A JSON policy language
JsonPolicy,
Expand Down

0 comments on commit a51fc8a

Please sign in to comment.