Files
lune/hub/Cargo.toml
Adnan Zahir 4ab9d580b8 0.1.3: upload a vault to a team from the app, detach first; AGPL-3.0
- The Lune window shows Upload on a vault that isn't on a team, for the team
  owner and anyone who manages a vault there. The hub now lets those people
  create vaults too (was owner only); /api/me and the canvas say can_create.
- A vault on its own remote (GitHub, GitLab, Gitea…) must be detached first
  (`lunesync vault detach`, or the Upload sheet's Detach): it shares what's
  waiting one last time, then lives on this device only. Upload refuses
  anything else, and a check-in no longer silently moves a same-named vault
  off its own remote onto the hub.
- Upload logic moved from the CLI into core (lune_core::upload).
- Canvas: "1 person loses access".
- License: AGPL-3.0-only. README and SPEC §8 updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 16:44:36 +07:00

25 lines
594 B
TOML

[package]
name = "lunehub"
version.workspace = true
license.workspace = true
edition = "2024"
[dependencies]
anyhow = "1.0.104"
axum = "0.8.9"
base64 = "0.23.1"
chrono = "0.4.45"
getrandom = "0.4.3"
lune-core = { version = "0.1.0", path = "../core" }
minisign = "0.10.0"
rusqlite = { version = "0.41.0", features = ["bundled"] }
rust-embed = { version = "8.13.0", features = ["mime-guess"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
sha2 = "0.11.1"
tokio = { version = "1.54.1", features = ["full"] }
[dev-dependencies]
tempfile = "3.27.0"
ureq = "3.5.0"