urdig 0.9.5

urdig is a tool, which can be used to display informations about several (udev)-devices.
Documentation
extern crate phollaits;

pub mod udev;

//- separators
pub const SEPARATOR_COLON: &str = ":";
pub const SEPARATOR_SYSTEM_DIRECTORY: &str = "/";
pub const SEPARATOR_BRACE_OPEN: &str = "{";
pub const SEPARATOR_BRACE_CLOSE: &str = "}";
pub const SEPARATOR_SQUARE_BRACKET_OPEN: &str = "[";
pub const SEPARATOR_SQUARE_BRACKET_CLOSE: &str = "]";
pub const SEPARATOR_EQUAL: &str = "=";

pub const FORMAT_PADDING_WIDTH4: usize = 4;
pub const FORMAT_PADDING_WIDTH8: usize = 8;

pub const PROPERTY_VALUE_SUBSYSTEM: &str = "SUBSYSTEM";
pub const PROPERTY_VALUE_SYSNAME: &str = "SYSNAME";

//- Error messages and values
pub const ERROR_VALUE_NONE: &str = "NONE";
pub const ERROR_NO_PROPERTIES_AND_ATTRIBUTES: &str = "You could use -p or -a to print device properties or/and attributes.";
pub const ERROR_FORMAT_UNKNOWN: &str = "Format option is unknown. See

urdig device -h

for more information.";

//- Environment Vars
pub const CARGO_PKG_NAME: &str = env!("CARGO_PKG_NAME");
pub const CARGO_PKG_AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
pub const CARGO_PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const CARGO_PKG_DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");

//- Paths in system
pub const DEV: &str = "/dev/";
pub const SYS: &str = "/sys/";