Greenfield implementation of CardClaws Phase 1 across three surfaces. Backend (Rust/Axum workspace, 67 tests): - cardclaws-types/config/db/auth/api/wallet crates - Auth: register, login + lockout, magic link, refresh rotation, Apple verify - Cards: CRUD, tier-limited publish, duplicate, public handle lookup - Assets: R2 presigned uploads; vCard export - Apple Wallet .pkpass pipeline (PKCS#7 signer behind apple-signing feature) - Analytics ingest + summary with daily-salted IP hashing - Migrations 0001 (incl. cardclaws_sessions) + 0002 analytics Web profile (Astro SSR): cardclaws.com/[handle] hero + flip, contact actions, client-built vCard, visit attribution. Verified end-to-end. Mobile (Expo SDK 51): auth, card list/create, builder v1 (bg/text/logo, palette, undo/redo), Skia/Reanimated viewer (flip + ambient). 22 logic tests. CI: policy/backend/profile/mobile jobs; LOC + no-placeholder lint. Review fixes baked in: `back` (not `cardclaws`) key; strip image is a bundled manifest file (not a URL); sessions table added; NFC reframed; test doubles allowed for external services. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
63 lines
1.7 KiB
TOML
63 lines
1.7 KiB
TOML
[package]
|
|
name = "cardclaws-api"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Enable real Apple PKCS#7 pass signing in the binary (pulls in openssl via the
|
|
# wallet crate). Without it the dev build uses a fake signer that produces
|
|
# structurally-correct but unsigned passes — logged loudly at startup.
|
|
default = []
|
|
apple-signing = ["cardclaws-wallet/apple-signing"]
|
|
|
|
[[bin]]
|
|
name = "cardclaws-api"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
cardclaws-types = { workspace = true }
|
|
cardclaws-config = { workspace = true }
|
|
cardclaws-db = { workspace = true }
|
|
cardclaws-auth = { workspace = true }
|
|
cardclaws-wallet = { workspace = true }
|
|
|
|
tokio = { workspace = true }
|
|
axum = { workspace = true }
|
|
tower = { workspace = true }
|
|
tower-http = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
redis = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
rusty-s3 = { workspace = true }
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
rand = { workspace = true }
|
|
base64 = { workspace = true }
|
|
validator = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
cardclaws-auth = { workspace = true }
|
|
cardclaws-wallet = { workspace = true }
|
|
cardclaws-config = { workspace = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
http-body-util = "0.1"
|
|
tokio = { workspace = true }
|
|
axum = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
uuid = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
zip = { workspace = true }
|