This required the fixing of the features section to properly handle passing on the use_std feature. It also required that the memory functions were moved to the main library module instead of within the rust module as was previously desired. The C module then correctly skips defining the external C library functions. Basic time functionality was also added.
25 lines
572 B
TOML
25 lines
572 B
TOML
[package]
|
|
name = "pact"
|
|
version = "0.1.0"
|
|
authors = ["Jason Travis Smith <Myrddin@CyberMagesLLC.com>"]
|
|
description = "Rust bindings for standard C functions."
|
|
license = ""
|
|
repository = "https://gitlab.com/CyberMages/pact.git"
|
|
documentation = ""
|
|
keywords = ["c", "libc", "binding", "ffi", "pact", "nostd"]
|
|
|
|
|
|
[features]
|
|
default = ["c_lib"]
|
|
use_std = ["scribe/use_std", "binding/use_std"]
|
|
c_lib = []
|
|
no_mem_manip = []
|
|
weak = []
|
|
|
|
|
|
[dependencies.scribe]
|
|
git = "https://gitlab.com/CyberMages/scribe.git"
|
|
|
|
[dependencies.binding]
|
|
git = "https://gitlab.com/CyberMages/binding.git"
|