#multi-channel #distance-field #sdf #msdf #graphics #mcsdf

sys msdfgen-lib

Bundled msdfgen library (multi-channel signed distance field generator)

1 unstable release

0.1.0 Feb 26, 2020

#7 in #multi-channel

MIT license

12KB
176 lines

Bundled msdfgen library

License: MIT Crates.io Package Docs.rs API Docs Travis-CI Status

This crate provides bundled msdfgen library for using with msdfgen crate.

Usage

You can simply add this as dependency to your manifest:

[dependencies]
msdfgen = "^0.1"

# Use bundled library to avoid unresolved links
msdfgen-lib = "^0.1"

Next you should say compiler that you want to use that crate:

// Either in traditional manner
extern crate msdfgen_lib;

// Or in Rust2018 manner
use msdfgen_lib as _;

Features

You can apply some customizations to library using those features:

  • shared Force bundle shared (or dynamic) library instead of static (default)
  • libcxx Link with libc++ instead of libstdc++ (default)
  • stdcxx-static Link with static C++ stdlib instead of shared (default)

No runtime deps

~0–1.5MB
~22K SLoC