#cucumber #bdd #testing #cucumber-gherkin

gherkin

Pure Rust implementation of Gherkin language (.feature file) for Cucumber testing framework

8 releases (5 breaking)

0.15.0 Dec 12, 2025
0.14.0 Jul 14, 2023
0.13.0 Oct 24, 2022
0.12.0 Mar 28, 2022
0.0.1 May 26, 2018

#441 in Parser implementations

Download history 139502/week @ 2025-09-26 155278/week @ 2025-10-03 140980/week @ 2025-10-10 130638/week @ 2025-10-17 157538/week @ 2025-10-24 157026/week @ 2025-10-31 157543/week @ 2025-11-07 185468/week @ 2025-11-14 79393/week @ 2025-11-21 77223/week @ 2025-11-28 262572/week @ 2025-12-05 231945/week @ 2025-12-12 78623/week @ 2025-12-19 30519/week @ 2025-12-26 165438/week @ 2026-01-02 290894/week @ 2026-01-09

619,529 downloads per month
Used in 59 crates (7 directly)

MIT/Apache

63KB
1.5K SLoC

Gherkin language for Rust

crates.io Rust 1.88+ Unsafe Forbidden
CI Rust docs

Changelog

A pure Rust implementation of the Gherkin (.feature file) language for the Cucumber testing framework.

If you want to run Cucumber tests in Rust, try cucumber crate!

Usage

[dependencies]
gherkin = "0.15"

Further information

For a detailed description of Gherkin usage, you can refer to upstream Cucumber documentation.

Upstream documentation

  1. for Cucumber developers:
  2. for Cucumber users:

License

This project is licensed under either of

at your option.

Original source of src/languages.json is used under the MIT license.

Dependencies

~2.1–4.5MB
~74K SLoC