{"id":35101162,"url":"https://github.com/metastable-void/dropcatch-rs","last_synced_at":"2026-04-05T11:31:19.337Z","repository":{"id":319486437,"uuid":"1074639321","full_name":"metastable-void/dropcatch-rs","owner":"metastable-void","description":"Drop detection library for Rust","archived":false,"fork":false,"pushed_at":"2025-10-12T09:43:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-18T12:09:20.108Z","etag":null,"topics":["rust","rust-lifetime"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/dropcatch","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metastable-void.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.APACHE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-12T07:25:02.000Z","updated_at":"2025-10-12T09:43:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a14b6ce-6aec-40fa-9948-2f0f5f86a69f","html_url":"https://github.com/metastable-void/dropcatch-rs","commit_stats":null,"previous_names":["metastable-void/dropcatch-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/metastable-void/dropcatch-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fdropcatch-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fdropcatch-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fdropcatch-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fdropcatch-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metastable-void","download_url":"https://codeload.github.com/metastable-void/dropcatch-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metastable-void%2Fdropcatch-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31434624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["rust","rust-lifetime"],"created_at":"2025-12-27T16:57:03.861Z","updated_at":"2026-04-05T11:31:19.327Z","avatar_url":"https://github.com/metastable-void.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drop detection library for Rust\nWith Clone, Sync, Send and optional PartialEq + Hash support.\n\n## Examples\n```rust\nuse std::sync::{Arc, Mutex};\nuse dropcatch::DropCatcher;\n\n// flag to track the dropped state\nlet flag = Arc::new(Mutex::new(false));\nlet flag_clone = flag.clone();\n\n{\n    let dropped = DropCatcher::new(move || {\n        // called when DropCatcher is dropped\n        *flag_clone.lock().unwrap() = true;\n    });\n\n    let dropped_clone = dropped.clone();\n\n    assert_eq!(dropped, dropped_clone); // same instance\n\n    drop(dropped);\n    assert!(!*flag.lock().unwrap()); // not still dropped\n}\n\nassert!(*flag.lock().unwrap()); // dropped\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetastable-void%2Fdropcatch-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetastable-void%2Fdropcatch-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetastable-void%2Fdropcatch-rs/lists"}