Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cucumber crate to cargo raze #394

Merged
merged 4 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions library/crates/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,24 @@ alias(
],
)

alias(
name = "clap",
actual = "@raze__clap__4_0_26//:clap",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "clap_derive",
actual = "@raze__clap_derive__4_0_21//:clap_derive",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "crossbeam",
actual = "@raze__crossbeam__0_8_2//:crossbeam",
Expand All @@ -48,6 +66,33 @@ alias(
],
)

alias(
name = "cucumber",
actual = "@raze__cucumber__0_15_2//:cucumber",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "cucumber_codegen",
actual = "@raze__cucumber_codegen__0_15_3//:cucumber_codegen",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "cucumber_expressions",
actual = "@raze__cucumber_expressions__0_2_1//:cucumber_expressions",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "cxx",
actual = "@raze__cxx__1_0_59//:cxx",
Expand Down Expand Up @@ -111,6 +156,33 @@ alias(
],
)

alias(
name = "synthez",
actual = "@raze__synthez__0_2_0//:synthez",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "synthez_codegen",
actual = "@raze__synthez_codegen__0_2_0//:synthez_codegen",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "synthez_core",
actual = "@raze__synthez_core__0_2_0//:synthez_core",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "tokio",
actual = "@raze__tokio__1_20_1//:tokio",
Expand Down
37 changes: 35 additions & 2 deletions library/crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,23 @@ path = "" # ignored by cargo raze
antlr-rust = "=0.3.0-beta"
axum = "=0.5.15"
chrono = "=0.4.22"
clap = "=4.0.26"
clap_derive = "=4.0.21"
crossbeam = "=0.8.2"
cucumber = "=0.15.2"
cucumber-codegen = "=0.15.3"
cucumber-expressions = "=0.2.1"
cxx = "=1.0.59"
derivative = "=2.2.0"
enum_dispatch = "=0.3.8"
futures = { version = "=0.3.21", features = ["executor", "thread-pool"] }
log = "=0.4.8"
prost = "=0.11.0"
rocksdb = "=0.17.0"
rustix = "=0.35.9"
synthez = "=0.2.0"
synthez-codegen = "=0.2.0"
synthez-core = "=0.2.0"
Comment on lines +12 to +28
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added cucumber and pinned its dependencies that require additional configuration to work with raze ('md' files referenced in code)

tokio = { version = "=1.20.1", features = ["rt", "rt-multi-thread"] }
tonic = "=0.8.0"
tonic-build = "=0.8.0"
Expand Down Expand Up @@ -47,11 +56,35 @@ targets = [
# vendored set of dependencies.
genmode = "Remote"

[package.metadata.raze.crates.tonic.'0.8.0']
[package.metadata.raze.crates.axum.'0.5.15']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.clap.'4.0.26']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.clap_derive.'4.0.21']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.cucumber-codegen.'0.15.3']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.cucumber-expressions.'0.2.1']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.cucumber.'0.15.2']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.prost.'0.11.0']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.axum.'0.5.15']
[package.metadata.raze.crates.synthez-codegen.'0.2.0']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.synthez-core.'0.2.0']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.synthez.'0.2.0']
compile_data_attr = "glob([\"**/*.md\"])"

[package.metadata.raze.crates.tonic.'0.8.0']
compile_data_attr = "glob([\"**/*.md\"])"
Comment on lines -50 to 90
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These crates require their README.md to be present during compilation, which aren't pulled in by raze by default.

Loading