Cargo Features

[dependencies]
bdb = { version = "0.0.1", default-features = false, features = ["fasta", "fastq", "http", "mgf", "text", "xml", "mass_spectrometry", "pdb", "sra", "uniprot", "csv"] }
default = csv, fasta, fastq, http, mass_spectrometry, mgf, pdb, sra, text, uniprot, xml

These default features are set whenever bdb is added without default-features = false somewhere in the dependency tree.

fasta default

TODO(ahuszagh)
Add hdf5 and sqlite

Format features.

Affects test::GAPDH_FASTA, test::BSA_FASTA, test::EMPTY_FASTA, test::GAPDH_BSA_FASTA, test::GAPDH_EMPTY_FASTA

fastq default
http default = reqwest, url

Affects sra::client, uniprot::client

mgf default

Affects test::MSCONVERT_33450_MGF, test::MSCONVERT_EMPTY_MGF, test::PAVA_33450_MGF, test::PAVA_EMPTY_MGF, test::PWIZ_33450_MGF, test::PWIZ_EMPTY_MGF

text default
xml default = quick-xml

Affects test::GAPDH_EMPTY_XML, test::GAPDH_BSA_XML

mass_spectrometry default

Datatype features.

Affects db::mass_spectra, db::peptide_search_matches, io::mass_spectra, io::peptide_search_matches

pdb default

Affects db::pdb, io::pdb

sra default

Affects db::sra, io::sra

uniprot default

Affects db::uniprot, io::uniprot

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

csv default

Affects test::HEADER_CSV_TAB, test::GAPDH_CSV_TAB, test::GAPDH_CSV_COMMA, test::BSA_CSV_TAB, test::BSA_CSV_COMMA, test::EMPTY_CSV_TAB, test::EMPTY_CSV_COMMA, test::GAPDH_BSA_CSV_TAB, test::GAPDH_EMPTY_CSV_TAB, sra::client, uniprot::client

quick-xml xml

Enables quick-xml ^0.12

reqwest http

Enables reqwest ^0.9.2

url http

Enables url ^1