Last active
January 2, 2017 22:08
-
-
Save lambda-fairy/5767bd29de07554e059981e18449ba44 to your computer and use it in GitHub Desktop.
List of crates whose latest version has a feature prefixed with "no_"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As of Jan 3, 2017 | |
approx:0.1.1 -- ['no_std'] | |
ascii:0.7.1 -- ['no_std'] | |
bitmap:3.1.3 -- ['no_std'] | |
cbuf:0.1.1 -- ['no_std'] | |
cmdline_words_parser:0.0.2 -- ['no_std'] | |
defrag:0.1.3 -- ['no_std'] | |
discrimination:0.0.0 -- ['no_std'] | |
dpc-cbuf:0.0.1 -- ['no_std'] | |
encode_unicode:0.2.0 -- ['ascii_no_std', 'no_std'] | |
gif:0.9.0 -- ['raii_no_panic'] | |
lazy_static:0.2.2 -- ['spin_no_std'] | |
libbindgen:0.1.5 -- ['assert_no_dangling_items'] | |
linked-tail-list:0.0.1 -- ['test_no_validate'] | |
lzw:0.10.0 -- ['raii_no_panic'] | |
mitochondria:1.1.2 -- ['no_std'] | |
mopa:0.2.2 -- ['no_std_examples', 'no_std'] | |
mucell:0.3.5 -- ['no_std'] | |
plru:0.1.0 -- ['no_std'] | |
quickercheck:0.2.0 -- ['no_function_casts'] | |
ralloc:1.0.0 -- ['unsafe_no_mutex_lock', 'no_log_lock'] | |
rscam:0.5.3 -- ['no_wrapper'] | |
sdl2-sys:0.27.2 -- ['no_std'] | |
typenum:1.5.1 -- ['no_std'] | |
unicode_names:0.1.7 -- ['no_std'] | |
unicode-segmentation:1.0.1 -- ['no_std'] | |
unicode-width:0.1.4 -- ['no_std'] | |
unicode-xid:0.0.4 -- ['no_std'] | |
va_list:0.1.0 -- ['no_std'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# There are no bad crates, only crates with bad feature names... | |
# Run using this command: | |
# find crates.io-index -type f -exec tail -n1 '{}' ';' | ./find_bad_features.py | sort | |
import json | |
import pprint | |
import sys | |
if __name__ == '__main__': | |
for line in sys.stdin: | |
crate = json.loads(line) | |
bad_features = [feature for feature in crate['features'] if 'no_' in feature] | |
if bad_features: | |
print('{name:>20}:{vers:<8} -- {bad_features}' | |
.format(bad_features=bad_features, **crate)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment