{"id":70227,"library":"drift-api","title":"Drift API","description":"Provides annotations and exceptions for defining Thrift interfaces and types in Java.","status":"active","version":"1.46","language":"java","source_language":null,"source_url":"https://github.com/prestodb/drift","tags":["thrift","serialization","annotations","networking"],"install":[{"cmd":"<dependency>\n  <groupId>com.facebook.drift</groupId>\n  <artifactId>drift-api</artifactId>\n  <version>1.46</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.facebook.drift:drift-api:1.46'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ThriftStruct","correct":"com.facebook.drift.annotations.ThriftStruct"}],"quickstart":{"code":"import com.facebook.drift.annotations.ThriftStruct;\n\n@ThriftStruct\npublic class MyStruct {\n    private int id;\n}","lang":"java","description":"Define a Thrift struct using Drift annotations."},"warnings":[],"env_vars":null,"search_vec":"'annot':4,17 'api':2 'defin':8 'drift':1 'except':6 'interfac':10 'java':14 'network':18 'provid':3 'serial':16 'thrift':9,15 'type':12","created_at":"2026-06-17T18:11:41.498799+00:00","updated_at":"2026-06-17T18:11:41.498799+00:00","problems":[],"ecosystem":"maven","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/prestodb/drift","github":"https://github.com/prestodb/drift","docs":"https://appdoc.app/artifact/com.facebook.drift/drift-api/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}