-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
c4f5d8e4.37bb9b64.js
1 lines (1 loc) · 3.62 KB
/
c4f5d8e4.37bb9b64.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{108:function(e,a,t){"use strict";t.r(a);var r=t(3),n=t(0),l=t.n(n),c=t(120),s=t(125),o=t(122),i=t(20),m=t(124),u=t(109),p=t.n(u),d=[{title:l.a.createElement(l.a.Fragment,null,"Easy to Use"),description:l.a.createElement(l.a.Fragment,null,"ScalaPB translates Protocol Buffers to Scala case classes. The generated API is easy to use!")},{title:l.a.createElement(l.a.Fragment,null,"Supports proto2 and proto3"),description:l.a.createElement(l.a.Fragment,null,"ScalaPB is built as a protoc plugin and has perfect compatibility with the protobuf language specification.")},{title:l.a.createElement(l.a.Fragment,null,"Nested updates"),description:l.a.createElement(l.a.Fragment,null,"Updating immutable nested structure is made easy by an optional lenses support. ",l.a.createElement("a",{href:"docs/generated-code#updating-messages"},"Learn more."))},{title:l.a.createElement(l.a.Fragment,null,"Interoperate with Java"),description:l.a.createElement(l.a.Fragment,null,"Scala Protocol Buffers can be converted to Java and vice versa. Scala and Java protobufs can co-exist in the same project to make it easier to gradually migrate, or interact with legacy Java APIs.")},{title:l.a.createElement(l.a.Fragment,null,"Scala.js support"),description:l.a.createElement(l.a.Fragment,null,"ScalaPB fully supports Scala.js so you can write Scala programs that use your domain-specific Protocol Buffers in the browser! ",l.a.createElement("a",{href:"docs/scala.js"},"Learn more."))},{title:l.a.createElement(l.a.Fragment,null,"gRPC"),description:l.a.createElement(l.a.Fragment,null,"Build gRPC servers and clients with ScalaPB. ScalaPB ships with its own wrapper around the official gRPC Java implementation. There are gRPC libraries for ZIO, Cats Effect and Akka. ",l.a.createElement("a",{href:"docs/grpc"}))}],E=[{name:l.a.createElement(l.a.Fragment,null,"Pentech Ltd"),profileUrl:"https://github.com/PentechLtd"}];function f(e){var a=e.imageUrl,t=e.title,r=e.description,n=Object(m.a)(a);return l.a.createElement("div",{className:Object(c.a)("col col--4",p.a.feature)},n&&l.a.createElement("div",{className:"text--center"},l.a.createElement("img",{className:p.a.featureImage,src:n,alt:t})),l.a.createElement("h3",null,t),l.a.createElement("p",null,r))}function g(e){var a=e.name,t=e.profileUrl;return l.a.createElement("div",{className:Object(c.a)("col col--4",p.a.sponsor)},l.a.createElement("a",{href:t},a))}a.default=function(){var e=Object(i.default)().siteConfig,a=void 0===e?{}:e,t=Object(m.a)("img/ScalaPB.png");return l.a.createElement(s.a,{title:"ScalaPB: Protocol Buffer Compiler for Scala",description:"ScalaPB compiles protocol buffers into Scala case classes."},l.a.createElement("header",{className:Object(c.a)("hero hero--primary",p.a.heroBanner)},l.a.createElement("div",{className:"container"},l.a.createElement("img",{src:t,width:"80%"}),l.a.createElement("p",{className:"hero__subtitle"},a.tagline),l.a.createElement("div",{className:p.a.buttons},l.a.createElement(o.a,{className:Object(c.a)(p.a.indexCtasGetStartedButton),to:Object(m.a)("docs/")},"Get Started")))),l.a.createElement("main",null,d&&d.length>0&&l.a.createElement("section",{className:p.a.features},l.a.createElement("div",{className:"container"},l.a.createElement("div",{className:"row"},d.map((function(e,a){return l.a.createElement(f,Object(r.a)({key:a},e))}))))),l.a.createElement("section",{className:p.a.sponsors},l.a.createElement("div",{className:"container"},l.a.createElement("h3",null,"Sponsors"),E.map((function(e,a){return l.a.createElement(g,Object(r.a)({key:a},e))})),l.a.createElement("a",{href:"https://github.com/sponsors/thesamet"},"Become a sponsor.")))))}}}]);