{"id":13932554,"url":"https://github.com/mozilla/rust-android-gradle","last_synced_at":"2025-05-14T18:02:51.676Z","repository":{"id":38428079,"uuid":"159874888","full_name":"mozilla/rust-android-gradle","owner":"mozilla","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-07T20:56:28.000Z","size":438,"stargazers_count":1186,"open_issues_count":64,"forks_count":77,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-05-08T05:28:25.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/mozilla.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2018-11-30T20:24:46.000Z","updated_at":"2025-05-04T03:14:17.000Z","dependencies_parsed_at":"2024-04-20T20:46:47.828Z","dependency_job_id":"f0e8f344-39a8-4b09-a8b5-38e2e8852b0f","html_url":"https://github.com/mozilla/rust-android-gradle","commit_stats":{"total_commits":134,"total_committers":21,"mean_commits":6.380952380952381,"dds":"0.35074626865671643","last_synced_commit":"c62655cae09dc7b7540e96a07d35881f18ce4251"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Frust-android-gradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Frust-android-gradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Frust-android-gradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla%2Frust-android-gradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla","download_url":"https://codeload.github.com/mozilla/rust-android-gradle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198452,"owners_count":22030964,"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-07T21:01:07.443Z","updated_at":"2025-05-14T18:02:51.621Z","avatar_url":"https://github.com/mozilla.png","language":"Kotlin","readme":"# Rust Android Gradle Plugin\n\nCross compile Rust Cargo projects for Android targets.\n\n\n\u003cp align=\"left\"\u003e\n    \u003ca alt=\"Version badge\" href=\"https://plugins.gradle.org/plugin/org.mozilla.rust-android-gradle.rust-android\"\u003e\n        \u003cimg src=\"https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/org/mozilla/rust-android-gradle/rust-android/org.mozilla.rust-android-gradle.rust-android.gradle.plugin/maven-metadata.xml.svg?label=rust-android-gradle\u0026colorB=brightgreen\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Usage\n\nAdd the plugin to your root `build.gradle`, like:\n\n```groovy\nbuildscript {\n    repositories {\n        maven {\n            url \"https://plugins.gradle.org/m2/\"\n        }\n    }\n    dependencies {\n        classpath 'org.mozilla.rust-android-gradle:plugin:0.9.6'\n    }\n}\n```\n\nor \n\n```groovy\nbuildscript {\n    //...\n}\n\nplugins {\n    id \"org.mozilla.rust-android-gradle.rust-android\" version \"0.9.6\"\n}\n```\n\nIn your *project's* build.gradle, `apply plugin` and add the `cargo` configuration:\n\n```groovy\nandroid { ... }\n\napply plugin: 'org.mozilla.rust-android-gradle.rust-android'\n\ncargo {\n    module  = \"../rust\"       // Or whatever directory contains your Cargo.toml\n    libname = \"rust\"          // Or whatever matches Cargo.toml's [package] name.\n    targets = [\"arm\", \"x86\"]  // See bellow for a longer list of options\n}\n```\n\nInstall the rust toolchains for your target platforms:\n\n```sh\nrustup target add armv7-linux-androideabi   # for arm\nrustup target add i686-linux-android        # for x86\nrustup target add aarch64-linux-android     # for arm64\nrustup target add x86_64-linux-android      # for x86_64\nrustup target add x86_64-unknown-linux-gnu  # for linux-x86-64\nrustup target add x86_64-apple-darwin       # for darwin x86_64 (if you have an Intel MacOS)\nrustup target add aarch64-apple-darwin      # for darwin arm64 (if you have a M1 MacOS)\nrustup target add x86_64-pc-windows-gnu     # for win32-x86-64-gnu\nrustup target add x86_64-pc-windows-msvc    # for win32-x86-64-msvc\n...\n```\n\nFinally, run the `cargoBuild` task to cross compile:\n```sh\n./gradlew cargoBuild\n```\nOr add it as a dependency to one of your other build tasks, to build your rust code when you normally build your project:\n```gradle\ntasks.whenTaskAdded { task -\u003e\n    if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {\n        task.dependsOn 'cargoBuild'\n    }\n}\n```\n\n## Configuration\n\nThe `cargo` Gradle configuration accepts many options.\n\n### Linking Java code to native libraries\n\nGenerated libraries will be added to the Android `jniLibs` source-sets, when correctly referenced in\nthe `cargo` configuration through the `libname` and/or `targetIncludes` options.  The latter\ndefaults to `[\"lib${libname}.so\", \"lib${libname}.dylib\", \"{$libname}.dll\"]`, so the following configuration will\ninclude all `libbackend` libraries generated in the Rust project in `../rust`:\n\n```\ncargo {\n    module = \"../rust\"\n    libname = \"backend\"\n}\n```\n\nNow, Java code can reference the native library using, e.g.,\n\n```java\nstatic {\n    System.loadLibrary(\"backend\");\n}\n```\n\n### Native `apiLevel`\n\nThe [Android NDK](https://developer.android.com/ndk/guides/stable_apis) also fixes an API level,\nwhich can be specified using the `apiLevel` option.  This option defaults to the minimum SDK API\nlevel.  As of API level 21, 64-bit builds are possible; and conversely, the `arm64` and `x86_64`\ntargets require `apiLevel \u003e= 21`.\n\n### Cargo release profile\n\nThe `profile` option selects between the `--debug` and `--release` profiles in `cargo`.  *Defaults\nto `debug`!*\n\n### Extension reference\n\n### module\n\nThe path to the Rust library to build with Cargo; required.  `module` can be absolute; if it is not,\nit is interpreted as a path relative to the Gradle `projectDir`.\n\n```groovy\ncargo {\n    // Note: path is either absolute, or relative to the gradle project's `projectDir`.\n    module = '../rust'\n}\n```\n\n### libname\n\nThe library name produced by Cargo; required.\n\n`libname` is used to determine which native libraries to include in the produced AARs and/or APKs.\nSee also [`targetIncludes`](#targetincludes).\n\n`libname` is also used to determine the ELF SONAME to declare in the Android libraries produced by\nCargo.  Different versions of the Android system linker\n[depend on the ELF SONAME](https://android-developers.googleblog.com/2016/06/android-changes-for-ndk-developers.html).\n\nIn `Cargo.toml`:\n\n```toml\n[lib]\nname = \"test\"\n```\n\nIn `build.gradle`:\n\n```groovy\ncargo {\n    libname = 'test'\n}\n```\n\n### targets\n\nA list of Android targets to build with Cargo; required.\n\nValid targets for **Android** are:\n\n```\n'arm',\n'arm64',\n'x86',\n'x86_64'\n```\nValid targets for **Desktop** are:\n```\n'linux-x86-64',\n'darwin-x86-64',\n'darwin-aarch64',\n'win32-x86-64-gnu',\n'win32-x86-64-msvc'\n```\n\nThe desktop targets are useful for testing native code in Android unit tests that run on the host,\nnot on the target device.  Better support for this feature is\n[planned](https://github.com/ncalexan/rust-android-gradle/issues/13).\n\n```groovy\ncargo {\n    targets = ['arm', 'x86', 'linux-x86-64']\n}\n```\n\n### prebuiltToolchains\n\nWhen set to `true` (which requires NDK version 19+), use the prebuilt toolchains bundled with the\nNDK. When set to `false`, generate per-target architecture standalone NDK toolchains using\n`make_standalone_toolchain.py`.  When unset, use the prebuilt toolchains if the NDK version is 19+,\nand fall back to generated toolchains for older NDK versions.\n\nDefaults to `null`.\n\n```groovy\ncargo {\n    prebuiltToolchains = true\n}\n```\n\n### verbose\n\nWhen set, execute `cargo build` with or without the `--verbose` flag.  When unset, respect the\nGradle log level: execute `cargo build` with or without the `--verbose` flag according to whether\nthe log level is at least `INFO`.  In practice, this makes `./gradlew ... --info` (and `./gradlew\n... --debug`) execute `cargo build --verbose ...`.\n\nDefaults to `null`.\n\n```groovy\ncargo {\n    verbose = true\n}\n```\n\n### profile\n\nThe Cargo [release profile](https://doc.rust-lang.org/book/second-edition/ch14-01-release-profiles.html#customizing-builds-with-release-profiles) to build.\n\nDefaults to `\"debug\"`.\n\n```groovy\ncargo {\n    profile = 'release'\n}\n```\n\n### features\n\nSet the Cargo [features](https://doc.rust-lang.org/cargo/reference/manifest.html#the-features-section).\n\nDefaults to passing no flags to `cargo`.\n\nTo pass `--all-features`, use\n```groovy\ncargo {\n    features {\n        all()\n    }\n}\n```\n\nTo pass an optional list of `--features`, use\n```groovy\ncargo {\n    features {\n        defaultAnd(\"x\")\n        defaultAnd(\"x\", \"y\")\n    }\n}\n```\n\nTo pass `--no-default-features`, and an optional list of replacement `--features`, use\n```groovy\ncargo {\n    features {\n        noDefaultBut()\n        noDefaultBut(\"x\")\n        noDefaultBut \"x\", \"y\"\n    }\n}\n```\n\n### targetDirectory\n\nThe target directory into which Cargo writes built outputs. You will likely need to specify this\nif you are using a [cargo virtual workspace](https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html),\nas our default will likely fail to locate the correct target directory.\n\nDefaults to `${module}/target`.  `targetDirectory` can be absolute; if it is not, it is interpreted\nas a path relative to the Gradle `projectDir`.\n\nNote that if `CARGO_TARGET_DIR` (see https://doc.rust-lang.org/cargo/reference/environment-variables.html)\nis specified in the environment, it takes precedence over `targetDirectory`, as cargo will output\nall build artifacts to it, regardless of what is being built, or where it was invoked.\n\nYou may also override `CARGO_TARGET_DIR` variable by setting `rust.cargoTargetDir` in\n`local.properties`, however it seems very unlikely that this will be useful, as we don't pass this\ninformation to cargo itself. That said, it can be used to control where we search for the built\nlibrary on a per-machine basis.\n\n```groovy\ncargo {\n    // Note: path is either absolute, or relative to the gradle project's `projectDir`.\n    targetDirectory = 'path/to/workspace/root/target'\n}\n```\n\n### targetIncludes\n\nWhich Cargo outputs to consider JNI libraries.\n\nDefaults to `[\"lib${libname}.so\", \"lib${libname}.dylib\", \"{$libname}.dll\"]`.\n\n```groovy\ncargo {\n    targetIncludes = ['libnotlibname.so']\n}\n```\n\n### apiLevel\n\nThe Android NDK API level to target.  NDK API levels are not the same as SDK API versions; they are\nupdated less frequently.  For example, SDK API versions 18, 19, and 20 all target NDK API level 18.\n\nDefaults to the minimum SDK version of the Android project's default configuration.\n\n```groovy\ncargo {\n    apiLevel = 21\n}\n```\n\nYou may specify the API level per target in `targets` using the `apiLevels` option. At most one of\n`apiLevel` and `apiLevels` may be specified. `apiLevels` must have an entry for each target in\n`targets`.\n\n```groovy\ncargo {\n    targets = [\"arm\", \"x86_64\"]\n    apiLevels = [\n        \"arm\": 16,\n        \"x86_64\": 21,\n    ]\n}\n```\n\n### extraCargoBuildArguments\n\nSometimes, you need to do things that the plugin doesn't anticipate.  Use `extraCargoBuildArguments`\nto append a list of additional arguments to each `cargo build` invocation.\n\n```groovy\ncargo {\n    extraCargoBuildArguments = ['a', 'list', 'of', 'strings']\n}\n```\n\n### generateBuildId\n\nGenerate a build-id for the shared library during the link phase.\n\n### exec\n\nThis is a callback taking the `ExecSpec` we're going to use to invoke `cargo build`, and\nthe relevant toolchain. It's called for each invocation of `cargo build`. This generally\nis useful for the following scenarios:\n\n1. Specifying target-specific environment variables.\n1. Adding target-specific flags to the command line.\n1. Removing/modifying environment variables or command line options the rust-android-gradle plugin would\n   provide by default.\n\n```groovy\ncargo {\n    exec { spec, toolchain -\u003e\n        if (toolchain.target != \"x86_64-apple-darwin\") {\n            // Don't statically link on macOS desktop builds, for some\n            // entirely hypothetical reason.\n            spec.environment(\"EXAMPLELIB_STATIC\", \"1\")\n        }\n    }\n}\n```\n\n## Specifying NDK toolchains\n\nThe plugin can either use prebuilt NDK toolchain binaries, or search for (and if missing, build)\nNDK toolchains as generated by `make_standalone_toolchain.py`.\n\nA prebuilt NDK toolchain will be used if:\n1. `rust.prebuiltToolchain=true` in the per-(multi-)project `${rootDir}/local.properties`\n1. `prebuiltToolchain=true` in the `cargo { ... }` block (if not overridden by `local.properties`)\n1. The discovered NDK is version 19 or higher (if not overridden per above)\n\nThe toolchains are rooted in a single Android NDK toolchain directory.  In order of preference, the\ntoolchain root directory is determined by:\n\n1. `rust.androidNdkToolchainDir` in the per-(multi-)project `${rootDir}/local.properties`\n1. the environment variable `ANDROID_NDK_TOOLCHAIN_DIR`\n1. `${System.getProperty(java.io.tmpdir)}/rust-android-ndk-toolchains`\n\nNote that the Java system property `java.io.tmpdir` is not necessarily `/tmp`, including on macOS hosts.\n\nEach target architecture toolchain is named like `$arch-$apiLevel`: for example, `arm-16` or `arm64-21`.\n\n## Specifying local targets\n\nWhen developing a project that consumes `rust-android-gradle` locally, it's often convenient to\ntemporarily change the set of Rust target architectures.  In order of preference, the plugin\ndetermines the per-project targets by:\n\n1. `rust.targets.${project.Name}` for each project in `${rootDir}/local.properties`\n1. `rust.targets` in `${rootDir}/local.properties`\n1. the `cargo { targets ... }` block in the per-project `build.gradle`\n\nThe targets are split on `','`.  For example:\n\n```\nrust.targets.library=linux-x86-64\nrust.targets=arm,linux-x86-64,darwin\n```\n\n## Specifying paths to sub-commands (Python, Cargo, and Rustc)\n\nThe plugin invokes Python, Cargo and Rustc.  In order of preference, the plugin determines what command to invoke for Python by:\n\n1. the value of `cargo { pythonCommand = \"...\" }`, if non-empty\n1. `rust.pythonCommand` in `${rootDir}/local.properties`\n1. the environment variable `RUST_ANDROID_GRADLE_PYTHON_COMMAND`\n1. the default, `python`\n\nIn order of preference, the plugin determines what command to invoke for Cargo by:\n\n1. the value of `cargo { cargoCommand = \"...\" }`, if non-empty\n1. `rust.cargoCommand` in `${rootDir}/local.properties`\n1. the environment variable `RUST_ANDROID_GRADLE_CARGO_COMMAND`\n1. the default, `cargo`\n\nIn order of preference, the plugin determines what command to invoke for `rustc` by:\n\n1. the value of `cargo { rustcCommand = \"...\" }`, if non-empty\n1. `rust.rustcCommand` in `${rootDir}/local.properties`\n1. the environment variable `RUST_ANDROID_GRADLE_RUSTC_COMMAND`\n1. the default, `rustc`\n\n(Note that failure to locate `rustc` is not fatal, however it may result in rebuilding the code more often than is necessary).\n\nPaths must be host operating system specific.  For example, on Windows:\n\n```properties\nrust.pythonCommand=c:\\Python27\\bin\\python\n```\n\nOn Linux,\n```shell\nenv RUST_ANDROID_GRADLE_CARGO_COMMAND=$HOME/.cargo/bin/cargo ./gradlew ...\n```\n\n## Specifying Rust channel\n\nRust is released to three different \"channels\": stable, beta, and nightly (see\nhttps://rust-lang.github.io/rustup/concepts/channels.html).  The `rustup` tool, which is how most\npeople install Rust, allows multiple channels to be installed simultaneously and to specify which\nchannel to use by invoking `cargo +channel ...`.\n\nIn order of preference, the plugin determines what channel to invoke `cargo` with by:\n\n1. the value of `cargo { rustupChannel = \"...\" }`, if non-empty\n1. `rust.rustupChannel` in `${rootDir}/local.properties`\n1. the environment variable `RUST_ANDROID_GRADLE_RUSTUP_CHANNEL`\n1. the default, no channel specified (which `cargo` installed via `rustup` generally defaults to the\n   `stable` channel)\n\nThe channel should be recognized by `cargo` installed via `rustup`, i.e.:\n- `\"stable\"`\n- `\"beta\"`\n- `\"nightly\"`\n\nA single leading `'+'` will be stripped, if present.\n\n(Note that Cargo installed by a method other than `rustup` will generally not understand `+channel`\nand builds will likely fail.)\n\n## Passing arguments to cargo\n\nThe plugin passes project properties named like `RUST_ANDROID_GRADLE_target_..._KEY=VALUE` through\nto the Cargo invocation for the given Rust `target` as `KEY=VALUE`.  Target should be upper-case\nwith \"-\" replaced by \"_\".  (See [the links from this Cargo issue](https://github.com/rust-lang/cargo/issues/5690).) So, for example,\n\n```groovy\nproject.RUST_ANDROID_GRADLE_I686_LINUX_ANDROID_FOO=BAR\n```\nand\n```shell\n./gradlew -PRUST_ANDROID_GRADLE_ARMV7_LINUX_ANDROIDEABI_FOO=BAR ...\n```\nand\n```\nenv ORG_GRADLE_PROJECT_RUST_ANDROID_GRADLE_ARMV7_LINUX_ANDROIDEABI_FOO=BAR ./gradlew ...\n```\nall set `FOO=BAR` in the `cargo` execution environment (for the \"armv7-linux-androideabi` Rust\ntarget, corresponding to the \"x86\" target in the plugin).\n\n# Development\n\nAt top-level, the `publish` Gradle task updates the Maven repository\nunder `build/local-repo`:\n\n```\n$ ./gradlew publish\n...\n$ ls -al build/local-repo/org/mozilla/rust-android-gradle/org.mozilla.rust-android-gradle.gradle.plugin/0.4.0/org.mozilla.rust-android-gradle.gradle.plugin-0.4.0.pom\n-rw-r--r--  1 nalexander  staff  670 18 Sep 10:09\nbuild/local-repo/org/mozilla/rust-android-gradle/org.mozilla.rust-android-gradle.gradle.plugin/0.4.0/org.mozilla.rust-android-gradle.gradle.plugin-0.4.0.pom\n```\n\n## Sample projects\n\nThe easiest way to get started is to run the sample projects.  The sample projects have dependency\nsubstitutions configured so that changes made to `plugin/` are reflected in the sample projects\nimmediately.\n\n```\n$ ./gradlew -p samples/library :assembleDebug\n...\n$ file samples/library/build/outputs/aar/library-debug.aar\nsamples/library/build/outputs/aar/library-debug.aar: Zip archive data, at least v1.0 to extract\n```\n\n```\n$ ./gradlew -p samples/app :assembleDebug\n...\n$ file samples/app/build/outputs/apk/debug/app-debug.apk\nsamples/app/build/outputs/apk/debug/app-debug.apk: Zip archive data, at least v?[0] to extract\n```\n\n## Testing Local changes\n\nAn easy way to locally test changes made in this plugin is to simply add this to your project's `settings.gradle`:\n\n```gradle\n// Switch this to point to your local plugin dir\nincludeBuild('../rust-android-gradle') {\n    dependencySubstitution {\n        // As required.\n        substitute module('gradle.plugin.org.mozilla.rust-android-gradle:plugin') with project(':plugin')\n    }\n}\n```\n\n# Publishing\n\n## Automatically via the Bump version Github Actions workflow\n\nYou will need to be a collaborator.  First, manually invoke the [Bump version Github Actions\nworkflow](https://github.com/mozilla/rust-android-gradle/actions/workflows/bump.yml).  Specify a\nversion (like \"x.y.z\", without quotes) and a single line changelog entry.  (This entry will have a\ndash prepended, so that it would look normal in a list.  This is working around [the lack of a\nmulti-line input in Github\nActions](https://github.community/t/multiline-inputs-for-workflow-dispatch/163906).)  This will push\na preparatory commit updating version numbers and the changelog like [this\none](https://github.com/mozilla/rust-android-gradle/commit/2a637d1797a5d0b5063b8d2f0a3d4a4938511154),\nand make a **draft** Github Release with a name like `vx.y.z`.  After verifying that tests pass,\nnavigate to [the releases panel](https://github.com/mozilla/rust-android-gradle/releases) and edit\nthe release, finally pressing \"Publish release\".  The release Github workflow will build and publish\nthe plugin, although it may take some days for it to be reflected on the Gradle plugin portal.\n\n## By hand\n\nYou will need credentials to publish to the [Gradle plugin portal](https://plugins.gradle.org/) in\nthe appropriate place for the [`plugin-publish`](https://plugins.gradle.org/docs/publish-plugin) to\nfind them.  Usually, that's in `~/.gradle/gradle.properties`.\n\nAt top-level, the `publishPlugins` Gradle task publishes the plugin for consumption:\n\n```\n$ ./gradlew publishPlugins\n...\nPublishing plugin org.mozilla.rust-android-gradle.rust-android version 0.8.1\nPublishing artifact build/libs/plugin-0.8.1.jar\nPublishing artifact build/libs/plugin-0.8.1-sources.jar\nPublishing artifact build/libs/plugin-0.8.1-javadoc.jar\nPublishing artifact build/publish-generated-resources/pom.xml\nActivating plugin org.mozilla.rust-android-gradle.rust-android version 0.8.1\n```\n\n## Real projects\n\nTo test in a real project, use the local Maven repository in your `build.gradle`, like:\n\n```gradle\nbuildscript {\n    repositories {\n        maven {\n            url \"file:///Users/nalexander/Mozilla/rust-android-gradle/build/local-repo\"\n        }\n    }\n\n    dependencies {\n        classpath 'org.mozilla.rust-android-gradle:plugin:0.9.0'\n    }\n}\n```\n","funding_links":[],"categories":["Kotlin","Awesome Tools"],"sub_categories":["Languages"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Frust-android-gradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla%2Frust-android-gradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla%2Frust-android-gradle/lists"}