bitflags! {
/// The conditions of the license.
pub struct Conditions: u8 {
/// Source code must be made available when the software is distributed.
const DISCLOSE_SOURCES = 0b_0000_0001;
/// Changes made to the code must be documented.
const DOCUMENT_CHANGES = 0b_0000_0010;
/// The license and copyright notice must be included with the software.
const LICENSE_AND_COPYRIGHT_NOTICE = 0b_0000_0100;
/// 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 = 0b_0000_1000;
/// Modifications must be released under the same license.
const SAME_LICENSE = 0b_0001_0000;
}
}