Move git_tools, file_tools, and project_tools from libs/service into a new libs/fctool crate with correct workspace dependencies. Fixes the rev.len() >= 40 bug in all git tool resolve functions (OID check needs exact 40-char hex, not just >= 40). Adds 4 new git blob tools (blob_get, blob_exists, blob_content, blob_create). Fixes parameter naming inconsistency in repos.rs and adds project_name to list_repos output. Removes unused excel/pdf/ppt/word file tools.
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "fctool"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
readme.workspace = true
|
|
homepage.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
documentation.workspace = true
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
name = "fctool"
|
|
|
|
[dependencies]
|
|
agent = { workspace = true }
|
|
git = { workspace = true }
|
|
models = { workspace = true }
|
|
db = { workspace = true }
|
|
sea-orm = { workspace = true, features = [] }
|
|
git2 = { workspace = true }
|
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
base64 = { workspace = true }
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
uuid = { workspace = true, features = ["serde", "v7"] }
|
|
reqwest = { workspace = true, features = ["json", "native-tls"] }
|
|
regex = { workspace = true }
|
|
csv = { workspace = true }
|
|
quick-xml = { workspace = true }
|
|
sqlparser = { workspace = true }
|
|
pulldown-cmark = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
|
|
tracing = { workspace = true }
|