{"id":15994670,"url":"https://github.com/taiki-e/syn-mid","last_synced_at":"2025-05-09T01:45:34.513Z","repository":{"id":51396543,"uuid":"170707050","full_name":"taiki-e/syn-mid","owner":"taiki-e","description":"Providing the features between \"full\" and \"derive\" of syn.","archived":false,"fork":false,"pushed_at":"2025-03-20T18:37:20.000Z","size":392,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-09T01:45:22.438Z","etag":null,"topics":["proc-macro","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/syn-mid","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/taiki-e.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"taiki-e"}},"created_at":"2019-02-14T14:47:36.000Z","updated_at":"2025-03-20T18:37:25.000Z","dependencies_parsed_at":"2023-10-10T17:46:22.366Z","dependency_job_id":"da51613d-0fbd-4a31-85bf-f9399b33f16b","html_url":"https://github.com/taiki-e/syn-mid","commit_stats":{"total_commits":286,"total_committers":2,"mean_commits":143.0,"dds":"0.0034965034965035446","last_synced_commit":"c82b4f2f0eb300b9176a991230ee960a5fbd460d"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taiki-e%2Fsyn-mid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taiki-e%2Fsyn-mid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taiki-e%2Fsyn-mid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taiki-e%2Fsyn-mid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taiki-e","download_url":"https://codeload.github.com/taiki-e/syn-mid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176443,"owners_count":21866142,"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":["proc-macro","rust"],"created_at":"2024-10-08T07:09:44.678Z","updated_at":"2025-05-09T01:45:34.498Z","avatar_url":"https://github.com/taiki-e.png","language":"Rust","readme":"# syn-mid\n\n[![crates.io](https://img.shields.io/crates/v/syn-mid?style=flat-square\u0026logo=rust)](https://crates.io/crates/syn-mid)\n[![docs.rs](https://img.shields.io/badge/docs.rs-syn--mid-blue?style=flat-square\u0026logo=docs.rs)](https://docs.rs/syn-mid)\n[![license](https://img.shields.io/badge/license-Apache--2.0_OR_MIT-blue?style=flat-square)](#license)\n[![msrv](https://img.shields.io/badge/msrv-1.56-blue?style=flat-square\u0026logo=rust)](https://www.rust-lang.org)\n[![github actions](https://img.shields.io/github/actions/workflow/status/taiki-e/syn-mid/ci.yml?branch=main\u0026style=flat-square\u0026logo=github)](https://github.com/taiki-e/syn-mid/actions)\n\n\u003c!-- tidy:sync-markdown-to-rustdoc:start:src/lib.rs --\u003e\n\nProviding the features between \"full\" and \"derive\" of syn.\n\nThis crate provides the following two unique data structures.\n\n- [`syn_mid::ItemFn`] -- A function whose body is not parsed.\n\n  ```text\n  fn process(n: usize) -\u003e Result\u003c()\u003e { ... }\n  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^     ^\n  ```\n\n- [`syn_mid::Block`] -- A block whose body is not parsed.\n\n  ```text\n  { ... }\n  ^     ^\n  ```\n\nOther data structures are the same as data structures of [syn]. These are\ndefined in this crate because they cannot be used in [syn] without \"full\"\nfeature.\n\n## Usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nsyn-mid = \"0.6\"\n```\n\n[**Examples**](https://github.com/taiki-e/syn-mid/tree/HEAD/examples)\n\n## Optional features\n\n- **`clone-impls`** — Clone impls for all syntax tree types.\n\n[syn]: https://github.com/dtolnay/syn\n\n\u003c!-- tidy:sync-markdown-to-rustdoc:end --\u003e\n\n[`syn_mid::Block`]: https://docs.rs/syn-mid/latest/syn_mid/struct.Block.html\n[`syn_mid::ItemFn`]: https://docs.rs/syn-mid/latest/syn_mid/struct.ItemFn.html\n\n## License\n\nLicensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or\n[MIT license](LICENSE-MIT) at your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n","funding_links":["https://github.com/sponsors/taiki-e"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaiki-e%2Fsyn-mid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaiki-e%2Fsyn-mid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaiki-e%2Fsyn-mid/lists"}