# 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 = "sapiens_tools" version = "0.10.2" authors = ["Sebastien Soudan "] publish = true description = "The tools - Sapiens" documentation = "https://docs.rs/sapiens_tools" readme = "README.md" keywords = [ "bot", "language-model", ] categories = ["science"] license = "MIT/Apache-2.0" repository = "https://github.com/ssoudan/sapiens" [package.metadata.cargo-machete] ignored = ["arxiv-rs"] [package.metadata.cargo-udeps.ignore] normal = ["pyo3-asyncio"] [[test]] name = "e2e" path = "tests/e2e.rs" harness = false [dependencies.arxiv-rs] version = "0.1.5" optional = true [dependencies.async-openai] version = "0.16.1" optional = true [dependencies.async-trait] version = "0.1.74" [dependencies.convert_case] version = "0.6.0" [dependencies.huelib2] version = "0.13.3" optional = true [dependencies.lazy_static] version = "1.4.0" [dependencies.mediawiki] version = "0.2.11" optional = true [dependencies.pyo3] version = "0.19.2" features = [] [dependencies.regex] version = "1.10.2" [dependencies.reqwest] version = "0.11" features = ["json"] optional = true [dependencies.sapiens] version = "^0.10.2" [dependencies.sapiens_derive] version = "^0.4.4" [dependencies.serde] version = "1.0.192" features = ["derive"] [dependencies.serde_json] version = "1.0.108" optional = true [dependencies.serde_yaml] version = "0.9.27" [dependencies.thiserror] version = "1.0.50" [dependencies.tokio] version = "1.33.0" features = ["macros"] [dependencies.tracing] version = "0.1.40" [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.indoc] version = "2" [dev-dependencies.insta] version = "1.34.0" features = ["yaml"] [dev-dependencies.pyo3-asyncio] version = "0.19.0" features = [ "attributes", "tokio-runtime", "testing", ] [dev-dependencies.serde_json] version = "1.0.108" [dev-dependencies.tokio] version = "1.33.0" features = ["macros"] [features] arxiv = ["dep:arxiv-rs"] default = [ "wiki", "arxiv", "summarize", "search", ] disable-test-dependabot = [] hue = ["dep:huelib2"] search = [ "dep:reqwest", "dep:serde_json", ] summarize = ["dep:async-openai"] wiki = [ "dep:mediawiki", "dep:serde_json", ]