@5150cec1 yeah, that's what I mean. Without looking into the cargo.toml, there is no way of figuring out whether it uses a single threaded or multithreaded runtime unless the annotation is more explicit than the default, which not what many people use.
@bf55f1f1 The Cargo.toml will not necessarily tell you about that if the feature "full" in Tokio was used. One needs to check where the runtime is spawned (noramally at the main function). The multithreaded version is the default. Otherwise you would see this explicit annotation:
#[tokio::main(flavor = "current_thread")]
I am sorry if I am missing something, but I don't get how the runtime that you normally start yourself (for example in Axum) is hidden.
@5150cec1 you're right. I was of the opinion that it would choose the runtime based on the activated features, which isn't the case.
Then people "just" need to know what `#[tokio::main]` does. Not that much of an issue, but still more implicit than I'd like to.