Skip to content

Releases: lu-zero/cargo-c

v0.9.3

16 Sep 14:50
Compare
Choose a tag to compare
  • Full workspace support, now cargo-c would build and install by default all the workspace members that have a capi feature.

v0.9.2

06 Aug 13:44
Compare
Choose a tag to compare

Updates

  • Use cbindgen 0.20
  • Use cargo 0.55

Fixes

  • Make sure no-subdirectory headers install correctly.

v0.9.1

05 Jul 09:48
Compare
Choose a tag to compare

Fixes

  • Support legacy pre-generated header.name ending with a .h.

v0.9.0

03 Jul 10:43
Compare
Choose a tag to compare

Features

  • Allow to override the pkg-config filename.
  • Allow to override the include subdirectory.
  • Make possible to strip components from the -I line in pkg-config
  • Support installing multiple custom headers, pregenerated or generated by build.rs.

Fixes

  • Make sure library name overrides with - are correctly managed.
  • Make sure the generated pkg-config work correctly with clang on windows (it takes only unix-style-paths apparently)

v0.8.3

21 Jun 14:45
Compare
Choose a tag to compare
  • Support crates that run cargo metadata from their build.rs
  • Support having a build.rs and setting -Cpanic=abort in the package metadata.

v0.8.2

18 Jun 13:15
Compare
Choose a tag to compare
  • Support iOS
  • Fix a false positive in the fingerprinting code
  • Use cargo 0.54

v0.8.1

13 May 16:49
Compare
Choose a tag to compare
  • Use cargo 0.53
  • Use cbindgen 0.19
  • Add support for package.metadata.capi.library.rustflags to set -Cpanic=abort and other C-API-specific flags automatically.

v0.8.0

02 Apr 13:58
Compare
Choose a tag to compare
  • cbindgen 0.18
  • provide a cli option to have fully static builds.
  • cargo cinstall and cargo capi install now imply --release to match the behavior of cargo install.

v0.7.3

18 Feb 11:12
Compare
Choose a tag to compare
  • Use cargo 0.51
  • Use cbindgen 0.17
  • Support bare-metal targets
  • Support #![no_std] crates
  • Fix the library renaming feature

v0.7.2

29 Jan 08:44
Compare
Choose a tag to compare
  • Use cargo 0.50 (Solves #162)
  • Pin the serde version to be compatible (Solves #159)