{"id":59323,"library":"os-type","title":"Os Type","description":"Detect the operating system type","status":"active","version":"2.6.0","language":"rust","source_language":null,"source_url":"https://github.com/schultyy/os_type","tags":["os","platform","detection"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nos_type = \"2.6.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add os_type","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"current_platform","correct":"use os_type::current_platform;"}],"quickstart":{"code":"use os_type::current_platform;\n\nlet platform = current_platform();\nprintln!(\"OS: {}\", platform.os_type);","lang":"rust","description":"Get the current operating system type."},"warnings":[],"env_vars":null,"search_vec":"'detect':3,10 'oper':5 'os':1,8 'platform':9 'system':6 'type':2,7","created_at":"2026-06-16T16:59:11.244349+00:00","updated_at":"2026-06-16T16:59:11.244349+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/schultyy/os_type","github":"https://github.com/schultyy/os_type","docs":"https://docs.rs/os_type/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}