To deploy a package using a cURL request.
Deploying Cargo Crates
curl -uadmin:password -XPUT "http://localhost:8082/artifactory/cargo-local/crates/package_1.0.0.crate" -T package_1.0.0.crate
When deploying directly (PUT request to a specific path), make sure the target path is a valid Cargo path.
Note that deploying a package to a different path will not identify the package as Cargo package, and will not invoke metadata indexing.