diff --git a/configure.ac b/configure.ac index 0e9390bb88..de8fd2687d 100644 --- a/configure.ac +++ b/configure.ac @@ -2643,7 +2643,7 @@ AC_SUBST(enable_non_bundled_htp) AM_CONDITIONAL([BUILD_SHARED_LIBRARY], [test "x$enable_shared" = "xyes"] && [test "x$can_build_shared_library" = "xyes"]) -AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/derive/Cargo.toml rust/.cargo/config) +AC_CONFIG_FILES(Makefile src/Makefile rust/Makefile rust/Cargo.lock rust/Cargo.toml rust/derive/Cargo.toml rust/.cargo/config.toml) AC_CONFIG_FILES(qa/Makefile qa/coccinelle/Makefile) AC_CONFIG_FILES(rules/Makefile doc/Makefile doc/userguide/Makefile) AC_CONFIG_FILES(contrib/Makefile contrib/file_processor/Makefile contrib/file_processor/Action/Makefile contrib/file_processor/Processor/Makefile) diff --git a/rust/.cargo/config.in b/rust/.cargo/config.toml.in similarity index 100% rename from rust/.cargo/config.in rename to rust/.cargo/config.toml.in diff --git a/rust/.gitignore b/rust/.gitignore index d8c32e41fe..70615afaaa 100644 --- a/rust/.gitignore +++ b/rust/.gitignore @@ -1,7 +1,8 @@ !Cargo.toml.in !Cargo.lock.in Cargo.toml -/.cargo/config +/.cargo/config.toml +!/.cargo/config.toml.in /Cargo.lock /target /vendor diff --git a/rust/Makefile.am b/rust/Makefile.am index 4b04a71a90..29cb05577a 100644 --- a/rust/Makefile.am +++ b/rust/Makefile.am @@ -1,5 +1,5 @@ EXTRA_DIST = src derive \ - .cargo/config.in \ + .cargo/config.toml.in \ cbindgen.toml \ dist/rust-bindings.h \ vendor \