[package] authors = ["MaidSafe Developers "] description = "System URI API library" documentation = "https://docs.rs/system_uri" homepage = "https://maidsafe.net" license = "GPL-3.0" name = "system_uri" readme = "README.md" repository = "https://github.com/maidsafe/system_uri" version = "0.4.0" [dependencies] error-chain = "0.11.0-rc" ffi_utils = { version = "~0.4.0", optional = true } libc = { version = "~0.2.33", optional = true } [dev-dependencies] rand = "~0.3.18" unwrap = "~1.1.0" [target.'cfg(target_os = "windows")'.dependencies] winreg = "~0.4.0" winapi = "~0.2.8" [target.'cfg(target_os = "linux")'.dependencies] xdg-basedir = "~1.0.0" [target.'cfg(target_os = "macos")'.dependencies] libc = "~0.2.33" [lib] crate_type = ["staticlib", "rlib", "cdylib"] name = "system_uri" [features] default = ["ffi"] ffi = ["libc", "ffi_utils"]