From 2327ecc8d67ab887fead9c75969a544f4fbf560d Mon Sep 17 00:00:00 2001 From: Thom Chiovoloni Date: Thu, 24 Aug 2023 13:01:04 -0700 Subject: [PATCH] no public deps --- library/std/Cargo.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 0e8d600aa..664a47615 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -1,5 +1,3 @@ -cargo-features = ["public-dependency"] - [package] name = "std" version = "0.0.0" @@ -12,12 +10,12 @@ edition = "2021" crate-type = ["dylib", "rlib"] [dependencies] -alloc = { path = "../alloc", public = true } +alloc = { path = "../alloc" } cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] } panic_unwind = { path = "../panic_unwind", optional = true } panic_abort = { path = "../panic_abort" } -core = { path = "../core", public = true } -libc = { version = "0.2.146", default-features = false, features = ['rustc-dep-of-std'], public = true } +core = { path = "../core" } +libc = { version = "0.2.146", default-features = false, features = ['rustc-dep-of-std'] } compiler_builtins = { version = "0.1.95" } profiler_builtins = { path = "../profiler_builtins", optional = true } unwind = { path = "../unwind" } @@ -28,7 +26,7 @@ std_detect = { path = "../stdarch/crates/std_detect", default-features = false, addr2line = { version = "0.21.0", optional = true, default-features = false } rustc-demangle = { version = "0.1.21", features = ['rustc-dep-of-std'] } -miniz_oxide = { version = "0.7.0", optional = true, default-features = false, public = false } +miniz_oxide = { version = "0.7.0", optional = true, default-features = false } [dependencies.object] version = "0.32.0" optional = true @@ -43,7 +41,7 @@ rand_xorshift = "0.3.0" dlmalloc = { version = "0.2.3", features = ['rustc-dep-of-std'] } [target.x86_64-fortanix-unknown-sgx.dependencies] -fortanix-sgx-abi = { version = "0.5.0", features = ['rustc-dep-of-std'], public = true } +fortanix-sgx-abi = { version = "0.5.0", features = ['rustc-dep-of-std'] } [target.'cfg(target_os = "hermit")'.dependencies] hermit-abi = { version = "0.3.0", features = ['rustc-dep-of-std'] }