{"id":13804180,"url":"https://github.com/starknet-io/types-rs","last_synced_at":"2025-05-15T21:03:44.744Z","repository":{"id":169324830,"uuid":"645208755","full_name":"starknet-io/types-rs","owner":"starknet-io","description":" 🐺  Starknet Rust types 🦀","archived":false,"fork":false,"pushed_at":"2025-04-03T14:28:44.000Z","size":236,"stargazers_count":69,"open_issues_count":22,"forks_count":51,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-14T11:59:52.030Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starknet-io.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-25T06:48:29.000Z","updated_at":"2025-04-03T12:20:15.000Z","dependencies_parsed_at":"2023-07-20T07:00:13.877Z","dependency_job_id":"d923d8fc-dfdc-4053-b245-e7986c858e76","html_url":"https://github.com/starknet-io/types-rs","commit_stats":null,"previous_names":["starknet-io/types-rs"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Ftypes-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Ftypes-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Ftypes-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starknet-io%2Ftypes-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starknet-io","download_url":"https://codeload.github.com/starknet-io/types-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422754,"owners_count":22068678,"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":"2024-08-04T01:00:43.267Z","updated_at":"2025-05-15T21:03:44.724Z","avatar_url":"https://github.com/starknet-io.png","language":"Rust","funding_links":[],"categories":["Additional developer resources","Layer 2","Rust"],"sub_categories":["Starknet"],"readme":"# types-rs\n\n 🐺  Starknet Rust types 🦀\n\n [![GitHub Workflow Status](https://github.com/starknet-io/types-rs/actions/workflows/test.yml/badge.svg)](https://github.com/starknet-io/types-rs/actions/workflows/test.yml)\n[![Project license](https://img.shields.io/github/license/starknet-io/types-rs.svg?style=flat-square)](LICENSE)\n[![Pull Requests welcome](https://img.shields.io/badge/PRs-welcome-ff69b4.svg?style=flat-square)](https://github.com/starknet-io/types-rs/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22)\n[![Rust docs](https://docs.rs/starknet-types-core/badge.svg)](https://docs.rs/starknet-types-core)\n[![Rust crate](https://img.shields.io/crates/v/starknet-types-core.svg)](https://crates.io/crates/starknet-types-core)\n\nThis repository is an initiative by a group of maintainers to address the fragmentation in the Starknet Rust ecosystem and improve its interoperability. The key motivation behind this repository is to standardize the representation of the `Felt` (Field Element) type in Rust, which is massively used as the core and atomic type of the Cairo language and its Virtual Machine.\n\nThe `Felt` type is currently defined in many different crates and repositories, resulting in increased code complexity and performance issues due to the need for numerous conversions. This repository aims to mitigate these issues by providing a universal `Felt` type in Rust.\n\n## Crates\n\nThis repository hosts one crates:\n\n- `starknet-types-core`: This crate provides the universal Felt (Field Element) type for Cairo and STARK proofs. It also focuses on Starknet types related to computation and execution, requiring performance and optimization for specific arithmetic and cryptographic operations.\n\n## Usage\n\nYou can include any of these crates in your library via crates.io or as a git dependency. For example, to include the `starknet-types-core` crate, add the following to your `Cargo.toml`:\n\nAs a crates.io dependency:\n\n```toml\n[dependencies]\nstarknet-types-core = \"0.1.0\"\n```\n\nAs a git dependency:\n\n```toml\n[dependencies]\nstarknet-types-core = { git = \"https://github.com/starknet-io/types-rs.git\", version = \"0.1.0\", default-features = false, features = [\"serde\"] }\n```\n\n## Build from source\n\nTo build the crates from source, clone the repository and run the following command:\n\n```bash\ncargo build --release\n```\n\n## Testing\n\nTo run the tests, clone the repository and run the following command:\n\n```bash\ncargo test\n```\n\n## Contributing\n\nContributions are welcome! Please read our [contributing guidelines](CONTRIBUTING.md) for more information.\n\n## License\n\nThis repository is licensed under the MIT License, see [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarknet-io%2Ftypes-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarknet-io%2Ftypes-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarknet-io%2Ftypes-rs/lists"}