2024-09-29 17:45:53 -04:00
|
|
|
[package]
|
|
|
|
name = "auracite"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
description = "Export your FFXIV character in portable, generic formats"
|
|
|
|
|
2024-10-30 16:27:32 -04:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2024-10-31 18:18:06 -04:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "cli"
|
|
|
|
required-features = ["cli"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "ui"
|
|
|
|
required-features = ["ui"]
|
|
|
|
|
2024-10-31 18:16:42 -04:00
|
|
|
[features]
|
|
|
|
# Builds the Qt UI for Auracite
|
|
|
|
ui = []# ["cxx-qt-build", "cxx-qt", "cxx-qt-lib", "cxx-kde-frameworks"]
|
|
|
|
|
|
|
|
# Builds the CLI for Auracite
|
|
|
|
cli = ["clap", "clap_derive"]
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
cxx-qt-build = { git = "https://github.com/KDAB/cxx-qt", branch = "main", features = ["link_qt_object_files"] }
|
2024-10-30 16:27:32 -04:00
|
|
|
|
2024-09-29 17:45:53 -04:00
|
|
|
[dependencies]
|
2024-10-05 10:03:36 -04:00
|
|
|
# Used to scrape the Lodestone HTML pages
|
2024-10-31 18:22:23 -04:00
|
|
|
scraper = "0.21"
|
2024-10-05 10:03:36 -04:00
|
|
|
|
|
|
|
# Used to serialize the JSON data we export
|
2024-09-29 17:45:53 -04:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
2024-10-05 10:03:36 -04:00
|
|
|
|
|
|
|
# Used to do some misc regex operations during scraping
|
2024-09-29 17:45:53 -04:00
|
|
|
regex = "1.11"
|
2024-10-05 10:03:36 -04:00
|
|
|
|
|
|
|
# Used to generate the HTML page to easily preview your exported data
|
2024-10-05 12:10:31 -04:00
|
|
|
minijinja = "2.0"
|
|
|
|
|
|
|
|
# Used to communicate with the Dalamud plugin
|
|
|
|
# Needs my fork for allowing server shutdown
|
|
|
|
# TODO: upstream this or poke upstream to add this
|
2024-10-30 16:27:32 -04:00
|
|
|
touche = { git = "https://github.com/redstrate/touche" }
|
|
|
|
|
2024-10-30 16:32:50 -04:00
|
|
|
# Used to generate the WebAssembly version
|
|
|
|
wasm-bindgen = "0.2.95"
|
2024-10-31 18:16:42 -04:00
|
|
|
wasm-bindgen-futures = "0.4"
|
|
|
|
|
|
|
|
# Download files on WebAssembly
|
|
|
|
reqwest = { version = "0.12" }
|
|
|
|
|
|
|
|
# Zip the character archive
|
|
|
|
zip = { version = "2.2", default-features = false }
|
2024-10-30 16:32:50 -04:00
|
|
|
|
2024-10-30 16:27:32 -04:00
|
|
|
# Not used directly by us, but to disable the "std" feature and is used by the scraper crate.
|
|
|
|
ahash = { version = "0.8.0", default-features = false }
|
|
|
|
|
|
|
|
# Ditto, but used by the ahash crate.
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
|
2024-10-31 18:16:42 -04:00
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
|
|
# Used to access Web APIs in WebAssembly
|
|
|
|
web-sys = { version = "0.3", features = ["console"] }
|
|
|
|
|
|
|
|
# For async
|
|
|
|
tokio = { version = "1.41", features = ["rt", "macros"] }
|
|
|
|
|
|
|
|
# Encoding the character archive to base64 so the browser can download it
|
|
|
|
base64 = "0.22"
|
|
|
|
|
2024-10-30 16:27:32 -04:00
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
2024-10-31 18:16:42 -04:00
|
|
|
# For async
|
|
|
|
tokio = { version = "1.41", features = ["rt", "rt-multi-thread", "macros"] }
|
|
|
|
|
|
|
|
# Download files
|
|
|
|
http_req = "0.13"
|
|
|
|
|
|
|
|
# CLI interface
|
|
|
|
clap = { version = "4.5", features = ["derive"], optional = true }
|
|
|
|
clap_derive = { version = "4.5", optional = true }
|
|
|
|
|
|
|
|
# Used for the Qt UI
|
|
|
|
cxx = "1.0"
|
|
|
|
cxx-qt = { git = "https://github.com/KDAB/cxx-qt", branch = "main" }
|
|
|
|
cxx-qt-lib = { git = "https://github.com/KDAB/cxx-qt", branch = "main", features = ["full"] }
|
|
|
|
cxx-kde-frameworks = { git = "https://github.com/mystchonky/cxx-kde-frameworks", branch = "master" }
|