Skip to content

Commit

Permalink
add a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Dec 26, 2024
1 parent 412d013 commit 5d309ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev/src/generate/binding_python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use std::path::PathBuf;

use super::parser::ConfigType;

/// TODO: add a common utils to parse enabled features from cargo.toml
fn enabled_service(srv: &str) -> bool {
match srv {
// not enabled in bindings/python/Cargo.toml
Expand Down
2 changes: 1 addition & 1 deletion dev/src/generate/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

use anyhow::Result;
use anyhow::{anyhow, Context};
use itertools::Itertools;
use log::debug;
Expand Down Expand Up @@ -283,7 +284,6 @@ impl ServiceParser {
#[cfg(test)]
mod tests {
use super::*;

use pretty_assertions::assert_eq;
use std::path::PathBuf;
use syn::ItemStruct;
Expand Down

0 comments on commit 5d309ae

Please sign in to comment.