Skip to content

Commit

Permalink
basic
Browse files Browse the repository at this point in the history
  • Loading branch information
2A5F committed Nov 6, 2020
0 parents commit 9fbafb5
Show file tree
Hide file tree
Showing 7 changed files with 549 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
Cargo.lock
23 changes: 23 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "tuples"
version = "0.1.0"
authors = ["BatchOperator", "2A5F <[email protected]>"]
edition = "2018"
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]

[features]
default = ["std", "tuple_combin", "tuple_iter", "tuple_map", "re-exports"]
re-exports = []
std = []
tuple_iter = []
tuple_map = []
tuple_combin = []

[build-dependencies]
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
12 changes: 12 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use std::env;

mod code_gen;
use code_gen::*;

fn main() {
let out_dir = env::var_os("OUT_DIR").unwrap();

code_gen(out_dir);

println!("cargo:rerun-if-changed=build.rs");
}
Loading

0 comments on commit 9fbafb5

Please sign in to comment.