Skip to content

Commit

Permalink
Prepare for inclusion into libstd
Browse files Browse the repository at this point in the history
This applies the same change as gimli-rs/gimli#503 to this crate.
  • Loading branch information
alexcrichton committed Jul 6, 2020
1 parent e058f17 commit ac605c1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ exclude = ["/benches/*", "/fixtures/*"]
travis-ci = { repository = "gimli-rs/addr2line" }

[dependencies]
gimli = { version = "0.21", default-features = false, features = ["read"] }
gimli = { version = "0.22", default-features = false, features = ["read"] }
fallible-iterator = { version = "0.2", default-features = false, optional = true }
object = { version = "0.20", default-features = false, features = ["read"], optional = true }
smallvec = { version = "1", default-features = false, optional = true }
rustc-demangle = { version = "0.1", optional = true }
cpp_demangle = { version = "0.2", default-features = false, optional = true }

# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' }
compiler_builtins = { version = '0.1.2', optional = true }

[dev-dependencies]
memmap = "0.7"
clap = "2"
Expand All @@ -41,6 +47,10 @@ default = ["rustc-demangle", "cpp_demangle", "std-object", "fallible-iterator",
std = ["gimli/std"]
std-object = ["std", "object", "object/std", "object/compression", "gimli/endian-reader"]

# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
rustc-dep-of-std = ['core', 'alloc', 'compiler_builtins', 'gimli/rustc-dep-of-std']

[[test]]
name = "output_equivalence"
harness = false
Expand Down

0 comments on commit ac605c1

Please sign in to comment.