Coder Social home page Coder Social logo

nazariglez / fermium Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lokathor/fermium

1.0 2.0 0.0 36.25 MB

An easy to build and use set of SDL2 bindings.

Home Page: https://docs.rs/fermium

Shell 1.64% JavaScript 0.09% C++ 23.27% Python 0.01% Perl 0.27% C 66.29% Objective-C 3.04% Java 0.90% Assembly 0.15% Rust 2.00% PowerShell 0.06% Makefile 0.15% HTML 0.01% CMake 0.85% Batchfile 0.01% Metal 0.02% M4 1.24% Roff 0.01%

fermium's Introduction

Minimum Rust Version crates.io docs.rs

fermium

Rust bindings to the SDL2 library, version 2.0.16

This crate bundles the source for SDL2 and then builds it for you. In other words, you do not need to have installed SDL2 yourself. You do need a C compiler, but everyone has one of those, even on Windows.

Versioning

SDL2 does not follow SemVer.

Under SDL2's version scheme, the numbers are what SemVer would call major.major.minor. In other words, 2.0.10 is a compatible API upgrade from 2.0.9, and 2.1.0 is a breaking upgrade from 2.0.9.

Also, as of 2.0.10, they moved to a Linux style "even numbers are releases" version. The current stable version is 2.0.14, and the next stable version will be 2.0.16.

Because SDL2 doesn't follow SemVer, it's slightly harder for fermium to follow SemVer.

Since I want it to be very easy to identify what version of SDL2 is bundled in what version of fermium, we use the full SDL2 release version as the major version number of this crate:

SDL2-2.0.14 --> fermium-20014.0.0

Updates within a fermium major version will all target the same SDL2 version, and follow the normal SemVer rules.

FAQ

  • Lokathor, why does your crate have such a stupid name?
    • Well, this started as raw layer for a crate called beryllium, to replace its usage of sdl2-sys with something new. Since sdl2-sys was already taken, I needed another name, and I decided to pick another element to go with the first element. Somewhat at random, I just decided to check out element 100 on wikipedia, and it was apparently discovered in the fallout of the first hydrogen bomb. I thought to myself, "well that's cool enough, I guess.", and now we're here.

Project Logo

birth of fermium

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.