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

Feature toggles #14

Open
tdammers opened this issue Jan 1, 2019 · 1 comment
Open

Feature toggles #14

tdammers opened this issue Jan 1, 2019 · 1 comment

Comments

@tdammers
Copy link
Owner

tdammers commented Jan 1, 2019

Add Cabal flags so that some features can be enabled / disabled at compile time, such as:

  • The shellout backend can pose security issues, so you may want to disable it
  • The SQL backends introduce system library dependencies, which is inconvenient if you're not going to use them (e.g. depending, at runtime, on libmysql when you're never going to talk to a MySQL database)
  • The HTTP backend could use HTTP implementations other than libcurl (it did in the past, but libcurl proved to be the most feature-complete one)
  • There's probably a dozen more like these

Generally, this would be desirable to reduce dependency footprint, for security reasons, and to reduce overall binary size.

@tdammers
Copy link
Owner Author

tdammers commented Sep 6, 2019

  • sqlite
  • mysql
  • postgres
  • curl
  • subprocess
  • pandoc

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