license 0.1.0

A license library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bitflags! {
    /// The conditions of the license.
    pub struct Conditions: u8 {
        /// Source code must be made available when the software is distributed.
        const DISCLOSE_SOURCES = 0b00001;
        /// Changes made to the code must be documented.
        const DOCUMENT_CHANGES = 0b00010;
        /// The license and copyright notice must be included with the software.
        const LICENSE_AND_COPYRIGHT_NOTICE = 0b00100;
        /// Users who interact with the software via network are
        /// given the right to receive a copy of the source code.
        const NETWORK_USE_IS_DISTRIBUTION = 0b01000;
        /// Modifications must be released under the same license.
        const SAME_LICENSE = 0b1000;
    }
}