[package]
edition = "2021"
rust-version = "1.80"
name = "patent"
version = "0.2.0"
authors = ["Riad Mukhtarov"]
build = false
exclude = [
".github/",
"clippy.toml",
"rustfmt.toml",
".plan-source.md",
"demo.tape",
"demo.gif",
"social-preview.png",
"dist-workspace.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A prior-art search for your code ideas — has this dev tool already been shipped?"
homepage = "https://github.com/r14dd/patent"
documentation = "https://docs.rs/patent"
readme = "README.md"
keywords = [
"search",
"cli",
"prior-art",
"semantic-search",
"dev-tools",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/r14dd/patent"
[lib]
name = "patent"
path = "src/lib.rs"
[[bin]]
name = "patent"
path = "src/bin/patent/main.rs"
[[test]]
name = "ollama"
path = "tests/ollama.rs"
[[test]]
name = "openai"
path = "tests/openai.rs"
[[test]]
name = "sources"
path = "tests/sources.rs"
[[test]]
name = "tui"
path = "tests/tui.rs"
[[test]]
name = "verdict"
path = "tests/verdict.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.clap_complete]
version = "4"
[dependencies.crossterm]
version = "0.29"
[dependencies.dirs]
version = "6"
[dependencies.fastembed]
version = "5"
[dependencies.futures]
version = "0.3"
[dependencies.open]
version = "5"
[dependencies.ratatui]
version = "0.29"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
"rustls-native-certs",
"query",
]
default-features = false
[dependencies.scraper]
version = "0.27"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.6"
[profile.dist]
lto = "thin"
inherits = "release"