{"id":13998181,"url":"https://github.com/rust-br/rust-book-pt-br","last_synced_at":"2025-07-23T05:32:44.782Z","repository":{"id":23345833,"uuid":"99678900","full_name":"rust-br/rust-book-pt-br","owner":"rust-br","description":"A Linguagem de Programação Rust","archived":false,"fork":true,"pushed_at":"2024-07-10T13:50:49.000Z","size":23258,"stargazers_count":356,"open_issues_count":38,"forks_count":88,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-11-02T18:41:28.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rust-br.github.io/rust-book-pt-br/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"rust-lang/book","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-br.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING-en-us.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-08T10:06:37.000Z","updated_at":"2024-10-21T11:40:16.000Z","dependencies_parsed_at":"2023-02-12T23:30:34.029Z","dependency_job_id":null,"html_url":"https://github.com/rust-br/rust-book-pt-br","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-br%2Frust-book-pt-br","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-br%2Frust-book-pt-br/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-br%2Frust-book-pt-br/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-br%2Frust-book-pt-br/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-br","download_url":"https://codeload.github.com/rust-br/rust-book-pt-br/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227245133,"owners_count":17753239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-09T19:01:27.436Z","updated_at":"2024-11-30T00:31:15.409Z","avatar_url":"https://github.com/rust-br.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# A Linguagem de Programação Rust\n\n\u003c!-- [![Build Status](https://travis-ci.com/rust-lang/book.svg?branch=master)](https://travis-ci.com/rust-lang/book)\n\nThis repository contains the source of \"The Rust Programming Language\" book. --\u003e\n\n[![Build Status](https://travis-ci.com/rust-lang/book.svg?branch=master)](https://travis-ci.com/rust-lang/book)\n\nEste repositório contém o código-fonte do livro \"A Linguagem de Programação Rust\".\n\n\u003c!-- [The book is available in dead-tree form from No Starch Press][nostarch]\n\n[nostarch]: https://nostarch.com/rust\n\nYou can also read the book for free online. Please see the book as shipped with\nthe latest [stable], [beta], or [nightly] Rust releases. Be aware that issues\nin those versions may have been fixed in this repository already, as those\nreleases are updated less frequently.\n\n[stable]: https://doc.rust-lang.org/stable/book/\n[beta]: https://doc.rust-lang.org/beta/book/\n[nightly]: https://doc.rust-lang.org/nightly/book/ --\u003e\n\n[Este livro está disponível na forma de árvore morta pela No Starch Press][nostarch].\n\n[nostarch]: https://nostarch.com/rust\n\nVocê também pode ler o livro gratuitamente online. Por favor veja o livro assim como incluído com as versões [estável][stable], [beta] e [nightly] de Rust. Esteja ciente de que problemas nessas versões podem já ter sido corrigidas neste repositório, dado que essas versões são atualizadas menos frequentemente.\n\n[stable]: https://doc.rust-lang.org/stable/book/\n[beta]: https://doc.rust-lang.org/beta/book/\n[nightly]: https://doc.rust-lang.org/nightly/book/\n\n\u003c!-- ## Requirements\n\nBuilding the book requires [mdBook], ideally the same 0.3.x version that\nrust-lang/rust uses in [this file][rust-mdbook]. To get it:\n\n[mdbook]: https://github.com/rust-lang-nursery/mdBook\n[rust-mdbook]: https://github.com/rust-lang/rust/blob/master/src/tools/rustbook/Cargo.toml\n\n```bash\n$ cargo install mdbook --vers [version-num]\n``` --\u003e\n\n## Requisitos\n\nConstruir o livro requer o [mdBook]. Idealmente a mesma versão 0.3.x que rust-lang/rust usa [nesse arquivo][rust-mdbook]. Para obtê-lo:\n\n[mdbook]: https://github.com/rust-lang-nursery/mdBook\n[rust-mdbook]: https://github.com/rust-lang/rust/blob/master/src/tools/rustbook/Cargo.toml\n\n```bash\n$ cargo install mdbook --vers [version-num]\n```\n\n\u003c!-- ## Building\n\nTo build the book, type:\n\n```bash\n$ mdbook build\n```\n\nThe output will be in the `book` subdirectory. To check it out, open it in\nyour web browser.\n\n_Firefox:_\n\n```bash\n$ firefox book/index.html                       # Linux\n$ open -a \"Firefox\" book/index.html             # OS X\n$ Start-Process \"firefox.exe\" .\\book\\index.html # Windows (PowerShell)\n$ start firefox.exe .\\book\\index.html           # Windows (Cmd)\n```\n\n_Chrome:_\n\n```bash\n$ google-chrome book/index.html                 # Linux\n$ open -a \"Google Chrome\" book/index.html       # OS X\n$ Start-Process \"chrome.exe\" .\\book\\index.html  # Windows (PowerShell)\n$ start chrome.exe .\\book\\index.html            # Windows (Cmd)\n```\n\nTo run the tests:\n\n```bash\n$ mdbook test\n``` --\u003e\n\n## Construindo\n\nPara construir o livro, entre:\n\n```bash\n$ mdbook build\n```\n\nO resultado estará na subpasta `book`. Para checá-lo, o abra no seu browser.\n\n_Firefox:_\n\n```bash\n$ firefox book/index.html                       # Linux\n$ open -a \"Firefox\" book/index.html             # OS X\n$ Start-Process \"firefox.exe\" .\\book\\index.html # Windows (PowerShell)\n$ start firefox.exe .\\book\\index.html           # Windows (Cmd)\n```\n\n_Chrome:_\n\n```bash\n$ google-chrome book/index.html                 # Linux\n$ open -a \"Google Chrome\" book/index.html       # OS X\n$ Start-Process \"chrome.exe\" .\\book\\index.html  # Windows (PowerShell)\n$ start chrome.exe .\\book\\index.html            # Windows (Cmd)\n```\n\nPara rodar os testes:\n\n```bash\n$ mdbook test\n```\n\n\u003c!-- ## Contributing\n\nWe'd love your help! Please see [CONTRIBUTING.md][contrib] to learn about the\nkinds of contributions we're looking for.\n\n[contrib]: https://github.com/rust-lang/book/blob/master/CONTRIBUTING.md --\u003e\n\n## Contribuindo\n\nNós adoraríamos sua ajuda! Por favor veja o [CONTRIBUTING.md][contrib] para saber mais sobre o tipo de contribuições que nós procuramos.\n\n[contrib]: https://github.com/rust-br/rust-book-pt-br/blob/master/CONTRIBUTING.md\n\n\u003c!-- ### Translations\n\nWe'd love help translating the book! See the [Translations] label to join in\nefforts that are currently in progress. Open a new issue to start working on\na new language! We're waiting on [mdbook support] for multiple languages\nbefore we merge any in, but feel free to start!\n\n[translations]: https://github.com/rust-lang/book/issues?q=is%3Aopen+is%3Aissue+label%3ATranslations\n[mdbook support]: https://github.com/rust-lang-nursery/mdBook/issues/5 --\u003e\n\n### Traduções\n\nNós adoraríamos ajuda na tradução deste livro! Veja os labels [Translating][translations] para se ajuntar aos esforços que estão atualmente em progresso. Abra novas issues para começar a trabalhar num novo idioma! Nós estamos esperando pelo [suporte do mdbook][mdbook support] a múltiplos idiomas, antes de juntá-las a esse repositório, mas sinta-se livre para começar!\n\n[translations]: https://github.com/rust-lang/book/issues?q=is%3Aopen+is%3Aissue+label%3ATranslations\n[mdbook support]: https://github.com/rust-lang-nursery/mdBook/issues/5\n\n\u003c!-- ## Graphviz dot\n\nWe're using [Graphviz](http://graphviz.org/) for some of the diagrams in the\nbook. The source for those files live in the `dot` directory. To turn a `dot`\nfile, for example, `dot/trpl04-01.dot` into an `svg`, run:\n\n```bash\n$ dot dot/trpl04-01.dot -Tsvg \u003e src/img/trpl04-01.svg\n```\n\nIn the generated SVG, remove the width and the height attributes from the `svg`\nelement and set the `viewBox` attribute to `0.00 0.00 1000.00 1000.00` or other\nvalues that don't cut off the image. --\u003e\n\n## Graphviz dot\n\nNós usamos o [Graphviz](http://graphviz.org/) para alguns dos diagramas no livro. Os arquivos-fonte estão no diretório `dot`. Para transformar um arquivo `dot`, por exemplo o `dot/trpl04-01.dot`, em `svg`, rode:\n\n```bash\n$ dot dot/trpl04-01.dot -Tsvg \u003e src/img/trpl04-01.svg\n```\n\nNo arquivo SVG gerado, remova os atributos _width_ e _height_ do elemento `svg` e dê `0.00 0.00 1000.00 1000.00`, ou outros valores que não cortem a imagem, ao atributo `viewBox`.\n\n\u003c!-- ## Spellchecking\n\nTo scan source files for spelling errors, you can use the `spellcheck.sh`\nscript. It needs a dictionary of valid words, which is provided in\n`dictionary.txt`. If the script produces a false positive (say, you used word\n`BTreeMap` which the script considers invalid), you need to add this word to\n`dictionary.txt` (keep the sorted order for consistency). --\u003e\n\n## Checagem de grafia\n\nPara procurar erros de grafia nos arquivos, você pode usar o _script_ `spellcheck.sh`. Ele precisa de um dicionário de palavras válidas, o qual é provido em `dictionary.txt`. Se o script produzir um falso positivo (por exemplo, se você usou a palavra `BTreeMap`, a qual o script considera inválida), você precisará adicionar essa palavra a `dictionary.txt` (mantenha-o ordenado por consistência).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-br%2Frust-book-pt-br","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-br%2Frust-book-pt-br","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-br%2Frust-book-pt-br/lists"}