syntax_data: {"ast_node_type":"function","tokens":[{"end":41,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet: pub fn was_invoked_from_cargo() -> bool {
context_before: /// build systems (like Bazel, Buck2, Makefile, ...).
context_after:     static FROM_CARGO: OnceLock<bool> = OnceLock::new();