code: def test_single_line_manifest_is_case_insensitive(self):
      source = dedent(
          """
  // Cargo-deps: time="0.1.25", serde="*"
  // You can also leave off the version number, in which case, it's assumed
  // to be "*".  Also, the `cargo-deps` comment *must* be a single-line
  // comment, and it *must* be the first thing in the file, after the
  // shebang.
  // This second dependency line should be ignored
  // cargo-deps: time="0.1.25", libc="0.2.5"
  fn main() {
      println!("{}", time::now().rfc822z());
  }
  """
      )
  
      manifest, remaining_src = RustScript.extract_manifest(source)
  
      expected_manifest = '\n// Cargo-deps: time="0.1.25", serde="*"\n'
  
      assert manifest == expected_manifest
  
      expected_remaining_src = dedent(
          """// You can also leave off the version number, in which case, it's assumed
  // to be "*".  Also, the `cargo-deps` comment *must* be a single-line
  // comment, and it *must* be the first thing in the file, after the
  // shebang.
  // This second dependency line should be ignored
  // cargo-deps: time="0.1.25", libc="0.2.5"
  fn main() {
      println!("{}", time::now().rfc822z());
  }
  """
      )
  
      assert remaining_src == expected_remaining_src
  
imports: from textwrap import dedent
  from snakemake.io import InputFiles
  from snakemake.script import RustScript, BashEncoder
label_desc: Use image node_id 5 for calling the TestRustScriptExtractManifest obj's underlying member method code with example usage: obj.test_single_line_manifest_is_case_insensitive() without return types