- Add `figment` for config yamls - Small `Makefile.toml` fixes ? (docset seems still broken ??) - Copy `config.yaml` workspace & forge - Embed proxy_man in forge - Remove `backend_process.rs` and `process.rs` - Update `llama_proxy_man/Cargo.toml` and `config.rs` for new dependencies - Format
204 lines
6.7 KiB
TOML
204 lines
6.7 KiB
TOML
[package]
|
|
name = "llama_forge_rs"
|
|
edition.workspace=true
|
|
authors.workspace=true
|
|
description = "The LLama Forge RS"
|
|
license.workspace=true
|
|
publish.workspace=true
|
|
readme = "README.md"
|
|
repository.workspace=true
|
|
version.workspace=true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
llama_proxy_man = {path="../llama_proxy_man", optional = true}
|
|
wasm-bindgen = "=0.2.100"
|
|
# TODO Update to 0.7
|
|
leptos = { version = "0.6", features = [
|
|
"serde",
|
|
"nightly",
|
|
"experimental-islands",
|
|
] }
|
|
leptos_axum = { version = "0.6", optional = true }
|
|
leptos_meta = { version = "0.6", features = ["nightly"] }
|
|
leptos_router = { version = "0.6", features = ["nightly"] }
|
|
server_fn = { version = "0.6", features = ["rkyv", "multipart"] }
|
|
axum = { version = "0.7", features = ["macros"], optional = true }
|
|
tokio = { version = "1.37.0", features = ["full"], optional = true }
|
|
tower = { version = "0.4", optional = true }
|
|
http = "1.1"
|
|
tower-http = { version = "0.5", features = [
|
|
"compression-full",
|
|
"decompression-full",
|
|
"fs",
|
|
"trace",
|
|
], optional = true }
|
|
serde = { version = "1.0.198", features = ["unstable", "rc", "derive"] }
|
|
serde_json = { version = "1.0.116" }
|
|
sqlx = { version = "0.7.4", features = ["chrono", "macros"] }
|
|
tracing = { version = "0.1.40" }
|
|
tracing-wasm = { version = "0.2.1" }
|
|
tracing-subscriber = { version = "0.3.18", features = [
|
|
"env-filter",
|
|
"tracing",
|
|
"serde",
|
|
"serde_json",
|
|
], optional = true }
|
|
|
|
anyhow = { version = "1.0.82", features = ["backtrace"] }
|
|
cfg-if = "1.0.0"
|
|
console_error_panic_hook = "0.1"
|
|
once_cell = { version = "1.19.0", optional = true }
|
|
thiserror = "1.0.59"
|
|
gloo-timers = { version = "0.3.0", features = ["futures"] }
|
|
rand = "0.8.5"
|
|
web-sys = { version = "0.3.69", features = ["FileList", "File"] }
|
|
|
|
|
|
# camt to csv deps
|
|
chrono = { version = "0.4.38", features = ["serde", "rkyv"] }
|
|
regex = { version = "1.10.4", features = ["use_std"], optional = true }
|
|
futures = { version = "0.3.30" }
|
|
async-broadcast = { version = "0.7.0", optional = true }
|
|
dashmap = { version = "5.5.3", optional = true, features = ["inline", "serde"] }
|
|
pin-project-lite = "0.2.14"
|
|
strum = { version = "0.26.2", features = ["derive", "strum_macros"] }
|
|
uuid = { version = "1.8.0", features = ["v4", "v7", "js", "serde"] }
|
|
gloo-net = "0.5.0"
|
|
wasm-bindgen-futures = "0.4.42"
|
|
reqwest = { version = "0.12.3", optional = true, features = ["json", "stream"] }
|
|
reqwest-eventsource = { version = "0.6.0", optional = true }
|
|
futures-util = { version = "0.3.30" }
|
|
tokio-stream = { version = "0.1.15", features = ["full"], optional = true }
|
|
async-trait = "0.1.80"
|
|
bytes = "1.6.0"
|
|
tao = { version = "0.27.0", optional = true, features = ["serde"] }
|
|
wry = { version = "0.39.0", optional = true, features = ["serde", "tracing"] }
|
|
winit = { version = "0.29.15", optional = true, features = ["serde"] }
|
|
gtk = { version = "0.18.1", optional = true }
|
|
x11-dl = { version = "2.21.0", optional = true }
|
|
rust-embed = { version = "8.3.0", optional = true }
|
|
mime_guess = { version = "2.0.4", optional = true }
|
|
tracing-test = "0.2.4"
|
|
sysinfo = { version = "0.30.11", optional = true }
|
|
derive_more = { version = "0.99.17", features = ["nightly"] }
|
|
sqlx-macros = { version = "0.7.4", optional = true, features = ["chrono", "json", "migrate", "sqlite", "uuid"] }
|
|
pulldown-cmark = { version = "0.12.2", features = ["serde"] }
|
|
# qdrant-client = "1.11.2"
|
|
# swiftide = "0.9.1"
|
|
|
|
# TODO Add desktop/gui feature (or maybe server/headless only?)
|
|
[features]
|
|
default = ["ssr"]
|
|
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]
|
|
ssr = [
|
|
"dep:llama_proxy_man",
|
|
"dep:async-broadcast",
|
|
"dep:axum",
|
|
"dep:dashmap",
|
|
"dep:leptos_axum",
|
|
"dep:gtk",
|
|
"dep:once_cell",
|
|
"dep:reqwest",
|
|
"dep:reqwest-eventsource",
|
|
"dep:regex",
|
|
"dep:rust-embed",
|
|
"dep:mime_guess",
|
|
"dep:tao",
|
|
"dep:tokio",
|
|
"dep:sysinfo",
|
|
"dep:tower",
|
|
"dep:tokio-stream",
|
|
"dep:tower-http",
|
|
"dep:tracing-subscriber",
|
|
"dep:winit",
|
|
"dep:wry",
|
|
"dep:x11-dl",
|
|
"dep:sqlx-macros",
|
|
"sqlx/sqlite",
|
|
"sqlx/migrate",
|
|
"sqlx/runtime-tokio",
|
|
"leptos/ssr",
|
|
"leptos_meta/ssr",
|
|
"leptos_router/ssr",
|
|
]
|
|
|
|
[package.metadata.cargo-all-features]
|
|
skip_feature_sets = [["ssr", "hydrate"]]
|
|
|
|
[package.metadata.leptos]
|
|
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name
|
|
output-name = "llama_forge_rs"
|
|
|
|
# The site root folder is where cargo-leptos generate all output. WARNING: all content of this folder will be erased on a rebuild. Use it in your server setup.
|
|
site-root = "target/site"
|
|
|
|
# The site-root relative folder where all compiled output (JS, WASM and CSS) is written
|
|
# Defaults to pkg
|
|
site-pkg-dir = "pkg"
|
|
|
|
# [Optional] The source CSS file. If it ends with .sass or .scss then it will be compiled by dart-sass into CSS. The CSS is optimized by Lightning CSS before being written to <site-root>/<site-pkg>/app.css
|
|
style-file = "style/main.scss"
|
|
|
|
# separate-front-target-dir = true
|
|
|
|
tailwind-input-file = "style/tailwind.css"
|
|
tailwind-config-file = "./tailwind.config.js"
|
|
|
|
# Assets source dir. All files found here will be copied and synchronized to site-root.
|
|
# The assets-dir cannot have a sub directory with the same name/path as site-pkg-dir.
|
|
#
|
|
# Optional. Env: LEPTOS_ASSETS_DIR.
|
|
assets-dir = "public"
|
|
|
|
# The IP and port (ex: 127.0.0.1:3000) where the server serves the content. Use it in your server setup.
|
|
site-addr = "0.0.0.0:3000"
|
|
|
|
# The port to use for automatic reload monitoring
|
|
reload-port = 3001
|
|
|
|
# [Optional] Command to use when running end2end tests. It will run in the end2end dir.
|
|
# [Windows] for non-WSL use "npx.cmd playwright test"
|
|
# This binary name can be checked in Powershell with Get-Command npx
|
|
end2end-cmd = "npx playwright test"
|
|
end2end-dir = "end2end"
|
|
|
|
# The browserlist query used for optimizing the CSS.
|
|
browserquery = "defaults"
|
|
|
|
# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head
|
|
watch = false
|
|
|
|
# The environment Leptos will run in, usually either "DEV" or "PROD"
|
|
env = "DEV"
|
|
|
|
####
|
|
bin-target-triple = "x86_64-unknown-linux-gnu"
|
|
# The features to use when compiling the bin target
|
|
#
|
|
# Optional. Can be over-ridden with the command line parameter --bin-features
|
|
bin-features = ["ssr"]
|
|
# bin-package = "llama_forge_rs_bin"
|
|
|
|
# If the --no-default-features flag should be used when compiling the bin target
|
|
#
|
|
# Optional. Defaults to false.
|
|
bin-default-features = false
|
|
|
|
# lib-package = "llama_forge_rs_lib"
|
|
# The features to use when compiling the lib target
|
|
#
|
|
# Optional. Can be over-ridden with the command line parameter --lib-features
|
|
lib-features = ["hydrate"]
|
|
|
|
# If the --no-default-features flag should be used when compiling the lib target
|
|
#
|
|
# Optional. Defaults to false.
|
|
lib-default-features = false
|
|
|
|
# The profile to use for the lib target when compiling for release
|
|
#
|
|
# Optional. Defaults to "release".
|
|
lib-profile-release = "wasm-release"
|