46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "shared"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
authors = ["Rustelo Contributors"]
|
|
license = "MIT"
|
|
description = "Shared types and utilities for Rustelo web application template"
|
|
documentation = "https://docs.rs/shared"
|
|
repository = "https://github.com/yourusername/rustelo"
|
|
homepage = "https://rustelo.dev"
|
|
readme = "../../README.md"
|
|
keywords = ["rust", "web", "leptos", "shared", "types"]
|
|
categories = ["web-programming"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
leptos = { workspace = true, features = ["hydrate", "ssr"] }
|
|
leptos_router = { workspace = true, features = ["ssr"] }
|
|
leptos_meta = { workspace = true }
|
|
reqwasm = "0.5"
|
|
wasm-bindgen = "0.2.100"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
leptos_config = { workspace = true }
|
|
toml = { workspace = true }
|
|
fluent = { workspace = true }
|
|
fluent-bundle = { workspace = true }
|
|
unic-langid = { workspace = true }
|
|
|
|
# Authentication & Authorization (shared types)
|
|
uuid = { version = "1.17", features = ["v4", "serde", "js"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
thiserror = "2.0.12"
|
|
|
|
|
|
[features]
|
|
default = []
|
|
ssr = []
|
|
|
|
[package.metadata.docs.rs]
|
|
# Configuration for docs.rs
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|