Skip to content

Commit

Permalink
Don't require bindgen as a build dependency and use xtask instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sp4ghet committed Jul 13, 2021
1 parent 21f3e8e commit 91e6df3
Show file tree
Hide file tree
Showing 58 changed files with 4,512 additions and 4,032 deletions.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
xtask = "run --package xtask --"
120 changes: 117 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 6 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
[package]
name = "ndi"
version = "0.1.0"
description = "NewTek NDI bindings for rust"
authors = ["sp4ghet <[email protected]>"]
homepage = "https://github.com/sp4ghet/ndi-rs"
repository = "https://github.com/sp4ghet/ndi-rs"
edition = "2018"
license-file = "LICENSE"
categories = ["ndi", "network", "video", "audio"]
keywords = ["ndi", "newtek"]
build = "build.rs"
readme = "README_crate.md"

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

[features]

[dependencies]


[build-dependencies]
bindgen = "0.58.1"
[workspace]
members = [
"ndi",
"ndi-examples",
"xtask",
]
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/Cargo.toml → ndi-examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ name = "data_lifetime"
path = "src/data_lifetime.rs"

[dependencies]
ndi = {path = ".."}
ndi = {path = "../ndi"}
error-chain = "0.12.4"
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions ndi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 91e6df3

Please sign in to comment.