{"id":14992026,"url":"https://github.com/duchess-rs/duchess","last_synced_at":"2025-09-25T14:30:43.170Z","repository":{"id":147107791,"uuid":"618605180","full_name":"duchess-rs/duchess","owner":"duchess-rs","description":"Silky smooth Java-Rust interop","archived":false,"fork":false,"pushed_at":"2025-01-14T04:50:58.000Z","size":766,"stargazers_count":164,"open_issues_count":39,"forks_count":17,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-14T17:43:00.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://duchess-rs.github.io/duchess/","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/duchess-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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T20:59:25.000Z","updated_at":"2025-01-14T00:59:38.000Z","dependencies_parsed_at":"2023-06-29T07:15:48.337Z","dependency_job_id":"bb797af7-c9bd-4f61-b06e-65affc1942c4","html_url":"https://github.com/duchess-rs/duchess","commit_stats":null,"previous_names":["nikomatsakis/duchess"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duchess-rs%2Fduchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duchess-rs%2Fduchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duchess-rs%2Fduchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duchess-rs%2Fduchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duchess-rs","download_url":"https://codeload.github.com/duchess-rs/duchess/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234200156,"owners_count":18795139,"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-09-24T15:00:39.603Z","updated_at":"2025-09-25T14:30:43.153Z","avatar_url":"https://github.com/duchess-rs.png","language":"Rust","funding_links":[],"categories":["FFI Bindings"],"sub_categories":[],"readme":"# Duchess: silky smooth Java integration\n\n[\u003cimg src=\"https://img.shields.io/badge/chat-on%20Zulip-green\"\u003e\u003c/img\u003e][Zulip]\n[\u003cimg src=\"https://img.shields.io/badge/Coverage-green\"\u003e\u003c/img\u003e][Coverage]\n\nDuchess is a Rust crate that makes it easy, ergonomic, and efficient to interoperate with Java code.\n\n\u003cimg src=\"book/src/duchess.svg\" width=\"300\"\u003e\u003c/img\u003e\n\n\n## TL;DR\n\nDuchess permits you to reflect Java classes into Rust and easily invoke methods on Java objects. For example the following Java code...\n\n```rust\nLogger logger = new log.Logger();\nlogger.addEvent(\n    Event.builder()\n        .withTime(new Date())\n        .withName(\"foo\")\n        .build()\n);\n```\n\n...could be executed in Rust as follows:\n\n```rust\nlet logger = log::Logger::new().execute()?;\nlogger\n    .add_event(\n        log::Event::builder()\n            .with_time(java::util::Date::new())\n            .with_name(\"foo\")\n            .build(),\n    )\n    .execute()?;\n```\n\n## Curious to learn more?\n\nCheck out the...\n\n* The [examples](https://github.com/duchess-rs/duchess/tree/main/test-crates/duchess-java-tests/tests)\n* The [tutorials](https://duchess-rs.github.io/duchess/tutorials.html) chapter\n\n## Curious to get involved?\n\nLook for [issues tagged with good first issue][] and join the [Zulip][]. For more information on how to develop duchess, \nsee [Contributing][]. You may also be able to improve test [coverage].\n\n[issues tagged with good first issue]: https://github.com/duchess-rs/duchess/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22\n[Zulip]: https://duchess.zulipchat.com/\n[Contributing]: CONTRIBUTING.md\n[Coverage]: https://duchess-rs.github.io/duchess/coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduchess-rs%2Fduchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduchess-rs%2Fduchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduchess-rs%2Fduchess/lists"}