{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/regex/issues/421","repository_url":"https://api.github.com/repos/rust-lang/regex","labels_url":"https://api.github.com/repos/rust-lang/regex/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/regex/issues/421/comments","events_url":"https://api.github.com/repos/rust-lang/regex/issues/421/events","html_url":"https://github.com/rust-lang/regex/pull/421","id":277933775,"number":421,"title":"Introduce `use_std` default feature","user":{"login":"vmx","id":42839,"avatar_url":"https://avatars3.githubusercontent.com/u/42839?v=4","gravatar_id":"","url":"https://api.github.com/users/vmx","html_url":"https://github.com/vmx","followers_url":"https://api.github.com/users/vmx/followers","following_url":"https://api.github.com/users/vmx/following{/other_user}","gists_url":"https://api.github.com/users/vmx/gists{/gist_id}","starred_url":"https://api.github.com/users/vmx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmx/subscriptions","organizations_url":"https://api.github.com/users/vmx/orgs","repos_url":"https://api.github.com/users/vmx/repos","events_url":"https://api.github.com/users/vmx/events{/privacy}","received_events_url":"https://api.github.com/users/vmx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-29T22:39:51Z","updated_at":"2017-11-30T02:59:03Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/rust-lang/regex/pulls/421","html_url":"https://github.com/rust-lang/regex/pull/421","diff_url":"https://github.com/rust-lang/regex/pull/421.diff","patch_url":"https://github.com/rust-lang/regex/pull/421.patch"},"body":"regex depends on memchr and aho-corasick which can optionally be compiled\r\nwithout std. With the introduction of the `use_std` feature it is now possible\r\nto compile regex with `default-features = false` which then uses a memchr\r\nand aho-corasick that don't depend on std.\r\n\r\nThis makes regex available on platforms like wasm which haven't a libc\r\nimplemented."},"comment":{"url":"https://api.github.com/repos/rust-lang/regex/issues/comments/348067995","html_url":"https://github.com/rust-lang/regex/pull/421#issuecomment-348067995","issue_url":"https://api.github.com/repos/rust-lang/regex/issues/421","id":348067995,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars3.githubusercontent.com/u/456674?v=4","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T02:59:03Z","updated_at":"2017-11-30T02:59:03Z","author_association":"MEMBER","body":"@andrew-d Uh, could you please open another issue? What you're talking about seems completely orthogonal to the problem that @vmx is trying to solve.\r\n\r\nSpoiler alert: allocation is weaved into the very guts of regex, and I don't see that ever changing, so the very best you'll be able to do is `no_std` but with `alloc`. A true `no_std` or `core`-only regex library is a special beast that should, at the very least, be prototyped out-of-tree by someone else. :) --- I'm happy to discuss this more if you have more thoughts, but please open another issue."}}
{"actor":{"display_login":"BurntSushi"}}