Only extract function bodies for local crates,

unless the -Oextract_dependencies=true flag is supplied
This commit is contained in:
Arthur Baars
2024-09-10 15:45:09 +02:00
parent 43e54fb0ae
commit f37b4aebc2
4 changed files with 49 additions and 10 deletions

View File

@@ -13,4 +13,24 @@ file_types:
- name: rust
display_name: Rust files
extensions:
- .rs
- .rs
options:
trap:
title: Options pertaining to TRAP.
type: object
properties:
compression:
title: Controls compression for the TRAP files written by the extractor.
description: >
This option is only intended for use in debugging the extractor. Accepted
values are 'brotli' (the default, to write brotli-compressed TRAP), 'gzip', and 'none'
(to write uncompressed TRAP).
type: string
pattern: "^(none|gzip|brotli)$"
extract_dependencies:
title: Whether to extract dependencies.
description: >
Extract the source code of dependencies and the standard libraries in addition to
normal source code.
type: string
pattern: "^(false|true)$"