{"id":20313559,"url":"https://github.com/66origin/sofa","last_synced_at":"2025-10-23T22:27:26.569Z","repository":{"id":57667875,"uuid":"120930046","full_name":"66Origin/sofa","owner":"66Origin","description":"Sofa - CouchDB for Rust","archived":false,"fork":false,"pushed_at":"2020-09-28T05:39:35.000Z","size":87,"stargazers_count":40,"open_issues_count":8,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T13:02:45.826Z","etag":null,"topics":["couchdb","nosql","orm","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/66Origin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-09T16:38:48.000Z","updated_at":"2023-08-22T22:59:53.000Z","dependencies_parsed_at":"2022-09-07T15:41:42.762Z","dependency_job_id":null,"html_url":"https://github.com/66Origin/sofa","commit_stats":null,"previous_names":["yellowinnovation/sofa"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fsofa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fsofa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fsofa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fsofa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/66Origin","download_url":"https://codeload.github.com/66Origin/sofa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248447568,"owners_count":21105137,"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":["couchdb","nosql","orm","rust"],"created_at":"2024-11-14T18:11:48.955Z","updated_at":"2025-10-23T22:27:26.492Z","avatar_url":"https://github.com/66Origin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sofa - CouchDB for Rust\r\n\r\n[![Crates.io](https://img.shields.io/crates/v/sofa.svg)](https://crates.io/crates/sofa)\r[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FYellowInnovation%2Fsofa.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FYellowInnovation%2Fsofa?ref=badge_shield)\n\n[![docs.rs](https://docs.rs/sofa/badge.svg)](https://docs.rs/sofa)\r\n\r\n![sofa-logo](https://raw.githubusercontent.com/YellowInnovation/sofa/master/docs/logo-sofa.png \"Logo Sofa\")\r\n\r\n## Documentation\r\n\r\nHere: [http://docs.rs/sofa](http://docs.rs/sofa)\r\n\r\n## Installation\r\n\r\n```toml\r\n[dependencies]\r\nsofa = \"0.6\"\r\n```\r\n\r\n## Description\r\n\r\nThis crate is an interface to CouchDB HTTP REST API. Works with stable Rust.\r\n\r\nDoes not support `#![no_std]`\r\n\r\nAfter trying most crates for CouchDB in Rust (`chill`, `couchdb` in particular), none of them fit our needs hence the need to create our own.\r\n\r\nNo async I/O (yet), uses a mix of Reqwest and Serde under the hood, with a few nice abstractions out there.\r\n\r\n**NOT 1.0 YET, so expect changes**\r\n\r\n**Supports CouchDB 2.0 and up.**\r\n\r\nBe sure to check [CouchDB's Documentation](http://docs.couchdb.org/en/latest/index.html) in detail to see what's possible.\r\n\r\n## Running tests\r\n\r\nMake sure that you have an instance of CouchDB 2.0+ running, either via the supplied `docker-compose.yml` file or by yourself. It must be listening on the default port.\r\n\r\nAnd then\r\n`cargo test -- --test-threads=1`\r\n\r\nSingle-threading the tests is very important because we need to make sure that the basic features are working before actually testing features on dbs/documents.\r\n\r\n## Why the name \"Sofa\"\r\n\r\nCouchDB has a nice name, and I wanted to reflect that.\r\n\r\n## License\r\n\r\nLicensed under either of these:\r\n\r\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\r\n   [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)\r\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or\r\n   [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT))\r\n\r\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FYellowInnovation%2Fsofa.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FYellowInnovation%2Fsofa?ref=badge_large)\n\n## Yellow Innovation\r\n\r\nYellow Innovation is the innovation laboratory of the French postal service: La Poste.\r\n\r\nWe create innovative user experiences and journeys through services with a focus on IoT lately.\r\n\r\n[Yellow Innovation's website and works](http://yellowinnovation.fr/en/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F66origin%2Fsofa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F66origin%2Fsofa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F66origin%2Fsofa/lists"}