M. Dilger on Nostr: The error indicates that tokio isn't configured right. tokio has to be built with the ...
The error indicates that tokio isn't configured right.
tokio has to be built with the unstable flag.
There is a file ".cargo/config" which sets this flag.
If you set RUSTFLAGS you will clobber this setting, so you have to add "--cfg tokio_unstable" to RUSTFLAGS if you override it.
Gossip has a Cargo.lock which fixes in place the versions of all the dependenices so you can't be running some new tokio that breaks.
Published at
2023-12-06 08:02:37Event JSON
{
"id": "24371727ec17bbb3bd49b0bdaa85ce2554cf75547de94a2f1e2e4d5cf2869e21",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1701849757,
"kind": 1,
"tags": [
[
"p",
"04918dfc36c93e7db6cc0d60f37e1522f1c36b64d3f4b424c532d7c595febbc5"
],
[
"p",
"39647228efddf22f84a7ce36d111b378ce5f3d15b8401347855e04b24c8e4e04"
],
[
"e",
"b23e8e9a48e1b60bede5264d4389b4cd088eedc3dc396bf5c1f48157d67e2fba",
"wss://nostr-pub.wellorder.net/",
"root"
],
[
"e",
"4c6f8e8ccbaa3f9d290ef01f32857c92f07880d20dbbf08599a79c5fd1c1eb68",
"wss://nos.lol/",
"reply"
]
],
"content": "The error indicates that tokio isn't configured right.\n\ntokio has to be built with the unstable flag.\n\nThere is a file \".cargo/config\" which sets this flag.\n\nIf you set RUSTFLAGS you will clobber this setting, so you have to add \"--cfg tokio_unstable\" to RUSTFLAGS if you override it.\n\nGossip has a Cargo.lock which fixes in place the versions of all the dependenices so you can't be running some new tokio that breaks.\n",
"sig": "d6bb37207ef41f593664ac76949e350a959f7da89cb2d923f43061c46626eba7f8d531ec329861302c31070850b00c66322cfcb1985e06417c45c3e8abeecf07"
}