reorganize for crates.io publishing
MODIFY
Cargo.toml
Cargo.toml
@@ -37,7 +37,7 @@ glob_crate = {package = "glob", version = "0.3"}
once_cell = "1.0"
rayon = "1.0"
semver = "0.9"
-binding-generator = {path = "binding-generator", optional = true}
+binding-generator = {package = "opencv-binding-generator", version = "0.1", path = "binding-generator", optional = true}
clang = {version = "0.23", features = ["clang_6_0"], optional = true}
[target.'cfg(not(target_env = "msvc"))'.build-dependencies]

MODIFY
binding-generator/Cargo.toml
binding-generator/Cargo.toml
[package]
-name = "binding-generator"
+name = "opencv-binding-generator"
+description = "Binding generator for opencv crate"
+repository = "https://github.com/twistedfall/opencv-rust"
version = "0.1.0"
+license = "MIT"
authors = ["Pro <twisted.fall@gmail.com>"]
edition = "2018"

MODIFY
binding-generator/src/bin/binding-generator.rs
binding-generator/src/bin/binding-generator.rs
@@ -5,7 +5,7 @@ use std::{
use clang::Clang;
-use binding_generator::{
+use opencv_binding_generator::{
Generator,
writer::RustBindingWriter,
};

reorganize for crates.io publishing