# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "object-rewrite" version = "0.1.1" include = [ "/Cargo.lock", "/Cargo.toml", "/src", ] description = "Rewrite object files with modifications" license = "Apache-2.0 OR MIT" repository = "https://github.com/gimli-rs/object/tree/master/crates/rewrite" [package.metadata.docs.rs] features = ["doc"] [[bin]] name = "object-rewrite" path = "src/main.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0.79" optional = true [dependencies.clap] version = "4.3.24" features = ["cargo"] optional = true [dependencies.env_logger] version = "0.11.2" optional = true default-features = false [dependencies.log] version = "0.4.20" optional = true [dependencies.memmap2] version = "0.9.4" optional = true [dependencies.object] version = "0.35.0" features = [ "build", "elf", ] default-features = false [dev-dependencies] [features] all = [ "cli", "logging", ] cli = [ "logging", "dep:anyhow", "dep:clap", "dep:env_logger", "dep:memmap2", ] default = [] doc = [] logging = ["dep:log"]