gorgeous-eve-12553
07/24/2023, 1:28 PMfresh-cat-90827
07/25/2023, 11:44 AM[GLOBAL]
pants_version = "2.17.0rc2"
backend_packages.add = [
"pants.backend.experimental.javascript",
]
fresh-cat-90827
07/25/2023, 11:56 AM"pants.backend.experimental.rust"
enabled, you can do rust_package(name="rust-package", sources=["<http://hello.rs|hello.rs>"])
but mind you this is all in the very early stages:
❯ ./pants_from_sources peek helloworld:rust-package
[
{
"address": "helloworld:rust-package",
"target_type": "rust_package",
"dependencies": [],
"description": null,
"skip_rustfmt": false,
"sources": [
"helloworld/hello.rs"
],
"sources_fingerprint": "bd34f5c3c05f1d3d6b823bdb2f499f34a4fbbe798d7481e95edbc8f7ed346f1a",
"sources_raw": [
"<http://hello.rs|hello.rs>"
],
"tags": null
}
]
fresh-cat-90827
07/25/2023, 11:57 AM