2023-11-14 22:41:58 +00:00
|
|
|
[package]
|
2024-01-03 12:29:25 +00:00
|
|
|
name = "ibis"
|
2023-11-14 22:41:58 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
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",
|
2024-01-26 13:21:59 +00:00
|
|
|
"activitypub_federation",
|
2024-02-27 12:05:12 +00:00
|
|
|
"jsonwebtoken",
|
2023-12-22 14:07:20 +00:00
|
|
|
]
|
2024-01-09 11:41:44 +00:00
|
|
|
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
|
|
|
|
hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"]
|
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]
|
2024-02-27 12:05:12 +00:00
|
|
|
activitypub_federation = { git = "https://github.com/LemmyNet/activitypub-federation-rust.git", branch = "optional-activity-queue", features = [
|
2024-01-03 12:29:25 +00:00
|
|
|
"axum",
|
|
|
|
"diesel",
|
|
|
|
], default-features = false, optional = true }
|
|
|
|
anyhow = "1.0.75"
|
|
|
|
async-trait = "0.1.74"
|
|
|
|
axum = { version = "0.6.20", optional = true }
|
|
|
|
axum-macros = { version = "0.3.8", optional = true }
|
2024-01-16 15:07:01 +00:00
|
|
|
axum-extra = { version = "0.7.7", features = ["cookie"], optional = true }
|
2024-01-11 15:21:44 +00:00
|
|
|
leptos = "0.5.4"
|
|
|
|
leptos_meta = "0.5.4"
|
|
|
|
leptos_router = "0.5.4"
|
2024-01-03 16:06:52 +00:00
|
|
|
leptos_axum = { version = "0.5.4", optional = true }
|
2024-01-03 12:29:25 +00:00
|
|
|
bcrypt = "0.15.0"
|
|
|
|
chrono = { version = "0.4.31", features = ["serde"] }
|
|
|
|
diesel = { version = "2.1.4", features = [
|
|
|
|
"postgres",
|
|
|
|
"chrono",
|
|
|
|
"uuid",
|
2024-02-27 16:49:36 +00:00
|
|
|
"r2d2"
|
2024-01-03 12:29:25 +00:00
|
|
|
], optional = true }
|
|
|
|
diesel-derive-newtype = { version = "2.1.0", optional = true }
|
|
|
|
diesel_migrations = { version = "2.1.0", optional = true }
|
|
|
|
diffy = "0.3.0"
|
|
|
|
enum_delegate = "0.2.0"
|
|
|
|
env_logger = { version = "0.10.1", default-features = false }
|
|
|
|
futures = "0.3.29"
|
|
|
|
hex = "0.4.3"
|
2024-02-27 12:05:12 +00:00
|
|
|
jsonwebtoken = { version = "9.2.0", optional = true }
|
2024-01-03 12:29:25 +00:00
|
|
|
rand = "0.8.5"
|
|
|
|
serde_json = "1.0.108"
|
|
|
|
sha2 = "0.10.8"
|
|
|
|
tokio = { version = "1.34.0", features = ["full"], optional = true }
|
|
|
|
uuid = { version = "1.6.1", features = ["serde"] }
|
2024-01-03 16:06:52 +00:00
|
|
|
tower-http = { version = "0.4.0", features = ["cors", "fs"], optional = true }
|
|
|
|
serde = { version = "1.0.192", features = ["derive"] }
|
|
|
|
url = { version = "2.4.1", features = ["serde"] }
|
2024-01-18 14:31:32 +00:00
|
|
|
reqwest = { version = "0.11.22", features = ["json", "cookies"] }
|
2024-01-03 16:06:52 +00:00
|
|
|
log = "0.4"
|
|
|
|
tracing = "0.1.40"
|
|
|
|
once_cell = "1.18.0"
|
2024-01-09 11:41:44 +00:00
|
|
|
wasm-bindgen = "0.2.89"
|
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
console_log = "1.0.0"
|
2024-01-16 15:07:01 +00:00
|
|
|
time = "0.3.31"
|
2024-01-19 14:49:08 +00:00
|
|
|
tower = "0.4.13"
|
2024-01-25 15:26:50 +00:00
|
|
|
markdown-it = "0.6.0"
|
2024-02-08 16:04:56 +00:00
|
|
|
web-sys = "0.3.68"
|
2024-02-07 15:54:43 +00:00
|
|
|
config = { version = "0.14.0", features = ["toml"] }
|
|
|
|
doku = "0.21.1"
|
|
|
|
smart-default = "0.7.1"
|
2024-01-03 12:29:25 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
pretty_assertions = "1.4.0"
|
|
|
|
|
|
|
|
[package.metadata.leptos]
|
|
|
|
output-name = "ibis"
|
|
|
|
bin-features = ["ssr"]
|
|
|
|
lib-features = ["csr"]
|
|
|
|
|
|
|
|
[lib]
|
2024-01-09 11:41:44 +00:00
|
|
|
name = "ibis_lib"
|
2024-01-03 12:29:25 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2024-01-25 15:12:30 +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]
|
2024-01-25 15:26:50 +00:00
|
|
|
debug = 0
|