# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "finch"
version = "0.2.0"
authors = ["Roderick Bovee & One Codex <roderick@onecodex.com>"]
description = "An implementation of min-wise independent permutation locality sensitive hashing ('MinHashing') for genomic data and command-line utility for manipulation."
readme = "./README.md"
keywords = ["minhash", "bioinformatics", "sketches"]
categories = ["command-line-utilities", "science"]
license = "MIT"
repository = "https://github.com/onecodex/finch-rs"

[lib]
crate-type = ["cdylib", "rlib"]
[dependencies.capnp]
version = "0.9.4"
optional = true

[dependencies.clap]
version = "~2.32.0"

[dependencies.failure]
version = "0.1.2"

[dependencies.murmurhash3]
version = "~0.0.5"

[dependencies.ndarray]
version = "0.12"

[dependencies.needletail]
version = "0.2.2"

[dependencies.numpy]
version = "0.4.1"
optional = true

[dependencies.pyo3]
version = "0.5.3"
optional = true

[dependencies.serde]
version = "1.0.72"

[dependencies.serde_derive]
version = "1.0.72"

[dependencies.serde_json]
version = "1.0.26"

[features]
default = ["mash_format"]
mash_format = ["capnp"]
python = ["numpy", "pyo3"]
