{"id":19435400,"url":"https://github.com/enzious/smart-serde-default","last_synced_at":"2026-01-25T18:32:13.754Z","repository":{"id":245396660,"uuid":"818448423","full_name":"enzious/smart-serde-default","owner":"enzious","description":"An annotation to implement #[serde(default)] and Default.","archived":false,"fork":false,"pushed_at":"2024-06-21T22:20:19.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-06T13:50:25.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/enzious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE.md","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}},"created_at":"2024-06-21T22:08:43.000Z","updated_at":"2025-03-22T14:23:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"398aeeab-db23-416d-91a0-04d9c9d0fce1","html_url":"https://github.com/enzious/smart-serde-default","commit_stats":null,"previous_names":["enzious/smart-serde-default"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/enzious/smart-serde-default","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fsmart-serde-default","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fsmart-serde-default/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fsmart-serde-default/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fsmart-serde-default/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enzious","download_url":"https://codeload.github.com/enzious/smart-serde-default/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fsmart-serde-default/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28756442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"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":[],"created_at":"2024-11-10T15:06:09.365Z","updated_at":"2026-01-25T18:32:13.748Z","avatar_url":"https://github.com/enzious.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smart-serde-default\n\n[![License](https://img.shields.io/github/license/enzious/smart-serde-default)](https://github.com/enzious/smart-serde-default/blob/master/LICENSE.md)\n[![Contributors](https://img.shields.io/github/contributors/enzious/smart-serde-default)](https://github.com/enzious/smart-serde-default/graphs/contributors)\n[![GitHub Repo stars](https://img.shields.io/github/stars/enzious/smart-serde-default?style=social)](https://github.com/smart-serde-default/smart-serde-default)\n[![crates.io](https://img.shields.io/crates/v/smart-serde-default.svg)](https://crates.io/crates/smart-serde-default)\n\nA crate that basically extends the [serde-inline-default] and [smart-default]\ncrates functionality to allow you to specify a default for both\n[std::default::Default] and [serde] with one annotation.\n\n## Documentation\n\n- [API Documentation](https://docs.rs/smart-serde-default)\n\n## Defining defaults\n```rust\n#[smart_serde_default]\n#[derive(Debug, Deserialize, Serialize, SmartDefault)]\npub struct FuzionRedisConfigBuilder {\n  #[smart_default(String::from(\"127.0.0.1\"))]\n  host: String,\n\n  #[smart_default(6379)]\n  port: u16,\n}\n```\n\n[serde-inline-default]: https://docs.rs/serde-inline-default\n[smart-default]: https://docs.rs/smart-default\n[serde]: https://docs.rs/serde\n[std::default::Default]: https://doc.rust-lang.org/std/default/trait.Default.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzious%2Fsmart-serde-default","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenzious%2Fsmart-serde-default","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzious%2Fsmart-serde-default/lists"}