[package]
name = "utf"
version = "0.0.0"
authors = ["Alex Macleod <alex@macleod.io>"]
edition = "2018"

[lib]
crate-type = ["cdylib"]

[features]
default = []
gen = ["leb128", "ucd-raw"]

[dependencies]
wasm-bindgen = "0.2"
console_error_panic_hook = "0.1"
leb128 = { version = "0.2", optional = true }
ucd-raw = { version = "0.5", optional = true }
[package]
name = "utf"
version = "0.0.0"
authors = ["Alex Macleod <alex@macleod.io>"]
edition = "2018"

[lib]
crate-type = ["cdylib"]

[[bin]]
name = "gen"
required-features = ["gen"]

[features]
default = []
gen = ["leb128", "ucd-raw"]

[dependencies]
wasm-bindgen = "0.2"
console_error_panic_hook = "0.1"
leb128 = { version = "0.2", optional = true }
ucd-raw = { version = "0.5", optional = true }
Add required feature for bin gen
Add required feature for bin gen
