remove unnecessary dependencies (log, libc)
This commit is contained in:
parent
db1725a33b
commit
08e56bd5ae
|
@ -14,7 +14,6 @@ edition = "2018"
|
|||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[dependencies]
|
||||
log = "0.4.11"
|
||||
keyboard-types = { version = "0.5.0", default-features = false }
|
||||
raw-window-handle = "0.3.3"
|
||||
rtrb = "0.1.1"
|
||||
|
@ -24,7 +23,6 @@ static_assertions = "1.1.0"
|
|||
xcb = { version = "0.9", features = ["thread", "xlib_xcb", "dri2"] }
|
||||
x11 = { version = "2.18", features = ["xlib", "xcursor"] }
|
||||
xcb-util = { version = "0.3", features = ["icccm"] }
|
||||
libc = "0.2"
|
||||
nix = "0.18"
|
||||
|
||||
[target.'cfg(target_os="windows")'.dependencies]
|
||||
|
|
|
@ -82,7 +82,7 @@ impl XcbConnection {
|
|||
addr: std::ptr::null_mut(),
|
||||
};
|
||||
|
||||
let mut value_type: *mut libc::c_char = std::ptr::null_mut();
|
||||
let mut value_type: *mut std::os::raw::c_char = std::ptr::null_mut();
|
||||
let name_c_str = CString::new("Xft.dpi").unwrap();
|
||||
let c_str = CString::new("Xft.Dpi").unwrap();
|
||||
|
||||
|
|
Loading…
Reference in a new issue