M Cargo.toml => Cargo.toml +5 -1
@@ 11,7 11,11 @@ readme = "README.md"
keywords = ["avr", "arduino"]
categories = ["no-std", "embedded", "hardware-support"]
-build = "build.rs"
+include = [
+ "/src/**/*.rs",
+ "/LICENSE-*",
+ "/README.md",
+]
[features]
atmega1280 = []
D build.rs => build.rs +0 -24
@@ 1,24 0,0 @@
-use std::process;
-
-fn main() {
- // Just run `make` to generate the chip definitions
- if !process::Command::new("make").status().unwrap().success() {
- eprintln!(
- "
-avr-device: Running `make` resulted in a failure.
-
- Please make sure, you have all dependencies
- installed. They are:
- - atdf2svd
- - svd2rust
- - form
- - rustfmt (for the nightly toolchain!)
- - PyYAML
-
- For more info, look at README file:
- https://github.com/Rahix/avr-device/blob/master/README.md
-"
- );
- panic!("make failed");
- }
-}
M macros/Cargo.toml => macros/Cargo.toml +4 -0
@@ 8,6 8,10 @@ description = "Attribute macros for re-export in `avr-device`"
license = "MIT OR Apache-2.0"
repository = "https://github.com/Rahix/avr-device"
+include = [
+ "src/*.rs"
+]
+
[lib]
proc-macro = true