diff --git a/Cargo.toml b/Cargo.toml index ded51c2..a216e65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,9 @@ version = "0.1.0" authors = ["Szymon Walter "] [dependencies] -rlibc = "1.0" bitflags = "1.0" +rlibc = { version = "1.0", optional = true } + +[features] +default = ["no_std"] +no_std = ["rlibc"]