Latest 1.18
Homepage https://github.com/cybertk/leveldb-darwin
License New BSD
Platforms ios 5.0, osx 10.7

leveldb-darwin

Google LevelDB for Mac/iOS

CI Status
Carthage compatible
Version
Platform

Getting Started

Using Carthage

To integrate leveldb-darwin into your Xcode project using Carthage, specify it in your Cartfile:

github "cybertk/leveldb-darwin" ~> 1.18

Using CocoaPods

To integrate leveldb-darwin into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'

pod 'leveldb', '~> 1.18'

Run Tests

make test

Contribution

Any contribution is more than welcome!

Latest podspec

{
    "name": "leveldb",
    "version": "1.18",
    "license": "New BSD",
    "summary": "A fast key-value storage library",
    "description": "LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.",
    "homepage": "https://github.com/cybertk/leveldb-darwin",
    "authors": "The LevelDB Authors",
    "platforms": {
        "ios": "5.0",
        "osx": "10.7"
    },
    "source": {
        "git": "https://github.com/google/leveldb.git",
        "tag": "v1.18"
    },
    "requires_arc": false,
    "compiler_flags": [
        "-DOS_MACOSX",
        "-DLEVELDB_PLATFORM_POSIX"
    ],
    "preserve_paths": [
        "db",
        "port",
        "table",
        "util"
    ],
    "xcconfig": {
        "HEADER_SEARCH_PATHS": ""${PODS_ROOT}/leveldb/""
    },
    "source_files": [
        "db/*.{cc}",
        "port/*.{cc}",
        "table/*.{cc}",
        "util/*.{cc}",
        "include/leveldb/*.h"
    ],
    "exclude_files": [
        "**/*_test.cc",
        "port/win",
        "db/db_bench.cc",
        "db/leveldb_main.cc"
    ]
}

Pin It on Pinterest

Share This