| Crates.io | legalis-ae |
| lib.rs | legalis-ae |
| version | 0.1.3 |
| created_at | 2026-01-21 04:53:44.711552+00 |
| updated_at | 2026-01-21 04:53:44.711552+00 |
| description | UAE (United Arab Emirates) jurisdiction support for Legalis-RS - Federal Laws, Labor, Commercial Companies, Data Protection, Free Zones |
| homepage | https://github.com/cool-japan/legalis |
| repository | https://github.com/cool-japan/legalis |
| max_upload_size | |
| id | 2058350 |
| size | 98,237 |
الإمارات العربية المتحدة (UAE) Legal System Support for Legalis-RS
Version 0.1.3 - Federal Laws, Labor, Commercial Companies, Data Protection, Free Zones
legalis-ae provides comprehensive support for the United Arab Emirates legal system within the Legalis-RS framework. The UAE has a unique mixed legal system combining civil law, Islamic law (Sharia), and common law elements in its financial free zones.
The UAE legal system is characterized by:
| Feature | UAE | Egypt | UK | USA |
|---|---|---|---|---|
| Legal Family | Civil/Islamic/Common | Civil | Common Law | Common Law |
| Main Source | Codes & Sharia | Codes | Case Law | Case Law |
| Constitution | 1971 (amended 2009) | 2014 | Uncodified | 1787 |
| Court System | Federal & Local | 3-tier | Supreme Court | Federal & State |
| Free Zones | DIFC, ADGM (Common Law) | N/A | N/A | N/A |
UAE Federal Decree-Law No. 33/2021 - Comprehensive labor regulations
use legalis_ae::labor_law::{EmploymentContract, ContractType, GratuityCalculator};
let contract = EmploymentContract::new()
.employee_name("أحمد محمد")
.contract_type(ContractType::LimitedTerm { months: 24 })
.monthly_salary(15_000) // AED
.start_date("2022-01-01")
.build()?;
// Calculate end of service gratuity
let gratuity = GratuityCalculator::calculate(&contract, 5 /* years */)?;
// First 5 years: 21 days salary per year
Federal Decree-Law No. 32/2021 - Company formation and governance
use legalis_ae::commercial_companies::{Company, CompanyType, validate_formation};
let company = Company::new()
.name("شركة التكنولوجيا المحدودة")
.company_type(CompanyType::LLC)
.capital(300_000) // AED (minimum for LLC)
.shareholders(vec!["Shareholder 1", "Shareholder 2"])
.foreign_ownership_percentage(100) // Now allowed
.build()?;
assert!(validate_formation(&company).is_ok());
Federal Decree-Law No. 45/2021 - Personal Data Protection Law
use legalis_ae::data_protection::{DataProcessing, LawfulBasis, validate_processing};
let processing = DataProcessing::new()
.controller("شركة البيانات")
.purpose("Customer relationship management")
.lawful_basis(LawfulBasis::Consent)
.data_categories(vec!["name", "email", "phone"])
.cross_border_transfer(false)
.build()?;
assert!(validate_processing(&processing).is_ok());
DIFC (Dubai International Financial Centre) and ADGM (Abu Dhabi Global Market)
Version 0.1.3 Statistics:
chrono - Date/time handlingserde - Serializationthiserror - Error handlingMIT OR Apache-2.0