Toggle for Blossom and NIP96 #5

Closed
opened 2024-08-30 17:44:19 +00:00 by sjors · 6 comments

At some point I may want to turn one of these mechanisms off, so it's nice if config.toml can do that.

At some point I may want to turn one of these mechanisms off, so it's nice if `config.toml` can do that.
Kieran added the
enhancement
label 2024-08-30 17:45:32 +00:00
Owner

Yea i was just thinking that, would be good to use feature flags for nip96 and blossom so you can disable some if you dont want them (like having ffmpeg dependency for nip96)

Yea i was just thinking that, would be good to use feature flags for nip96 and blossom so you can disable some if you dont want them (like having ffmpeg dependency for nip96)
Author

If ffmpeg is only needed for nip96 then I suppose you would also need a way to avoid it in the build?

If `ffmpeg` is only needed for nip96 then I suppose you would also need a way to avoid it in the build?
Kieran referenced this issue from a commit 2024-08-30 18:58:45 +00:00
Owner

You should be able to build without ffmpeg using the feature flags

cargo build --release --no-default-features --features blossom

You should be able to build without ffmpeg using the feature flags `cargo build --release --no-default-features --features blossom`
Author

Are you sure none of these dependencies are needed for Blossom? Now I'm getting a Outcome: Success(500 Internal Server Error) again after a successful void_cat::auth::blossom.

Are you sure none of these dependencies are needed for Blossom? Now I'm getting a `Outcome: Success(500 Internal Server Error)` again after a successful ` void_cat::auth::blossom`.
Owner

Yes it works, although it seems the blossom spec changed since i looked at it before.

I pushed some fixes just now

Yes it works, although it seems the blossom spec changed since i looked at it before. I pushed some fixes just now
Author
Works like a charm with noStrudel (next): https://njump.me/nevent1qqsfxk89smn6df3472gmadnk45826n33u8dwr5jn5fvrq4859hw4acspz4mhxue69uhhyetvv9ujumt0wd68ytnsw43qz9rhwden5te0dehhxarj9cchxct59ehhyecpz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dsd9qjkt
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/void-cat-rs#5
No description provided.