Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ jobs:
if: matrix.toolchain == 'beta'
run: cargo test --verbose --features union

- name: Cargo test w/ debugger_visualizer
if: matrix.toolchain == 'nightly'
run: cargo test --test debugger_visualizer --verbose --features debugger_visualizer -- --test-threads=1

- name: Cargo test w/ debugger_visualizer and union
if: matrix.toolchain == 'nightly'
run: cargo test --test debugger_visualizer --verbose --features 'debugger_visualizer,union' -- --test-threads=1

- name: Cargo test all features
if: matrix.toolchain == 'nightly'
run: cargo test --verbose --all-features
Expand Down
21 changes: 2 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["small", "vec", "vector", "stack", "no_std"]
categories = ["data-structures"]
readme = "README.md"
documentation = "https://docs.rs/smallvec/"
include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs", "debug_metadata/*.natvis"]
include = ["Cargo.toml", "LICENSE-MIT", "LICENSE-APACHE", "README.md", "src/**/*.rs"]

[features]
const_generics = []
Expand All @@ -23,10 +23,6 @@ drain_filter = []
drain_keep_rest = ["drain_filter"]
impl_bincode = ["bincode", "unty"]

# UNSTABLE FEATURES (requires Rust nightly)
# Enable to use the #[debugger_visualizer] attribute.
debugger_visualizer = []

[dependencies]
serde = { version = "1", optional = true, default-features = false }
malloc_size_of = { version = "0.1", optional = true, default-features = false }
Expand All @@ -36,20 +32,7 @@ unty = { version = "0.0.4", optional = true, default-features = false }

[dev-dependencies]
bincode1 = { package = "bincode", version = "1.0.1" }
debugger_test = "0.1.0"
debugger_test_parser = "0.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]

[[test]]
name = "debugger_visualizer"
path = "tests/debugger_visualizer.rs"
required-features = ["debugger_visualizer"]
# Do not run these tests by default. These tests need to
# be run with the additional rustc flag `--test-threads=1`
# since each test causes a debugger to attach to the current
# test process. If multiple debuggers try to attach at the same
# time, the test will fail.
test = false
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
111 changes: 0 additions & 111 deletions debug_metadata/README.md

This file was deleted.

35 changes: 0 additions & 35 deletions debug_metadata/smallvec.natvis

This file was deleted.

5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@
#![cfg_attr(feature = "specialization", allow(incomplete_features))]
#![cfg_attr(feature = "specialization", feature(specialization))]
#![cfg_attr(feature = "may_dangle", feature(dropck_eyepatch))]
#![cfg_attr(
feature = "debugger_visualizer",
feature(debugger_visualizer),
debugger_visualizer(natvis_file = "../debug_metadata/smallvec.natvis")
)]
#![deny(missing_docs)]

#[doc(hidden)]
Expand Down
70 changes: 0 additions & 70 deletions tests/debugger_visualizer.rs

This file was deleted.

Loading