Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Place storage backends behind feature flags #511

Open
ok300 opened this issue Dec 23, 2024 · 0 comments
Open

Place storage backends behind feature flags #511

ok300 opened this issue Dec 23, 2024 · 0 comments

Comments

@ok300
Copy link
Contributor

ok300 commented Dec 23, 2024

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"] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant