{"id":19021929,"url":"https://github.com/chleba/port-desc","last_synced_at":"2026-03-03T13:31:59.805Z","repository":{"id":253464424,"uuid":"843587173","full_name":"Chleba/port-desc","owner":"Chleba","description":"Port service description library from internet assigned number authority","archived":false,"fork":false,"pushed_at":"2025-03-01T12:40:13.000Z","size":273,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T11:17:03.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chleba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T21:11:24.000Z","updated_at":"2024-08-17T19:53:24.000Z","dependencies_parsed_at":"2024-08-16T22:29:37.386Z","dependency_job_id":"12cded58-1d12-408a-941e-ba504be39361","html_url":"https://github.com/Chleba/port-desc","commit_stats":null,"previous_names":["chleba/port-desc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chleba%2Fport-desc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chleba%2Fport-desc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chleba%2Fport-desc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chleba%2Fport-desc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chleba","download_url":"https://codeload.github.com/Chleba/port-desc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249326185,"owners_count":21251735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T20:24:18.268Z","updated_at":"2026-03-03T13:31:59.752Z","avatar_url":"https://github.com/Chleba.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# port-desc\nPort service description library from internet assigned number authority\n\n## Usage\n\nInclude in the Cargo.toml file:\n```toml\nport-desc = { version = \"0.1.1\" }\n```\n\nthen\n```rust\nuse port_desc::{PortDescription, TransportProtocol};\n\nfn main() {\n    let ports = PortDescription::defult();\n    match ports {\n        Ok(p) =\u003e {\n            let port_num = 80;\n            let entry = p.get_port_service_name(port_num, TransportProtocol::Tcp);\n            println!(\"TCP Port {} service name: {}\", port_num, entry);\n        },\n        Err(e) =\u003e {\n            println!(\"{:?}\", e);\n        }\n    }\n}\n```\n\nYou can always take a look at [examples](./examples/) files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchleba%2Fport-desc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchleba%2Fport-desc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchleba%2Fport-desc/lists"}