{"id":22303532,"url":"https://github.com/lovesh/miracl_core_generated","last_synced_at":"2025-07-29T04:31:07.232Z","repository":{"id":57639132,"uuid":"275586003","full_name":"lovesh/miracl_core_generated","owner":"lovesh","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-05T12:56:10.000Z","size":602,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-10T04:58:06.140Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lovesh.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-28T13:02:19.000Z","updated_at":"2023-08-29T01:34:45.000Z","dependencies_parsed_at":"2022-08-27T19:50:56.523Z","dependency_job_id":null,"html_url":"https://github.com/lovesh/miracl_core_generated","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesh%2Fmiracl_core_generated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesh%2Fmiracl_core_generated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesh%2Fmiracl_core_generated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovesh%2Fmiracl_core_generated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovesh","download_url":"https://codeload.github.com/lovesh/miracl_core_generated/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227978726,"owners_count":17850647,"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-12-03T18:44:08.018Z","updated_at":"2024-12-03T18:44:08.546Z","avatar_url":"https://github.com/lovesh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Used for generating Rust crate from [miracl's core library](https://github.com/miracl/core) library. Any curve can be selected by compiling with that feature. eg. to build library for curves ed25519, bls12461 and bn254, use (from `rust_64` directory)\n```\ncargo build --features \"ed25519 bls12461 bn254\"\n``` \nThe default feature is curve bls12381 only.\n\n\n## Updates from upstream\n\nTo fetch updates from upstream (miracl/core) and build crate (for 64-bit only), use\n\n```\npython gen_rust_64.py\n```\n\nThis will pull upstream changes in `miracl_core` directory and build the crate in `rust_64` directory. The crate name is `miracl_core`.\n\nWhen new curves are added in upstream, add the number(s) corresponding to the curve (most likely 1 more than the max number) in file `curve_nos.txt` and the corresponding curves should be added as features in `Cargo.toml` and `lib.rs` of crate in `rust_64`. This is tedious but it avoidance needs some refactoring in miracl/core's `rust/config64.py` file.\n\nIncrease version before publishing `rust_64` to crates.io.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovesh%2Fmiracl_core_generated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovesh%2Fmiracl_core_generated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovesh%2Fmiracl_core_generated/lists"}