Update URLs
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
85eb0f4436
commit
35f2e44ef2
@@ -210,59 +210,59 @@ Thanks to all the awesome contributors that contributed to this release.
|
|||||||
|
|
||||||
## 0.12.2
|
## 0.12.2
|
||||||
|
|
||||||
* Fixed version detection with lockfile v2. https://github.com/eqrion/cbindgen/pull/446
|
* Fixed version detection with lockfile v2. https://github.com/mozilla/cbindgen/pull/446
|
||||||
* Added support for export_name on functions. https://github.com/eqrion/cbindgen/pull/447
|
* Added support for export_name on functions. https://github.com/mozilla/cbindgen/pull/447
|
||||||
|
|
||||||
## 0.12.1
|
## 0.12.1
|
||||||
|
|
||||||
* Added support for #[repr*64)] on enums. https://github.com/eqrion/cbindgen/pull/441
|
* Added support for #[repr*64)] on enums. https://github.com/mozilla/cbindgen/pull/441
|
||||||
* Added support to generate plain enums instead of enum classes for C++. https://github.com/eqrion/cbindgen/pull/443
|
* Added support to generate plain enums instead of enum classes for C++. https://github.com/mozilla/cbindgen/pull/443
|
||||||
* Fixed dependency resolution with lockfile v2. https://github.com/eqrion/cbindgen/pull/438
|
* Fixed dependency resolution with lockfile v2. https://github.com/mozilla/cbindgen/pull/438
|
||||||
|
|
||||||
## 0.12.0
|
## 0.12.0
|
||||||
|
|
||||||
* Added support for #[repr(align)] and #[repr(packed)] on structs and unions. https://github.com/eqrion/cbindgen/pull/431
|
* Added support for #[repr(align)] and #[repr(packed)] on structs and unions. https://github.com/mozilla/cbindgen/pull/431
|
||||||
* Added support to generate copy-assignment operators for enums. https://github.com/eqrion/cbindgen/pull/434
|
* Added support to generate copy-assignment operators for enums. https://github.com/mozilla/cbindgen/pull/434
|
||||||
|
|
||||||
## 0.11.1
|
## 0.11.1
|
||||||
|
|
||||||
* More binary operators and expressions are supported. https://github.com/eqrion/cbindgen/pull/425
|
* More binary operators and expressions are supported. https://github.com/mozilla/cbindgen/pull/425
|
||||||
* More built-in bitflags operators. https://github.com/eqrion/cbindgen/pull/426
|
* More built-in bitflags operators. https://github.com/mozilla/cbindgen/pull/426
|
||||||
|
|
||||||
## 0.11.0
|
## 0.11.0
|
||||||
|
|
||||||
* Made rust char map to uint32_t. https://github.com/eqrion/cbindgen/pull/424
|
* Made rust char map to uint32_t. https://github.com/mozilla/cbindgen/pull/424
|
||||||
|
|
||||||
## 0.10.1
|
## 0.10.1
|
||||||
|
|
||||||
* Improved error message for missing config file. https://github.com/eqrion/cbindgen/pull/422
|
* Improved error message for missing config file. https://github.com/mozilla/cbindgen/pull/422
|
||||||
* Add missing header for char32_t. https://github.com/eqrion/cbindgen/pull/414
|
* Add missing header for char32_t. https://github.com/mozilla/cbindgen/pull/414
|
||||||
|
|
||||||
## 0.10.0
|
## 0.10.0
|
||||||
|
|
||||||
* Initialize struct literal with list-initializer for C++11 standard. https://github.com/eqrion/cbindgen/pull/401
|
* Initialize struct literal with list-initializer for C++11 standard. https://github.com/mozilla/cbindgen/pull/401
|
||||||
* Surround namespace with __cplusplus ifdef in cpp_compat mode. https://github.com/eqrion/cbindgen/pull/407
|
* Surround namespace with __cplusplus ifdef in cpp_compat mode. https://github.com/mozilla/cbindgen/pull/407
|
||||||
* Add support for --quiet flag. https://github.com/eqrion/cbindgen/pull/400
|
* Add support for --quiet flag. https://github.com/mozilla/cbindgen/pull/400
|
||||||
* Map char to char32_t. https://github.com/eqrion/cbindgen/pull/396
|
* Map char to char32_t. https://github.com/mozilla/cbindgen/pull/396
|
||||||
* Improve binding_crate_ref() error message. https://github.com/eqrion/cbindgen/pull/395
|
* Improve binding_crate_ref() error message. https://github.com/mozilla/cbindgen/pull/395
|
||||||
* avoid prematurely returning during expansion. https://github.com/eqrion/cbindgen/pull/389
|
* avoid prematurely returning during expansion. https://github.com/mozilla/cbindgen/pull/389
|
||||||
* Add support for adding "using namespace" statements. https://github.com/eqrion/cbindgen/pull/387
|
* Add support for adding "using namespace" statements. https://github.com/mozilla/cbindgen/pull/387
|
||||||
|
|
||||||
## 0.9.1
|
## 0.9.1
|
||||||
|
|
||||||
* Various improvements to comment output. https://github.com/eqrion/cbindgen/pull/370 / https://github.com/eqrion/cbindgen/pull/375.
|
* Various improvements to comment output. https://github.com/mozilla/cbindgen/pull/370 / https://github.com/mozilla/cbindgen/pull/375.
|
||||||
* Fixed expand when ran from build.rs. https://github.com/eqrion/cbindgen/pull/371
|
* Fixed expand when ran from build.rs. https://github.com/mozilla/cbindgen/pull/371
|
||||||
* More debugging output for expansion. https://github.com/eqrion/cbindgen/pull/383
|
* More debugging output for expansion. https://github.com/mozilla/cbindgen/pull/383
|
||||||
* New option to add a default private constructor in C++ tagged enums. https://github.com/eqrion/cbindgen/pull/377
|
* New option to add a default private constructor in C++ tagged enums. https://github.com/mozilla/cbindgen/pull/377
|
||||||
* Syn and related dependencies updated to 1.0. https://github.com/eqrion/cbindgen/pull/379
|
* Syn and related dependencies updated to 1.0. https://github.com/mozilla/cbindgen/pull/379
|
||||||
|
|
||||||
## 0.9.0
|
## 0.9.0
|
||||||
|
|
||||||
* Support to generate C headers with C++ compatibility. https://github.com/eqrion/cbindgen/pull/349
|
* Support to generate C headers with C++ compatibility. https://github.com/mozilla/cbindgen/pull/349
|
||||||
* Fix include guard generation when no_includes is set. https://github.com/eqrion/cbindgen/pull/352
|
* Fix include guard generation when no_includes is set. https://github.com/mozilla/cbindgen/pull/352
|
||||||
* Fix crate parsing order so that types from the binding crate are preferred in presence of conflicting names. https://github.com/eqrion/cbindgen/pull/355
|
* Fix crate parsing order so that types from the binding crate are preferred in presence of conflicting names. https://github.com/mozilla/cbindgen/pull/355
|
||||||
* Add extra_bindings option to generate bindings for dependencies. https://github.com/eqrion/cbindgen/pull/362
|
* Add extra_bindings option to generate bindings for dependencies. https://github.com/mozilla/cbindgen/pull/362
|
||||||
* Clap dependency is optional now so it's feasible to avoid building it if cbindgen is used as a library. https://github.com/eqrion/cbindgen/pull/363
|
* Clap dependency is optional now so it's feasible to avoid building it if cbindgen is used as a library. https://github.com/mozilla/cbindgen/pull/363
|
||||||
|
|
||||||
## 0.8.7
|
## 0.8.7
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ license = "MPL-2.0"
|
|||||||
description = "A tool for generating C bindings to Rust code."
|
description = "A tool for generating C bindings to Rust code."
|
||||||
keywords = ["bindings", "ffi", "code-generation"]
|
keywords = ["bindings", "ffi", "code-generation"]
|
||||||
categories = ["external-ffi-bindings", "development-tools::ffi"]
|
categories = ["external-ffi-bindings", "development-tools::ffi"]
|
||||||
repository = "https://github.com/eqrion/cbindgen"
|
repository = "https://github.com/mozilla/cbindgen"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
rust-version = "1.64"
|
rust-version = "1.64"
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# `cbindgen`   [![Build Status]][actions] [![Latest Version]][crates.io] [![Api Rustdoc]][rustdoc] [](https://github.com/eqrion/cbindgen)
|
# `cbindgen`   [![Build Status]][actions] [![Latest Version]][crates.io] [![Api Rustdoc]][rustdoc] [](https://github.com/mozilla/cbindgen)
|
||||||
|
|
||||||
[Build Status]: https://github.com/eqrion/cbindgen/workflows/cbindgen/badge.svg
|
[Build Status]: https://github.com/mozilla/cbindgen/workflows/cbindgen/badge.svg
|
||||||
[actions]: https://github.com/eqrion/cbindgen/actions
|
[actions]: https://github.com/mozilla/cbindgen/actions
|
||||||
[Latest Version]: https://img.shields.io/crates/v/cbindgen.svg
|
[Latest Version]: https://img.shields.io/crates/v/cbindgen.svg
|
||||||
[crates.io]: https://crates.io/crates/cbindgen
|
[crates.io]: https://crates.io/crates/cbindgen
|
||||||
[Api Rustdoc]: https://img.shields.io/badge/api-rustdoc-blue.svg
|
[Api Rustdoc]: https://img.shields.io/badge/api-rustdoc-blue.svg
|
||||||
@@ -35,7 +35,7 @@ It's worth noting that the development of cbindgen has been largely adhoc, as
|
|||||||
features have been added to support the usecases of the maintainers. This means
|
features have been added to support the usecases of the maintainers. This means
|
||||||
cbindgen may randomly fail to support some particular situation simply because
|
cbindgen may randomly fail to support some particular situation simply because
|
||||||
no one has put in the effort to handle it yet. [Please file an issue if you run
|
no one has put in the effort to handle it yet. [Please file an issue if you run
|
||||||
into such a situation](https://github.com/eqrion/cbindgen/issues/new). Although
|
into such a situation](https://github.com/mozilla/cbindgen/issues/new). Although
|
||||||
since we all have other jobs, you might need to do the implementation work too
|
since we all have other jobs, you might need to do the implementation work too
|
||||||
:)
|
:)
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ Check out [Servo's GitHub workflow](https://github.com/servo/servo/wiki/Github-w
|
|||||||
|
|
||||||
Don't worry about requesting code review, as there is nothing formally setup for this repository. I try and review each pull request as soon as I can.
|
Don't worry about requesting code review, as there is nothing formally setup for this repository. I try and review each pull request as soon as I can.
|
||||||
|
|
||||||
There is continuous integration setup for `cbindgen` using [GitHub Actions](https://github.com/eqrion/cbindgen/actions). It automatically runs `cargo test` which runs `cbindgen` against a series of Rust files from `tests/rust/` and checks that the output compiles using `gcc` or `g++`.
|
There is continuous integration setup for `cbindgen` using [GitHub Actions](https://github.com/mozilla/cbindgen/actions). It automatically runs `cargo test` which runs `cbindgen` against a series of Rust files from `tests/rust/` and checks that the output compiles using `gcc` or `g++`.
|
||||||
|
|
||||||
In addition to a C/C++ compiler `cargo test` requires Python and Cython
|
In addition to a C/C++ compiler `cargo test` requires Python and Cython
|
||||||
(`python -m pip install Cython`) for checking Cython bindings generated from tests (`.pyx` files).
|
(`python -m pip install Cython`) for checking Cython bindings generated from tests (`.pyx` files).
|
||||||
|
|||||||
@@ -1075,4 +1075,4 @@ module = ["name1", "name2"]
|
|||||||
[reference]: https://doc.rust-lang.org/nightly/reference/type-layout.html#representations
|
[reference]: https://doc.rust-lang.org/nightly/reference/type-layout.html#representations
|
||||||
[really-tagged-unions]: https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md
|
[really-tagged-unions]: https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md
|
||||||
[section-cfgs]: #defines-and-cfgs
|
[section-cfgs]: #defines-and-cfgs
|
||||||
[file-it]: https://github.com/eqrion/cbindgen/issues/new
|
[file-it]: https://github.com/mozilla/cbindgen/issues/new
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ impl Repr {
|
|||||||
}
|
}
|
||||||
("packed", args) => {
|
("packed", args) => {
|
||||||
// #[repr(packed(n))] not supported because of some open questions about how
|
// #[repr(packed(n))] not supported because of some open questions about how
|
||||||
// to calculate the native alignment of types. See eqrion/cbindgen#433.
|
// to calculate the native alignment of types. See mozilla/cbindgen#433.
|
||||||
if args.is_some() {
|
if args.is_some() {
|
||||||
return Err(
|
return Err(
|
||||||
"Not-yet-implemented #[repr(packed(...))] encountered.".to_string()
|
"Not-yet-implemented #[repr(packed(...))] encountered.".to_string()
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# This is a template cbindgen.toml file with all of the default values.
|
# This is a template cbindgen.toml file with all of the default values.
|
||||||
# Some values are commented out because their absence is the real default.
|
# Some values are commented out because their absence is the real default.
|
||||||
#
|
#
|
||||||
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml
|
# See https://github.com/mozilla/cbindgen/blob/master/docs.md#cbindgentoml
|
||||||
# for detailed documentation of every option here.
|
# for detailed documentation of every option here.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user