开源 C 或 C++嵌入式关系数据库(复制源部署)
我有一个跨平台项目,客户端获取代码,但不想解决任何依赖关系。这些要求最好通过关系数据库来解决,因此我似乎需要将可嵌入关系数据库的源代码复制到我的程序中,并将该库直接编译为可执行文件或作为项目的一部分。
是否有一个具有许可许可证的关系嵌入式数据库,以便我可以将源代码直接复制到项目中?哪一个的代码库最小?理想情况下,我正在考虑一个 C 源文件和一个标头,我可以将它们复制到程序中并立即开始使用。
I have a cross platform project where the client gets the code, but doesn't want to resolve any dependencies. The requirements are best solved with a relational database, so it seems I need to copy the source of an embeddable relational database into my program and compile the library directly into the executable or as part of the project.
Is there a relational embeddable database which has a permissive license so that I can copy the source directly into the project? Which one has the smallest code base? Ideally I'm thinking of one C source file and one header that I can copy into the program and start using immediately.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SQLite
他们有“合并”源代码分发,这是一个 C 源文件,可以包含到项目中并正确使用离开。
SQLite
They have “amalgamation” source distribution which is one C source file, which can be included into a project and used right away.
我想到了SQLite。
SQLite comes to mind.