2023-11-14 22:41:58 +00:00
|
|
|
[package]
|
2024-01-03 12:29:25 +00:00
|
|
|
name = "ibis"
|
2024-12-12 09:10:37 +00:00
|
|
|
version = "0.2.0-rc.5"
|
2023-11-14 22:41:58 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
2024-01-03 12:29:25 +00:00
|
|
|
[features]
|
2024-01-03 16:06:52 +00:00
|
|
|
default = ["ssr"]
|
2024-11-25 13:56:57 +00:00
|
|
|
ssr = ["katex/duktape", "leptos/ssr", "leptos-use/ssr", "leptos-use/axum"]
|
2024-11-25 13:08:59 +00:00
|
|
|
hydrate = ["leptos/hydrate", "katex/wasm-js"]
|
2024-10-28 14:46:51 +00:00
|
|
|
|
|
|
|
# This profile significantly speeds up build time. If debug info is needed you can comment the line
|
|
|
|
# out temporarily, but make sure to leave this in the main branch.
|
|
|
|
[profile.dev]
|
|
|
|
debug = 0
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = "thin"
|
|
|
|
strip = true
|
|
|
|
|
|
|
|
# Defines a size-optimized profile for the WASM bundle in release mode
|
|
|
|
[profile.wasm-release]
|
|
|
|
inherits = "release"
|
|
|
|
opt-level = 'z'
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
2024-01-03 12:29:25 +00:00
|
|
|
|
2024-02-07 15:54:43 +00:00
|
|
|
[lints.clippy]
|
|
|
|
dbg_macro = "deny"
|
2024-02-27 17:04:39 +00:00
|
|
|
unwrap_used = "deny"
|
2024-02-07 15:54:43 +00:00
|
|
|
|
2024-11-25 13:08:59 +00:00
|
|
|
# frontend and shared deps
|
2024-01-03 12:29:25 +00:00
|
|
|
[dependencies]
|
2024-12-17 08:52:01 +00:00
|
|
|
leptos = "0.7.1"
|
|
|
|
leptos_meta = "0.7.1"
|
|
|
|
leptos_router = "0.7.1"
|
|
|
|
chrono = { version = "0.4.39", features = ["serde"] }
|
2024-01-03 12:29:25 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
rand = "0.8.5"
|
2024-11-15 15:07:29 +00:00
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
2024-12-17 08:52:01 +00:00
|
|
|
serde_json = "1.0.133"
|
2024-01-03 12:29:25 +00:00
|
|
|
sha2 = "0.10.8"
|
2024-11-15 15:35:03 +00:00
|
|
|
uuid = { version = "1.11.0", features = ["serde"] }
|
2024-12-17 08:52:01 +00:00
|
|
|
serde = { version = "1.0.216", features = ["derive"] }
|
|
|
|
url = { version = "2.5.4", features = ["serde"] }
|
2024-01-03 16:06:52 +00:00
|
|
|
log = "0.4"
|
2024-12-17 08:52:01 +00:00
|
|
|
tracing = "0.1.41"
|
2024-11-15 15:35:03 +00:00
|
|
|
once_cell = "1.20.2"
|
2024-01-09 11:41:44 +00:00
|
|
|
console_error_panic_hook = "0.1.7"
|
2024-12-17 08:52:01 +00:00
|
|
|
time = "0.3.37"
|
2024-10-02 12:47:44 +00:00
|
|
|
markdown-it = "0.6.1"
|
2024-02-07 15:54:43 +00:00
|
|
|
smart-default = "0.7.1"
|
2024-10-15 07:39:29 +00:00
|
|
|
katex = { version = "0.4", default-features = false }
|
2024-12-17 08:52:01 +00:00
|
|
|
markdown-it-block-spoiler = "1.0.1"
|
2024-10-23 09:24:30 +00:00
|
|
|
markdown-it-heading-anchors = "0.3.0"
|
2024-10-23 09:32:26 +00:00
|
|
|
markdown-it-footnote = "0.2.0"
|
2024-12-17 08:52:01 +00:00
|
|
|
markdown-it-sub = "1.0.1"
|
|
|
|
markdown-it-sup = "1.0.1"
|
|
|
|
leptos-use = "0.14.0"
|
2024-11-07 14:38:10 +00:00
|
|
|
codee = "0.2.0"
|
2024-12-09 15:07:55 +00:00
|
|
|
wasm-bindgen = "=0.2.99"
|
2024-11-25 13:08:59 +00:00
|
|
|
gloo-net = "0.6.0"
|
|
|
|
console_log = "1.0.0"
|
|
|
|
send_wrapper = "0.6.0"
|
2024-12-17 08:52:01 +00:00
|
|
|
web-sys = "0.3.76"
|
|
|
|
http = "1.2.0"
|
2024-11-25 13:08:59 +00:00
|
|
|
serde_urlencoded = "0.7.1"
|
2024-01-03 12:29:25 +00:00
|
|
|
|
2024-11-25 13:08:59 +00:00
|
|
|
# backend-only deps
|
|
|
|
[target.'cfg(not(target_family = "wasm"))'.dependencies]
|
2024-12-17 08:52:01 +00:00
|
|
|
axum = "0.7.9"
|
2024-11-25 13:08:59 +00:00
|
|
|
axum-macros = "0.4.2"
|
2024-12-17 08:52:01 +00:00
|
|
|
axum-extra = { version = "0.9.6", features = ["cookie"] }
|
|
|
|
tokio = { version = "1.42.0", features = ["full"] }
|
|
|
|
tower-http = { version = "0.6.2", features = [
|
2024-12-12 08:46:54 +00:00
|
|
|
"cors",
|
|
|
|
"fs",
|
|
|
|
"compression-full",
|
|
|
|
] }
|
2024-12-17 08:52:01 +00:00
|
|
|
activitypub_federation = { version = "0.6.1", features = [
|
2024-11-15 09:16:48 +00:00
|
|
|
"axum",
|
|
|
|
"diesel",
|
2024-11-25 13:08:59 +00:00
|
|
|
], default-features = false }
|
2024-12-17 08:52:01 +00:00
|
|
|
diesel = { version = "2.2.6", default-features = false, features = [
|
2024-11-15 09:16:48 +00:00
|
|
|
"postgres",
|
|
|
|
"chrono",
|
|
|
|
"uuid",
|
|
|
|
"r2d2",
|
2024-11-25 13:08:59 +00:00
|
|
|
] }
|
|
|
|
diesel-derive-newtype = { version = "2.1.2" }
|
|
|
|
diesel_migrations = { version = "2.2.0" }
|
|
|
|
doku = { version = "0.21.1" }
|
|
|
|
jsonwebtoken = { version = "9.3.0" }
|
2024-12-17 08:52:01 +00:00
|
|
|
leptos_axum = { version = "0.7.1" }
|
|
|
|
bcrypt = "0.16.0"
|
2024-11-25 13:08:59 +00:00
|
|
|
diffy = { version = "0.4.0" }
|
|
|
|
enum_delegate = { version = "0.2.0" }
|
|
|
|
async-trait = { version = "0.1.83" }
|
|
|
|
config = { version = "0.14.1", features = ["toml"] }
|
2024-12-17 08:52:01 +00:00
|
|
|
tower = { version = "0.5.2" }
|
2024-11-25 13:08:59 +00:00
|
|
|
tower-layer = { version = "0.3.3" }
|
2024-11-25 13:56:57 +00:00
|
|
|
reqwest = { version = "0.12.9", features = ["json", "cookies"] }
|
2024-11-25 13:08:59 +00:00
|
|
|
futures = "0.3.31"
|
|
|
|
env_logger = { version = "0.11.5", default-features = false }
|
2024-12-17 08:52:01 +00:00
|
|
|
anyhow = "1.0.94"
|
2024-12-11 12:16:15 +00:00
|
|
|
include_dir = "0.7.4"
|
|
|
|
mime_guess = "2.0.5"
|
2024-11-15 09:16:48 +00:00
|
|
|
|
2024-01-03 12:29:25 +00:00
|
|
|
[dev-dependencies]
|
2024-10-02 12:47:44 +00:00
|
|
|
pretty_assertions = "1.4.1"
|
2024-11-11 12:14:00 +00:00
|
|
|
retry_future = "0.4.0"
|
2024-01-03 12:29:25 +00:00
|
|
|
|
|
|
|
[package.metadata.leptos]
|
|
|
|
output-name = "ibis"
|
2024-10-28 14:46:51 +00:00
|
|
|
assets-dir = "assets"
|
2024-01-03 12:29:25 +00:00
|
|
|
bin-features = ["ssr"]
|
2024-10-28 14:46:51 +00:00
|
|
|
lib-features = ["hydrate"]
|
|
|
|
lib-profile-release = "wasm-release"
|
2024-12-11 14:35:31 +00:00
|
|
|
style-file = "assets/ibis.css"
|
2024-10-30 15:28:41 +00:00
|
|
|
tailwind-input-file = "assets/ibis.css"
|
2024-10-30 11:09:08 +00:00
|
|
|
tailwind-config-file = "tailwind.config.js"
|
2024-01-03 12:29:25 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
2024-11-25 12:33:57 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-shear]
|
|
|
|
ignored = ["getrandom"]
|