rust: rename .cargo/config to .cargo/config.toml

Addresses this warning from the Rust compiler:

warning: `../rust/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
pull/11095/head
Jason Ish 10 months ago committed by Victor Julien
parent 6d2d8c26d3
commit 8560564657

@ -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)

3
rust/.gitignore vendored

@ -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

@ -1,5 +1,5 @@
EXTRA_DIST = src derive \
.cargo/config.in \
.cargo/config.toml.in \
cbindgen.toml \
dist/rust-bindings.h \
vendor \

Loading…
Cancel
Save