{"id":57443,"library":"sled","title":"sled","description":"Lightweight high-performance pure-rust transactional embedded database.","status":"active","version":"0.34.7","language":"rust","source_language":null,"source_url":"https://github.com/spacejam/sled","tags":["database","embedded","key-value","transactional"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsled = \"0.34.7\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sled","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Db","correct":"use sled::Db;"}],"quickstart":{"code":"use sled::Db;\n\nlet db = Db::open(\"my_db\").unwrap();\ndb.insert(b\"key\", b\"value\").unwrap();\nlet result = db.get(b\"key\").unwrap().unwrap();\nprintln!(\"{:?}\", result);","lang":"rust","description":"Open a database, insert a key-value pair, and retrieve it."},"warnings":[{"fix":"Use sled in a single-threaded context or configure the runtime accordingly.","message":"Sled uses a custom async runtime internally; ensure you are not mixing with other runtimes.","severity":"gotcha","affected_versions":">=0.30"}],"env_vars":null,"search_vec":"'databas':11,12 'embed':10,13 'high':4 'high-perform':3 'key':15 'key-valu':14 'lightweight':2 'perform':5 'pure':7 'pure-rust':6 'rust':8 'sled':1 'transact':9,17 'valu':16","created_at":"2026-06-16T15:42:45.105346+00:00","updated_at":"2026-06-16T15:42:45.105346+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/spacejam/sled","github":"https://github.com/spacejam/sled","docs":"https://docs.rs/sled/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}