{"id":19337529,"url":"https://github.com/behemehal/safeen","last_synced_at":"2026-05-13T21:32:29.613Z","repository":{"id":40546777,"uuid":"469936759","full_name":"behemehal/SafeEn","owner":"behemehal","description":"Local database solution with clean and strict data integrity.","archived":false,"fork":false,"pushed_at":"2022-05-05T21:57:13.000Z","size":280,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-06T20:05:03.513Z","etag":null,"topics":["database","local-database","localdb","localstorage","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/safe_en","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/behemehal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T23:24:11.000Z","updated_at":"2022-04-02T17:32:39.000Z","dependencies_parsed_at":"2022-07-27T02:32:22.395Z","dependency_job_id":null,"html_url":"https://github.com/behemehal/SafeEn","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/behemehal%2FSafeEn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behemehal%2FSafeEn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behemehal%2FSafeEn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/behemehal%2FSafeEn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/behemehal","download_url":"https://codeload.github.com/behemehal/SafeEn/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240441949,"owners_count":19801793,"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":["database","local-database","localdb","localstorage","rust"],"created_at":"2024-11-10T03:14:38.458Z","updated_at":"2025-11-16T21:04:27.761Z","avatar_url":"https://github.com/behemehal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafeEn\n[![Crates.io Version](https://img.shields.io/crates/v/safe_en?logo=rust)](https://crates.io/crates/safe_en)\n[![Documentation](https://docs.rs/safe_en/badge.svg)](https://docs.rs/safe_en)\n\nLocal database solution for sit\n\nLocal database solution for situations that requires strict data integrity and absolute portability\n\n```rust\nuse safe_en::{\n    table::{TableRow, TypeDefs},\n    Database,\n};\n\nlet mut db = Database::new();\n\ndb.set_name(\"users\".to_string());\n\ndb.create_table(\n    \"users\",\n    vec![\n        TableRow::new(\"id\", TypeDefs::I64),\n        TableRow::new(\"email\", TypeDefs::String),\n    ],\n).unwrap();\n\n\nlet id = 1_i64;;\nlet email = \"ahmet@mail.com\";\n\ndb.table(\"users\").unwrap().insert(vec![id.into(), email.into()]).unwrap();\n\nlet list_entries = table.get_where(|x| x.row(\"email\").is(\"ahmet@mail.com\"));\n\nfor entry in list_entries {\n    println!(\"{}\", entry);\n}\n\ndb.save(\"./examples/db.sfn\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehemehal%2Fsafeen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbehemehal%2Fsafeen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbehemehal%2Fsafeen/lists"}