{"action":"created","issue":{"url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/45","repository_url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents","labels_url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/45/comments","events_url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/45/events","html_url":"https://github.com/SkylerLipthay/interpolate_idents/issues/45","id":378234740,"node_id":"MDU6SXNzdWUzNzgyMzQ3NDA=","number":45,"title":"Deprecated - please migrate to the paste crate","user":{"login":"gnzlbg","id":904614,"node_id":"MDQ6VXNlcjkwNDYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/904614?v=4","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-11-07T10:46:17Z","updated_at":"2018-11-09T12:57:27Z","closed_at":null,"author_association":"COLLABORATOR","body":"I don't really know how to easily reach those using `interpolate_idents`, but @dtolnay recently published [`paste`](https://crates.io/crates/paste): a crate that does the same thing that `interpolate_idents` does but uses a procedural macro and works in stable Rust 1.30.0 and up. That is, no more breakage due to rustc changes. \r\n\r\nThe syntax to use it is slightly different: `paste` uses `[<` and `>]` as delimiters instead of just `[` and `]`, which means that one does not need to write `[[` `]]` anymore when indexing arrays. We have been happily using it in `packed_simd` for a week. \r\n\r\nWhile `interpolate_idents` has served us very well for a very long time, maybe it is time to deprecate it. We could change the readme to point to the `paste` crate and upload one last version to `crates.io` to show this there as well. The next time the crate breaks, we could just leave it broken, and tell people to migrate.\r\n\r\nAn alternative would be to maybe the next time something breaks, just re-export the `paste` crate from interpolate-idents or something like that. But I don't think it is worth maintaining two crates here."},"comment":{"url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/comments/437352007","html_url":"https://github.com/SkylerLipthay/interpolate_idents/issues/45#issuecomment-437352007","issue_url":"https://api.github.com/repos/SkylerLipthay/interpolate_idents/issues/45","id":437352007,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzM1MjAwNw==","user":{"login":"gnzlbg","id":904614,"node_id":"MDQ6VXNlcjkwNDYxNA==","avatar_url":"https://avatars0.githubusercontent.com/u/904614?v=4","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T12:57:27Z","updated_at":"2018-11-09T12:57:27Z","author_association":"COLLABORATOR","body":"cc the following github-repositories use interpolate idents but are not released on crates.io:\r\n\r\n@sdleffler/knoll-rs, @efyang/xiami-api-rs, @rust-av/flv-demuxer-test, @zolkko/pug-rust, @Oipo/nanogui-rust-sdl, @expobrain/ryaml, @majorz/parallax, @majorz/apache2-rs, @snim2/testglobsoquestion, @Gen-OS/bbb-proof-of-concept, @code-ape/rust_python_extension, @dai1975/fiatproof, @rust-lang-nursery/rustc-perf, @sybblow/rust-python-example, sdleffler/peony-rs, @johalun/rustkpi , @Commander-lol/rust-swerve, @borispf/pymotifs, @AdrianDanis/rlk, @traff/snakemeter, @lemonrock/rust-ucx, @miyamofigo/rust-bytebuffer , @justinmichaud/ion , @aidanhs/frametool"}}
{"actor":{"display_login":"gnzlbg"}}