{"id":22515004,"url":"https://github.com/rggh/log_buffer","last_synced_at":"2025-08-23T00:16:03.634Z","repository":{"id":263681484,"uuid":"891163336","full_name":"RGGH/log_buffer","owner":"RGGH","description":"Log Buffer in Rust","archived":false,"fork":false,"pushed_at":"2024-11-19T21:12:02.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T03:31:48.261Z","etag":null,"topics":["buffer","dequeue","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RGGH.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-19T20:55:07.000Z","updated_at":"2024-11-19T21:12:06.000Z","dependencies_parsed_at":"2024-11-19T21:44:30.553Z","dependency_job_id":null,"html_url":"https://github.com/RGGH/log_buffer","commit_stats":null,"previous_names":["rggh/log_buffer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Flog_buffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Flog_buffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Flog_buffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Flog_buffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RGGH","download_url":"https://codeload.github.com/RGGH/log_buffer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245955201,"owners_count":20699891,"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":["buffer","dequeue","rust"],"created_at":"2024-12-07T03:27:33.871Z","updated_at":"2025-03-28T01:53:05.968Z","avatar_url":"https://github.com/RGGH.png","language":"Rust","readme":"# Log Buffer (in Rust 🦀)\n\n- uses double ended queue\n- use to_owned() to avoid lifetime issues\n\n---\n\nData Structure:\n\n    VecDeque is used because it efficiently supports adding/removing elements from both ends.\n\nCapacity Handling:\n\n    When the buffer reaches its capacity, the oldest log is removed using pop_front.\n\nAdding Logs:\n\n    New logs are added to the end with push_back.\n\nRetrieving Logs:\n\n    get_logs returns a vector containing all the logs in order.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frggh%2Flog_buffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frggh%2Flog_buffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frggh%2Flog_buffer/lists"}