Place storage backends behind feature flags #511

Closed
opened 2024-12-23 14:46:29 +00:00 by ok300 · 2 comments
ok300 commented 2024-12-23 14:46:29 +00:00 (Migrated from github.com)

Right now, to implement a wallet one needs to import the CDK and the chosen storage backend crate

cdk = { version = "v0.6.0", features = ["wallet"] }
cdk-sqlite = { version = "v0.6.0", features = ["wallet"] }

mintd has a dependency to all storage backends.

It would be simpler at least for wallet implementors to be able to choose the storage backend via a feature flag:

cdk = { version = "v0.6.0", features = ["wallet", "sqlite"] }
Right now, to implement a wallet one needs to import the CDK and the chosen storage backend crate ```toml cdk = { version = "v0.6.0", features = ["wallet"] } cdk-sqlite = { version = "v0.6.0", features = ["wallet"] } ``` `mintd` has a dependency to all storage backends. It would be simpler at least for wallet implementors to be able to choose the storage backend via a feature flag: ```toml cdk = { version = "v0.6.0", features = ["wallet", "sqlite"] } ```
github-actions[bot] commented 2025-10-10 02:42:01 +00:00 (Migrated from github.com)

This issue is stale because it has been open for 60 days with no activity.

This issue is stale because it has been open for 60 days with no activity.
github-actions[bot] commented 2025-10-31 02:50:55 +00:00 (Migrated from github.com)

This issue was closed because it has been inactive for 21 days since being marked as stale.

This issue was closed because it has been inactive for 21 days since being marked as stale.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
cashubtc/cdk#511
No description provided.