{"id":24756353,"url":"https://github.com/dalance/sdc-parser","last_synced_at":"2025-10-11T02:31:34.788Z","repository":{"id":52400618,"uuid":"176734929","full_name":"dalance/sdc-parser","owner":"dalance","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-30T00:51:42.000Z","size":86,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-14T17:51:14.623Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dalance.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}},"created_at":"2019-03-20T13:02:07.000Z","updated_at":"2024-07-18T06:46:21.000Z","dependencies_parsed_at":"2022-08-31T20:02:25.524Z","dependency_job_id":null,"html_url":"https://github.com/dalance/sdc-parser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fsdc-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fsdc-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fsdc-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalance%2Fsdc-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalance","download_url":"https://codeload.github.com/dalance/sdc-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236026065,"owners_count":19083315,"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":"2025-01-28T13:51:05.980Z","updated_at":"2025-10-11T02:31:34.340Z","avatar_url":"https://github.com/dalance.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdc-parser\nA parser library for Synopsys Design Constraints (sdc).\n\n[![Build Status](https://dev.azure.com/dalance/sdc-parser/_apis/build/status/dalance.sdc-parser?branchName=master)](https://dev.azure.com/dalance/sdc-parser/_build/latest?definitionId=1\u0026branchName=master)\n[![Crates.io](https://img.shields.io/crates/v/sdc-parser.svg)](https://crates.io/crates/sdc-parser)\n[![Docs.rs](https://docs.rs/sdc-parser/badge.svg)](https://docs.rs/sdc-parser)\n[![codecov](https://codecov.io/gh/dalance/sdc-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/dalance/sdc-parser)\n\n## Usage\n\n```Cargo.toml\n[dependencies]\nsdc_parser = \"0.1.0\"\n```\n\n## Example\n\n```rust\nuse sdc_parser::{self, sdc};\n\nfn main() {\n    let result = sdc_parser::parse(\"current_instance duv\");\n\n    let expect = sdc::Sdc {\n        commands: vec![sdc::Command::CurrentInstance(\n            sdc::CurrentInstance {\n                instance: Some(String::from(\"duv\"))\n            }\n        )]\n    };\n    assert_eq!(expect, result);\n}\n```\n\n## Benchmark\n\n### Environment\n\n- CPU: Xeon Gold 6134 @ 3.20GHz\n- OS : CentOS Linux release 7.6.1810 (Core)\n\n### Result\n\n| Size[KB] | Time[ms] | Throughput[MBps] |\n| -------- | -------- | ---------------- |\n| 5617     | 470      | 12.22            |\n| 11529    | 965      | 12.23            |\n| 54059    | 2738     | 20.21            |\n| 114528   | 9157     | 12.81            |\n| 496898   | 30887    | 16.47            |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalance%2Fsdc-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalance%2Fsdc-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalance%2Fsdc-parser/lists"}