Skip to content

Commit

Permalink
pw_tokenizer: Add Rust printf format string parsing
Browse files Browse the repository at this point in the history
Change-Id: I9f93af06922955f78826a0df008e0da1ea212b46
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/146710
Reviewed-by: Taylor Cramer <cramertj@google.com>
Commit-Queue: Erik Gilling <konkers@google.com>
  • Loading branch information
konkers authored and CQ Bot Account committed May 20, 2023
1 parent 2e2363a commit 8e1aa5e
Show file tree
Hide file tree
Showing 3 changed files with 1,903 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pw_tokenizer/rust/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,31 @@ rust_doc(
name = "pw_tokenizer_core_doc",
crate = ":pw_tokenizer_core",
)

rust_library(
name = "pw_tokenizer_printf",
srcs = [
"pw_tokenizer_printf/lib.rs",
"pw_tokenizer_printf/tests.rs",
],
visibility = ["//visibility:public"],
deps = [
"//pw_status/rust:pw_status",
"@rust_crates//:nom",
],
)

rust_test(
name = "pw_tokenizer_printf_test",
crate = ":pw_tokenizer_printf",
)

rust_doc_test(
name = "pw_tokenizer_printf_doc_test",
crate = ":pw_tokenizer_printf",
)

rust_doc(
name = "pw_tokenizer_printf_doc",
crate = ":pw_tokenizer_printf",
)
Loading

0 comments on commit 8e1aa5e

Please sign in to comment.