Skip to content

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 06 Jun 08:16
· 161 commits to master since this release
3be2f9b

Added

  • Scopes for macros are now preserved. (#126)

    Now you can use macros anywhere.

    use proconio::input;
    
    fn main() {
        input! {
            n: usize,
        }
    }
  • Dummy macros are now expanded for proc-macro crates. (#126)

    Now you can also use procedural macros.

    use proconio::fastout;
    
    #[fastout]
    fn main() {
        println!("Hi");
    }
  • Now #[[warn/deny/forbid](missing-(crate-level-)docs)] attributes are removed when --remove docs is enabled. (#126)

    Now you can remove doc comments from smallvec.

  • Modules in main crates are now supported. (#129)

    mod sub {
        use smallvec::{smallvec, SmallVec};
    
        pub(crate) fn f() {
            let _: SmallVec<[(); 0]> = smallvec![];
        }
    }

Changed

  • Dropped the support for Rust 2015. (#126)

  • #[allow(unused_imports)] will be always inserted. (#126)

  • Updated rust-analyzer to 2021-05-31. (#130)

Fixed