Short (up to 65,535 bytes) immutable strings to e.g. parse tokens, implemented in Rust. These are sometimes called "German Strings", because Germans have written the paper mentioning them
at main 121 lines 2.2 kB view raw
1{ 2 "folders": [ 3 { 4 "path": ".", 5 } 6 ], 7 "build_systems": [ 8 { 9 "name": "Build Project", 10 "cmd": [ 11 "cargo", 12 "build" 13 ], 14 "working_dir": "${folder}", 15 "file_regex": "^\\s*(\\S+\\.[ch]):(\\d+):(\\d+):\\s*([^\\n]+)", 16 "variants": [ 17 { 18 "name": "Clean", 19 "cmd": [ 20 "cargo", 21 "clean" 22 ], 23 }, 24 { 25 "name": "Clippy", 26 "cmd": [ 27 "cargo", 28 "clippy" 29 ], 30 }, 31 { 32 "name": "Run Example", 33 "cmd": [ 34 "cargo", 35 "run", 36 "--example", 37 "example" 38 ], 39 }, 40 { 41 "name": "Generate Docs", 42 "cmd": [ 43 "cargo", 44 "doc", 45 "--all-features" 46 ], 47 }, 48 { 49 "name": "Tests with Coverage", 50 "cmd": [ 51 "cargo", 52 "llvm-cov", 53 "nextest", 54 "--all-features", 55 "--lcov", 56 "--output-path", 57 "lcov.info" 58 ], 59 }, 60 { 61 "name": "Tests", 62 "cmd": [ 63 "cargo", 64 "nextest", 65 "run", 66 "--all-features", 67 ], 68 }, 69 { 70 "name": "Doctests", 71 "cmd": [ 72 "cargo", 73 "test", 74 "--doc", 75 ], 76 }, 77 { 78 "name": "Mutation Tests", 79 "cmd": [ 80 "cargo", 81 "mutants", 82 "--test-tool=nextest", 83 "--", 84 "--all-features", 85 ], 86 "file_regex": "^MISSED\\s+(\\S+):(\\d+):(\\d+):\\s*([^\\n]+)", 87 }, 88 { 89 "name": "Mutation Tests Iteration", 90 "cmd": [ 91 "cargo", 92 "mutants", 93 "--test-tool=nextest", 94 "--iterate", 95 "--", 96 "--all-features", 97 ], 98 "file_regex": "^MISSED\\s+(\\S+):(\\d+):(\\d+):\\s*([^\\n]+)", 99 }, 100 { 101 "name": "Miri Tests", 102 "shell_cmd": "PROPTEST_DISABLE_FAILURE_PERSISTENCE=true MIRIFLAGS='-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE -Zmiri-backtrace=full -Zmiri-tree-borrows' cargo miri nextest run -j 10", 103 }, 104 { 105 "name": "Miri run Example", 106 "shell_cmd": "MIRIFLAGS=\"-Zmiri-backtrace=full -Zmiri-tree-borrows\" cargo miri run --example example", 107 }, 108 ], 109 }, 110 ], 111 "debugger_configurations": [ 112 { 113 "type": "lldb", 114 "request": "launch", 115 "name": "Debug Example", 116 "program": "${folder}/target/debug/examples/example", 117 "args": [], 118 "cwd": "${folder}" 119 }, 120 ], 121}