1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 13:01:08 +00:00
ibis/Cargo.toml

139 lines
3.6 KiB
TOML
Raw Normal View History

2023-11-14 22:41:58 +00:00
[package]
2024-01-03 12:29:25 +00:00
name = "ibis"
2024-10-23 09:37:06 +00:00
version = "0.1.4"
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-01-03 12:29:25 +00:00
ssr = [
"axum",
"axum-macros",
2024-01-16 15:07:01 +00:00
"axum-extra",
2024-01-03 16:06:52 +00:00
"tower-http",
2024-01-03 12:29:25 +00:00
"diesel",
"diesel-derive-newtype",
"diesel_migrations",
2024-01-03 16:06:52 +00:00
"tokio",
"leptos_axum",
"activitypub_federation",
"jsonwebtoken",
"katex/duktape",
2024-10-28 10:25:33 +00:00
"leptos/ssr",
2024-10-28 14:28:58 +00:00
"leptos-use/ssr",
2024-11-11 10:20:28 +00:00
"leptos-use/axum",
2024-11-15 09:16:48 +00:00
"doku",
"bcrypt",
"diffy",
"enum_delegate",
"async-trait",
"config",
"tower",
"tower-layer",
2023-12-22 14:07:20 +00:00
]
hydrate = [
"leptos/hydrate",
"leptos_meta/hydrate",
"leptos_router/hydrate",
"katex/wasm-js",
]
2024-11-11 15:02:48 +00:00
diesel-derive-newtype = ["dep:diesel-derive-newtype"]
# 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-01-03 12:29:25 +00:00
[dependencies]
anyhow = "1.0.89"
leptos = "0.6.15"
leptos_meta = "0.6.15"
leptos_router = "0.6.15"
chrono = { version = "0.4.38", features = ["serde"] }
env_logger = { version = "0.11.5", default-features = false }
futures = "0.3.30"
2024-01-03 12:29:25 +00:00
hex = "0.4.3"
rand = "0.8.5"
serde_json = "1.0.128"
2024-01-03 12:29:25 +00:00
sha2 = "0.10.8"
uuid = { version = "1.10.0", features = ["serde"] }
serde = { version = "1.0.210", features = ["derive"] }
url = { version = "2.5.2", features = ["serde"] }
reqwest = { version = "0.12.8", features = ["json", "cookies"] }
2024-01-03 16:06:52 +00:00
log = "0.4"
tracing = "0.1.40"
once_cell = "1.20.1"
2024-01-09 11:41:44 +00:00
console_error_panic_hook = "0.1.7"
time = "0.3.36"
markdown-it = "0.6.1"
2024-02-07 15:54:43 +00:00
smart-default = "0.7.1"
katex = { version = "0.4", default-features = false }
2024-10-23 08:57:09 +00:00
markdown-it-block-spoiler = "1.0.0"
markdown-it-heading-anchors = "0.3.0"
markdown-it-footnote = "0.2.0"
markdown-it-sub = "1.0.0"
markdown-it-sup = "1.0.0"
2024-10-28 10:25:33 +00:00
leptos-use = "0.13.6"
2024-11-07 14:38:10 +00:00
codee = "0.2.0"
2024-01-03 12:29:25 +00:00
2024-11-15 09:16:48 +00:00
# backend-only features
axum = { version = "0.7.7", optional = true }
axum-macros = { version = "0.4.2", optional = true }
axum-extra = { version = "0.9.4", features = ["cookie"], optional = true }
tokio = { version = "1.40.0", features = ["full"], optional = true }
tower-http = { version = "0.6.1", features = ["cors", "fs"], optional = true }
activitypub_federation = { version = "0.6.0", features = [
"axum",
"diesel",
], default-features = false, optional = true }
diesel = { version = "2.2.4", default-features = false, features = [
"postgres",
"chrono",
"uuid",
"r2d2",
], optional = true }
diesel-derive-newtype = { version = "2.1.2", optional = true }
diesel_migrations = { version = "2.2.0", optional = true }
doku = { version = "0.21.1", optional = true }
jsonwebtoken = { version = "9.3.0", optional = true }
leptos_axum = { version = "0.6.15", optional = true }
bcrypt = { version = "0.15.1", optional = true }
diffy = { version = "0.4.0", optional = true }
enum_delegate = { version = "0.2.0", optional = true }
async-trait = { version = "0.1.83", optional = true }
config = { version = "0.14.0", features = ["toml"], optional = true }
tower = { version = "0.5.1", optional = true }
tower-layer = { version = "0.3.3", optional = true }
2024-11-15 10:43:27 +00:00
console_log = "1.0.0"
2024-11-15 09:16:48 +00:00
2024-01-03 12:29:25 +00:00
[dev-dependencies]
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"
assets-dir = "assets"
2024-01-03 12:29:25 +00:00
bin-features = ["ssr"]
lib-features = ["hydrate"]
lib-profile-release = "wasm-release"
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"]