# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "tfidf-text-summarizer"
version = "0.0.3"
exclude = [
    ".github",
    "examples",
    "build_android.sh",
]
description = "Implementation of an extractive text summarization system which uses TF-IDF scores of words present in the text to rank sentences and generate a summary"
homepage = "https://github.com/shubham0204/tfidf-summarizer-rs"
readme = "README.md"
keywords = [
    "text-summarization",
    "nlp",
    "tf-idf",
]
license-file = "LICENSE"
repository = "https://github.com/shubham0204/tfidf-summarizer-rs"

[lib]
name = "summarizer"
crate_type = [
    "cdylib",
    "staticlib",
    "rlib",
]

[dependencies.jni]
version = "0.21.1"
optional = true

[dependencies.punkt]
version = "1.0.5"

[dependencies.rayon]
version = "1.8"

[features]
android = ["dep:jni"]
