Skip to content

Rust bindings for libmysqlclient

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

pzmarzly/mysqlclient-sys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysqlclient-sys: static version

This Unix-only fork of mysqlclient-sys contains prebuilt static binary libmariadbclient.a (which is compatible with libmysqlclient.a) and links to it. You can rebuild the binary - see vagga.yaml for an Alpine container instruction and native/build.sh for build commands.

To use it in your Diesel project, add this to Cargo.toml:

[patch.crates-io]
mysqlclient-sys = { git = "https://github.com/pzmarzly/mysqlclient-sys", rev = "acd1b2b" }

Tested with musl + Rocket + diesel! (Tip: install musl-gcc and put

[build]
target = "x86_64-unknown-linux-musl"

to your project's .cargo/config).

Please note that libmariadbclient is licensed under LGPLv2.1. If you publicly distribute your statically-linked Rust program, you will need to let users relink it. Text of LGPLv2.1 is in native/COPYING.LIB.

Autogenerated Rust bindings for libmysql-client (#include <mysql.h>)

License

Licensed under either of

at your option.

Exception: native/libmysqlclient.a is licensed under LGPLv2.1.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Rust bindings for libmysqlclient

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.5%
  • Shell 0.5%