How can i set some dependencies for a binary and others for anothers

i'm writing a project that has 2 binaries:
main - the main binary
config - a interface cli for write .conf files to main bin

they use different deps and i wanna to compiler and user that is reading that that dep is for that bin and that dep is for the other bin

Dependencies are defined on the package level. You can't differentiate dependencies on a crate level within the same package. You'd have to split your project into two packages, each containing one of your binary crates. You can put them together in a workspace to make developing both in tandem more convenient.