[package] name = "is_main_thread" version = "0.1.0" authors = ["Matthew"] edition = "2018" keywords = ["windowing", "winit"] description = "A simply tool to check if current thread is the main one." license = "Apache-2.0" repository = "https://gitlab.com/CyanPhoton/is_main_thread" documentation = "https://docs.rs/is_main_thread" categories = ["concurrency"] [dependencies] [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3.6" features = ["processthreadsapi", "minwindef"] [target.'cfg(any(target_os = "linux",target_os = "dragonfly",target_os = "freebsd",target_os = "netbsd",target_os = "openbsd"))'.dependencies] libc = "0.2.64" [target.'cfg(target_os = "macos")'.dependencies] objc = "0.2.6" [target.'cfg(target_os = "ios")'.dependencies] objc = "0.2.3"