[package] authors = ["The Cretonne Project Developers"] name = "cretonne" version = "0.1.0" description = "Low-level code generator library" license = "Apache-2.0" documentation = "https://cretonne.readthedocs.io/" repository = "https://github.com/Cretonne/cretonne" readme = "README.md" build = "build.rs" [lib] name = "cretonne" [dependencies] # It is a goal of the cretonne crate to have minimal external dependencies. # Please don't add any unless they are essential to the task of creating binary # machine code. Integration tests that need external dependencies can be # accomodated in `tests`. failure = { version = "0.1.1", default-features = false, features = ["derive"] } failure_derive = { version = "0.1.1", default-features = false } [dependencies.hashmap_core] version = "0.1.1" optional = true [features] # The "std" feature enables use of libstd. The "no_std" feature enables use # of some minimal std-like replacement libraries. At least one of these two # features to be enabled. default = ["std"] std = [] no_std = ["hashmap_core"]