Mike Dilger on Nostr: $ cargo build --features=lang-cjk,video-ffmpeg --release You don't strictly have to ...
$ cargo build --features=lang-cjk,video-ffmpeg --release
You don't strictly have to use '--release' anymore, but it does optimize the whole thing if you do. The dependent crates are now always built in release/optimized mode (since those don't get recompiled every time you edit a line and compile again, the cost of doing it isn't borne as badly as if the main crate were optimized every time you just changed a few lines and recompiled).
Published at
2024-04-01 23:58:37Event JSON
{
"id": "16e33f78f72e38d7c24b890de65994c60b8b1847166c2fe6a268018e61c2d7fb",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1712015917,
"kind": 1,
"tags": [
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"9eeca894b2e8830e05ec86f4d119de411a2dd3abcb65525db69c486f4afe5882"
],
[
"p",
"877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35"
],
[
"e",
"011d1b38a40d1e18af2a653a193ae1cec69e165b7c9fdc9959a0805a8e9b174a",
"wss://pyramid.fiatjaf.com/",
"root"
],
[
"e",
"7bd817c46dcb30173e43a38854cc9ee57fde38cba9bcad808a9dea025b752fde",
"wss://chorus.mikedilger.com:444/",
"reply"
]
],
"content": "$ cargo build --features=lang-cjk,video-ffmpeg --release\n\nYou don't strictly have to use '--release' anymore, but it does optimize the whole thing if you do. The dependent crates are now always built in release/optimized mode (since those don't get recompiled every time you edit a line and compile again, the cost of doing it isn't borne as badly as if the main crate were optimized every time you just changed a few lines and recompiled).",
"sig": "958671cd070df44d9eb4a9825e5c0e8df20b7b9172ef9393ca8872eabdda76a0e48544300c48944cab519af9153dcc7c184bb328ae9a12183bdc6044fa4e2785"
}