PackageTrack
Sign in Get early access

foreign-types

A framework for Rust wrappers over C APIs

0.5.0 403M downloads/mo #286 most downloaded on crates.io sfackler/foreign-types

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.3 years

Most releases are documented

notes for 6 of 8 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

8 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

8 releases · Jan 2017 to Oct 2019
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 0.5.0 13 Oct 2019
    Release notes
    • The ForeignType and ForeignTypeRef traits are now unsafe.
    • The syntax of the foreign_type! macro has changed slightly to require an unsafe keyword before the type name.
    Open source →
  2. 0.4.0 04 Mar 2019
    Release notes
    • Opaque is now both !Send and !Sync.
    • from_ptr constructors have a debug assert that the pointer is non-null.
    • Generated ForeignType structs now use NonNull<T> rather than *mut T.
    • Generated ForeignType structs are now #[repr(transparent)].
    • The foreign_type! macro now uses a different syntax. It supports definition of multiple types per macro invocation, and automatically creates the reference type name. It also supports lifetime and type parameters on generated foreign types.
    • Generated code is now no-std compatible.
    Open source →
  3. 0.3.2 28 Nov 2017
    Release notes
    • Ensure licenses are present in releases.
    Open source →
  4. 0.3.1 26 Nov 2017
    Release notes
    • Split out types/traits to a separate crate so they can be versioned separately from the macro.
    Open source →
    Release notes
    • Improve documentation
    Open source →
  5. 0.3.0 05 Sep 2017
    Release notes
    • Implement Borrow and AsRef.
    • Support Clone implementations.
    • Support attributes on impl blocks.
    Open source →
  6. 0.2.1 27 Nov 2017
    Release notes
    • Split out types/traits to a separate crate so they can be versioned separately from the macro.
    Open source →
  7. 0.2.0 11 Feb 2017

    Nothing published for this version

  8. 0.1.0 31 Jan 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive