sddl 0.1.3

a library to parse and analyse SDDL Strings
Documentation
use binrw::binrw;
use serde::Serialize;

#[binrw]
#[derive(Eq, PartialEq, Clone, Copy, Default, Debug, Serialize)]
#[allow(non_camel_case_types)]
#[brw(repr=u8)]
pub enum Revision {
    /// When set to 0x02, only AceTypes 0x00, 0x01, 0x02, 0x03, 0x11, 0x12, and
    /// 0x13 can be present in the ACL. An AceType of 0x11 is used for SACLs but
    /// not for DACLs. For more information about ACE types, see section
    /// 2.4.4.1.
    #[default]
    ACL_REVISION = 0x02,

    /// When set to 0x04, AceTypes 0x05, 0x06, 0x07, 0x08, and 0x11 are allowed.
    /// ACLs of revision 0x04 are applicable only to directory service objects.
    /// An AceType of 0x11 is used for SACLs but not for DACLs.
    ACL_REVISION_DS = 0x04,
}