File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11
2- // use protoc_rust ;
2+ use protobuf_codegen :: Customize ;
33
44const PROTO_FILE : & str = "protobufs/diskuto.proto" ;
55
@@ -16,6 +16,10 @@ fn main() {
1616 . out_dir ( "src/protos" )
1717 . inputs ( & [ PROTO_FILE ] )
1818 . include ( "protobufs" )
19+ . customize ( Customize :: default ( )
20+ // We have our own protos.rs mod file, no need for a duplicate:
21+ . gen_mod_rs ( false )
22+ )
1923 . run ( )
2024 . expect ( "protoc" ) ;
2125
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Initial Setup
3535 ` ./compose run api diskuto db init `
3636
3737 This just runs ` diskuto db init ` inside of the ` api ` container.
38- It'll will create a ` diskuto.sqlite3 ` database in the ` ./data/ ` directory.
38+ It will create a ` diskuto.sqlite3 ` database in the ` ./data/ ` directory.
3939
40405 . Start services.
4141 ` ./compose up `
You can’t perform that action at this time.
0 commit comments