{"id":18163734,"url":"https://github.com/sintef/sindit-senml","last_synced_at":"2025-10-11T14:32:49.181Z","repository":{"id":208463023,"uuid":"721723834","full_name":"SINTEF/sindit-senml","owner":"SINTEF","description":"Rust implementation of the SenML RFC8428 proposed standard","archived":false,"fork":false,"pushed_at":"2024-01-14T07:04:26.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-11T14:32:20.313Z","etag":null,"topics":["digital-twins","iot","rust","senml","sensor-data","sindit"],"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/SINTEF.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":"2023-11-21T16:37:08.000Z","updated_at":"2023-11-27T12:10:00.000Z","dependencies_parsed_at":"2024-11-02T11:06:05.304Z","dependency_job_id":"ae0de20e-4453-4205-b473-74340b827475","html_url":"https://github.com/SINTEF/sindit-senml","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"7882e8f830a3282c790dd7e5513c95387cdbd353"},"previous_names":["sintef/sindit-senml"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/SINTEF/sindit-senml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fsindit-senml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fsindit-senml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fsindit-senml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fsindit-senml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SINTEF","download_url":"https://codeload.github.com/SINTEF/sindit-senml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fsindit-senml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007450,"owners_count":26084313,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["digital-twins","iot","rust","senml","sensor-data","sindit"],"created_at":"2024-11-02T11:06:02.312Z","updated_at":"2025-10-11T14:32:49.164Z","avatar_url":"https://github.com/SINTEF.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SINDIT SenML\n\nRust implementation of the [SenML RFC8428](https://www.rfc-editor.org/rfc/rfc8428) proposed standard.\n\nSenML (Sensor Markup Language) is a format for representing sensor data.\n\n*Only the JSON representation is implemented.*\n\n## Examples:\n\n```rust\nuse sindit_senml::parse_json;\n\nlet json_str = r#\"[{\"n\": \"temperature\", \"v\": 42.0}]\"#;\nlet records = parse_json(json_str, None).unwrap();\nassert_eq!(records[0].name, \"temperature\");\nassert_eq!(records[0].get_float_value(), Some(42.0));\n```\n\n```rust\nuse sindit_senml::SenMLResolvedRecord;\n\nlet record = SenMLResolvedRecord {\n    name: \"temperature\".to_string(),\n    unit: Some(\"Cel\".to_string()),\n    value: Some(sindit_senml::SenMLValueField::FloatingPoint(42f64)),\n    sum: None,\n    time: chrono::DateTime::\u003cchrono::Utc\u003e::from_timestamp(1234567890, 0).unwrap(),\n    update_time: None,\n    base_version: None,\n    extra_fields: None,\n};\nlet json = serde_json::to_string(\u0026vec![record]).unwrap();\nassert_eq!(\n    json,\n    r#\"[{\"n\":\"temperature\",\"u\":\"Cel\",\"v\":42,\"t\":1234567890}]\"#\n);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsintef%2Fsindit-senml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsintef%2Fsindit-senml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsintef%2Fsindit-senml/lists"}