File tree 10 files changed +400
-288
lines changed
10 files changed +400
-288
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ repository = "https://github.com/kaegi/subparse"
7
7
documentation = " https://docs.rs/subparse"
8
8
readme = " README.md"
9
9
keywords = [" subtitle" , " parse" , " library" , " write" ]
10
- license = " LGPL-3 .0"
10
+ license = " MPL-2 .0"
11
11
12
12
13
13
[dependencies ]
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
pub use formats:: srt:: errors as srt_errors;
19
7
pub use formats:: ssa:: errors as ssa_errors;
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
19
7
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
19
7
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
pub mod srt;
19
7
pub mod ssa;
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
use { ParseSubtitleString , SubtitleEntry , SubtitleFile } ;
19
7
use errors:: Result as SubtitleParserResult ;
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
19
7
use { ParseSubtitleString , SubtitleEntry , SubtitleFile } ;
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
#![ deny( missing_docs,
18
6
missing_debug_implementations, missing_copy_implementations,
19
7
trivial_casts, trivial_numeric_casts,
Original file line number Diff line number Diff line change 1
- // This file is part of the Rust library `subparse`.
2
- //
3
- // Copyright (C) 2017 kaegi
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Lesser General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Lesser General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Lesser General Public License
16
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
1
+ // This Source Code Form is subject to the terms of the Mozilla Public
2
+ // License, v. 2.0. If a copy of the MPL was not distributed with this
3
+ // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
+
17
5
18
6
19
7
use std:: fmt:: { Debug , Display , Formatter , Result as FmtResult } ;
You can’t perform that action at this time.
0 commit comments