license 0.1.0

A license library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
bitflags! {
    /// The permissions of the license.
    pub struct Permissions: u8 {
        /// May be used for commercial purposes.
        const COMMERCIAL_USE = 0b00001;
        /// May be distributed.
        const DISTRIBUTION = 0b00010;
        /// May be modified.
        const MODIFICATION = 0b00100;
        /// Provides an express grant of patent rights from contributors.
        const PATENT_RIGHTS = 0b01000;
        /// May be used for private purposes.
        const PRIVATE_USE = 0b1000;
    }
}