Skip to content

Commit

Permalink
Fix warning about stable debugger_visualizer
Browse files Browse the repository at this point in the history
  • Loading branch information
starkat99 committed Apr 6, 2024
1 parent cb51bfe commit 60dfca8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ default = ["std"]
std = ["alloc"]
alloc = []

# UNSTABLE FEATURES (requires Rust nightly)
# Enable to use the #[debugger_visualizer] attribute.
# Enable to use the #[debugger_visualizer] attribute. Requires Rust 1.71+
debugger_visualizer = ["alloc"]

[dev-dependencies]
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ this crate.
- **`std`** - Enabled by default. Enable features that depend on the Rust `std` library, including
everything in the `alloc` feature.

- **`debugger_visualizer`** Add debugger visualizer data for crate types. _Requires Rust 1.71 or
newer_

## License

This library is distributed under the terms of either of:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
trivial_numeric_casts,
future_incompatible
)]
#![allow(renamed_and_removed_lints)] // Until min version gets bumped to after rename
#![allow(renamed_and_removed_lints, stable_features)] // Until min version gets bumped
#![cfg_attr(not(feature = "std"), no_std)]
#![doc(html_root_url = "https://docs.rs/widestring/1.0.2")]
#![doc(test(attr(deny(warnings), allow(unused))))]
Expand Down

0 comments on commit 60dfca8

Please sign in to comment.