[package]
edition = "2021"
name = "hao"
version = "0.0.6"
authors = ["Sam M."]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read, edit, create and write .net assemblies"
documentation = "https://docs.rs/hao"
readme = "README.md"
keywords = [
"dotnet",
"managed",
"csharp",
"netcore",
"dnlib",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/pigeonhands/hao"
[features]
default = []
reflect = [
"dep:facet",
"sync",
"pewter/reflect",
]
sync = []
[lib]
name = "hao"
path = "src/lib.rs"
[[example]]
name = "dump_csharp"
path = "examples/dump_csharp.rs"
[[example]]
name = "load_module"
path = "examples/load_module.rs"
[[example]]
name = "patch_method"
path = "examples/patch_method.rs"
[[example]]
name = "rewrite"
path = "examples/rewrite.rs"
[[test]]
name = "attributes"
path = "tests/attributes.rs"
[[test]]
name = "csharp"
path = "tests/csharp.rs"
[[test]]
name = "load"
path = "tests/load.rs"
[[test]]
name = "new_module"
path = "tests/new_module.rs"
[[test]]
name = "reflect"
path = "tests/reflect.rs"
[[test]]
name = "write"
path = "tests/write.rs"
[dependencies.bitflags]
version = "2.13"
[dependencies.facet]
version = "0.50.0-rc.7"
features = ["uuid"]
optional = true
[dependencies.pewter]
version = "0.0.10"
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.uuid]
version = "1.29"
[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dependencies.uuid]
version = "1.29"
features = ["v4"]