{"id":15290554,"url":"https://github.com/foundry-rs/compilers","last_synced_at":"2025-04-08T02:36:35.838Z","repository":{"id":198138899,"uuid":"696508905","full_name":"foundry-rs/compilers","owner":"foundry-rs","description":"Utilities for working with native solc and compiling projects.","archived":false,"fork":false,"pushed_at":"2024-10-16T12:58:23.000Z","size":3218,"stargazers_count":75,"open_issues_count":16,"forks_count":42,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-30T02:36:26.023Z","etag":null,"topics":["ethereum","foundry","solc","solidity"],"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/foundry-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-25T22:18:30.000Z","updated_at":"2024-10-27T06:18:20.000Z","dependencies_parsed_at":"2024-01-24T11:41:02.110Z","dependency_job_id":"7920162b-838e-495b-ba8c-4e54bf1c1ee0","html_url":"https://github.com/foundry-rs/compilers","commit_stats":{"total_commits":233,"total_committers":22,"mean_commits":"10.590909090909092","dds":0.6952789699570816,"last_synced_commit":"21617d05ae9bab42a509c8c2021977d31b93809a"},"previous_names":["foundry-rs/compilers"],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundry-rs%2Fcompilers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundry-rs%2Fcompilers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundry-rs%2Fcompilers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foundry-rs%2Fcompilers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foundry-rs","download_url":"https://codeload.github.com/foundry-rs/compilers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247765587,"owners_count":20992328,"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":["ethereum","foundry","solc","solidity"],"created_at":"2024-09-30T16:08:36.402Z","updated_at":"2025-04-08T02:36:35.818Z","avatar_url":"https://github.com/foundry-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Foundry Compilers\n| [Docs](https://docs.rs/foundry-compilers/latest/foundry_compilers/) |\n\nOriginally part of [`ethers-rs`] as `ethers-solc`, Foundry Compilers is the compilation backend for [Foundry](https://github.com/foundry-rs/foundry).\n\n[`ethers-rs`]'s `ethers-solc` is considered to be in maintenance mode, and any fixes to it will also be reflected on Foundry Compilers. No action is currently needed from devs, although we heavily recommend using Foundry Compilers instead of `ethers-solc`.\n\n[`ethers-rs`]: https://github.com/gakonst/ethers-rs\n\n[![Build Status][actions-badge]][actions-url]\n[![Telegram chat][telegram-badge]][telegram-url]\n\n[actions-badge]: https://img.shields.io/github/actions/workflow/status/foundry-rs/compilers/ci.yml?branch=main\u0026style=for-the-badge\n[actions-url]: https://github.com/foundry-rs/compilers/actions?query=branch%3Amain\n[telegram-badge]: https://img.shields.io/endpoint?color=neon\u0026style=for-the-badge\u0026url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Ffoundry_rs\n[telegram-url]: https://t.me/foundry_rs\n\n## Supported Rust Versions\n\n\u003c!--\nWhen updating this, also update:\n- clippy.toml\n- Cargo.toml\n- .github/workflows/ci.yml\n--\u003e\n\nFoundry Compilers will keep a rolling MSRV (minimum supported rust version) policy of **at\nleast** 6 months. When increasing the MSRV, the new Rust version must have been\nreleased at least six months ago. The current MSRV is 1.83.0.\n\nNote that the MSRV is not increased automatically, and only as part of a minor\nrelease.\n\n## Contributing\n\nThanks for your help in improving the project! We are so happy to have you! We have\n[a contributing guide](./CONTRIBUTING.md) to help you get involved in the\nFoundry Compilers project.\n\nPull requests will not be merged unless CI passes, so please ensure that your\ncontribution follows the linting rules and passes clippy.\n\n## Overview\n\nTo install, simply add `foundry-compilers` to your cargo dependencies.\n\n```toml\n[dependencies]\nfoundry-compilers = \"0.10.1\"\n```\n\nExample usage:\n\n```rust,ignore\nuse foundry_compilers::{Project, ProjectPathsConfig};\nuse std::path::Path;\n\n// configure the project with all its paths, solc, cache etc.\nlet project = Project::builder()\n    .paths(ProjectPathsConfig::hardhat(Path::new(env!(\"CARGO_MANIFEST_DIR\"))).unwrap())\n    .build(Default::default())\n    .unwrap();\nlet output = project.compile().unwrap();\n\n// Tell Cargo that if a source file changes, to rerun this build script.\nproject.rerun_if_sources_changed();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoundry-rs%2Fcompilers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoundry-rs%2Fcompilers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoundry-rs%2Fcompilers/lists"}