{"id":31783571,"url":"https://github.com/scaleweather/eccodes-sys","last_synced_at":"2025-10-10T10:47:12.488Z","repository":{"id":57623012,"uuid":"379607922","full_name":"ScaleWeather/eccodes-sys","owner":"ScaleWeather","description":"Low-level Rust bindings for ecCodes.","archived":false,"fork":false,"pushed_at":"2025-09-21T09:26:33.000Z","size":11677,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T11:30:17.405Z","etag":null,"topics":["bufr","eccodes","grib","grib2","numerical-simulations"],"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/ScaleWeather.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-23T13:13:18.000Z","updated_at":"2025-09-21T09:26:37.000Z","dependencies_parsed_at":"2024-01-30T13:29:12.551Z","dependency_job_id":"cbbdb18f-a23b-4c46-9199-43db9c39e2cb","html_url":"https://github.com/ScaleWeather/eccodes-sys","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":0.1428571428571429,"last_synced_commit":"de44d27eca3427ebc5aee96361d094ea3c227a0c"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ScaleWeather/eccodes-sys","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaleWeather%2Feccodes-sys","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaleWeather%2Feccodes-sys/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaleWeather%2Feccodes-sys/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaleWeather%2Feccodes-sys/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScaleWeather","download_url":"https://codeload.github.com/ScaleWeather/eccodes-sys/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScaleWeather%2Feccodes-sys/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003545,"owners_count":26083595,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bufr","eccodes","grib","grib2","numerical-simulations"],"created_at":"2025-10-10T10:47:11.680Z","updated_at":"2025-10-10T10:47:12.479Z","avatar_url":"https://github.com/ScaleWeather.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eccodes-sys\n\n[![License](https://img.shields.io/github/license/ScaleWeather/eccodes-sys)](https://choosealicense.com/licenses/apache-2.0/)\n[![Crates.io](https://img.shields.io/crates/v/eccodes-sys)](https://crates.io/crates/eccodes-sys)\n[![dependency status](https://deps.rs/repo/github/ScaleWeather/eccodes-sys/status.svg)](https://deps.rs/repo/github/ScaleWeather/eccodes-sys)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/ScaleWeather/eccodes-sys/rust.yml?branch=main\u0026label=cargo%20build)](https://github.com/ScaleWeather/eccodes-sys/actions)\n\n**This is a `-sys` crate with raw, unsafe bindings to the library and its API should not be used directly.** See the [eccodes crate](https://github.com/ScaleWeather/eccodes) for high-level, safe bindings.\n\n**Due to the complexity of ecCodes library the decision has been made that this crate will not build ecCodes from source.**\nSee sections below for additional information how to install ecCodes on your system.\n\n[ecCodes](https://confluence.ecmwf.int/display/ECC/ecCodes+Home) is an open-source library for reading and writing GRIB and BUFR files developed by [European Centre for Medium-Range Weather Forecasts](https://www.ecmwf.int/).\n\n## Usage\n\nThis crate will look for existing `libeccodes` installation using [pkg-config](https://crates.io/crates/pkg-config).\nThe ecCodes library is then linked and bindings are generated using [bindgen](https://crates.io/crates/bindgen).\nIf the library is not found, the build will fail.\n\n## ecCodes installation\n\nThe recommended way to install ecCodes on your computer is using your package manager.\nFor example, on Ubuntu you can use `apt-get`:\n\n```bash\nsudo apt-get install libeccodes-dev\n```\n\nAlternatively, you can install the library manually from source in suitable directory\nfollowing [this instructions](https://confluence.ecmwf.int/display/ECC/ecCodes+installation).\n\nThen add the `lib/pkgconfig` directory from your ecCodes installation directory\nto the `PKG_CONFIG_PATH` environmental variable. If ecCodes have been compiled\nas shared library you will also need to specify `LD_LIBRARY_PATH`.\nFor example:\n\n```bash\nexport PKG_CONFIG_PATH=\u003cyour_eccodes_path\u003e/lib/pkgconfig\nexport LD_LIBRARY_PATH=\u003cyour_eccodes_path\u003e/lib\n```\n\n## Features\n\nThere are two development features available:\n\n- `docs` - for documentation building, does not link ecCodes and includes `bindings-docs.rs` into `lib.rs`\n- `tests` - turns on generation of layout tests by `bindgen`, should not be used in production. Layout tests are off by default as they dereference null pointers causing undefined behavior\n\n## License\n\nThe ecCodes library and these bindings are licensed under the [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleweather%2Feccodes-sys","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscaleweather%2Feccodes-sys","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscaleweather%2Feccodes-sys/lists"}